Skip to content

Commit 61751d3

Browse files
committed
Add .gitignore for Python project
Ignore Python cache files, virtual environments, IDE files, and other generated artifacts to keep the repository clean. Includes patterns for: - __pycache__/ and *.pyc files - Virtual environments (venv/, env/, .venv) - IDE files (.vscode/, .idea/) - OS files (.DS_Store, Thumbs.db) - Jupyter checkpoints - Testing artifacts
1 parent 23013b8 commit 61751d3

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

.gitignore

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Python
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
*.so
6+
.Python
7+
build/
8+
develop-eggs/
9+
dist/
10+
downloads/
11+
eggs/
12+
.eggs/
13+
lib/
14+
lib64/
15+
parts/
16+
sdist/
17+
var/
18+
wheels/
19+
pip-wheel-metadata/
20+
share/python-wheels/
21+
*.egg-info/
22+
.installed.cfg
23+
*.egg
24+
MANIFEST
25+
26+
# Virtual environments
27+
venv/
28+
ENV/
29+
env/
30+
.venv
31+
32+
# IDE
33+
.vscode/
34+
.idea/
35+
*.swp
36+
*.swo
37+
*~
38+
39+
# OS
40+
.DS_Store
41+
Thumbs.db
42+
43+
# Jupyter
44+
.ipynb_checkpoints/
45+
*.ipynb_checkpoints
46+
47+
# Testing
48+
.pytest_cache/
49+
.coverage
50+
htmlcov/

0 commit comments

Comments
 (0)