Skip to content

Commit 0dd021b

Browse files
authored
feat: add initial instructions
1 parent 4053a76 commit 0dd021b

File tree

1 file changed

+41
-2
lines changed

1 file changed

+41
-2
lines changed

README.md

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,41 @@
1-
# python-project-template
2-
I usually start my python projects using this template.
1+
# python-project-template
2+
> a simple template for organizing any python project.
3+
4+
## setup & environment
5+
6+
this template is designed to streamline the setup of any python project. follow these steps to get started:
7+
8+
### 1. install [`uv`](https://github.com/astral-sh/uv/)
9+
10+
use `uv` to manage your virtual environments:
11+
12+
```bash
13+
pip install uv
14+
```
15+
16+
### 2. create a virtual environment
17+
18+
create an environment using python 3.10 (or your preferred version):
19+
20+
```bash
21+
uv venv --python 3.10
22+
```
23+
24+
### 3. install dependencies
25+
26+
install all the required dependencies from the `requirements.txt` file:
27+
28+
```bash
29+
uv pip install -e .
30+
```
31+
32+
### 4. activate the environment
33+
34+
activate the virtual environment:
35+
36+
```bash
37+
source .venv/bin/activate
38+
```
39+
40+
### ready to code
41+
you're now all set to start building your project.

0 commit comments

Comments
 (0)