File tree Expand file tree Collapse file tree 1 file changed +41
-2
lines changed
Expand file tree Collapse file tree 1 file changed +41
-2
lines changed Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments