Python Project Setup
Base setup for a new Python project — virtual environment, requirements, gitignore, repo. The framework guides (Crawl4AI, FastAPI, Typer) all start from these steps.
Create new Python project
bash
mkdir zoonix.python
cd zoonix.pythonCreate virtual environment
bash
python3 -m venv .venv
source .venv/bin/activateAdd requirements
bash
pip freeze > requirements.txt.gitignore
bash
echo '
.venv
# editors
/.idea/
/.vscode/' >> .gitignoreStub script
bash
touch main.pyCreate Repo
bash
gh repo create zoonix.python --privateCommit to repo
bash
git init
git add -A
git commit -m 'Initial Python setup'
git branch -M mainbash
git remote add origin git@github.com:zoonix/zoonix.python.gitbash
git push -u origin main