1
+ # From https://github.com/github/gitignore/blob/main/Python.gitignore 2025-07-30
2
+
1
3
# Byte-compiled / optimized / DLL files
2
4
__pycache__ /
3
- * .py [cod ]
5
+ * .py [codz ]
4
6
* $py.class
5
7
6
8
# C extensions
7
9
* .so
8
10
9
11
# Distribution / packaging
10
12
.Python
11
- env /
12
13
build /
13
14
develop-eggs /
14
15
dist /
@@ -21,9 +22,11 @@ parts/
21
22
sdist /
22
23
var /
23
24
wheels /
25
+ share /python-wheels /
24
26
* .egg-info /
25
27
.installed.cfg
26
28
* .egg
29
+ MANIFEST
27
30
28
31
# PyInstaller
29
32
# Usually these files are written by a python script from a template
@@ -37,14 +40,18 @@ pip-delete-this-directory.txt
37
40
38
41
# Unit test / coverage reports
39
42
htmlcov /
43
+ .tox /
44
+ .nox /
40
45
.coverage
41
46
.coverage. *
42
47
.cache
43
48
nosetests.xml
44
49
coverage.xml
45
50
* .cover
51
+ * .py.cover
46
52
.hypothesis /
47
53
.pytest_cache /
54
+ cover /
48
55
49
56
# Translations
50
57
* .mo
@@ -53,6 +60,8 @@ coverage.xml
53
60
# Django stuff:
54
61
* .log
55
62
local_settings.py
63
+ db.sqlite3
64
+ db.sqlite3-journal
56
65
57
66
# Flask stuff:
58
67
instance /
@@ -65,30 +74,77 @@ instance/
65
74
docs /_build /
66
75
67
76
# PyBuilder
77
+ .pybuilder /
68
78
target /
69
79
70
80
# Jupyter Notebook
71
81
.ipynb_checkpoints
72
82
73
- # Dask worker cache
74
- dask-worker-space /
83
+ # IPython
84
+ profile_default /
85
+ ipython_config.py
75
86
76
87
# pyenv
77
- .python-version
78
-
79
- # celery beat schedule file
88
+ # For a library or package, you might want to ignore these files since the code is
89
+ # intended to run in multiple environments; otherwise, check them in:
90
+ # .python-version
91
+
92
+ # pipenv
93
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
94
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
95
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
96
+ # install all needed dependencies.
97
+ # Pipfile.lock
98
+
99
+ # UV
100
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
101
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
102
+ # commonly ignored for libraries.
103
+ # uv.lock
104
+
105
+ # poetry
106
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
107
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
108
+ # commonly ignored for libraries.
109
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
110
+ # poetry.lock
111
+ # poetry.toml
112
+
113
+ # pdm
114
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
115
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
116
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
117
+ # pdm.lock
118
+ # pdm.toml
119
+ .pdm-python
120
+ .pdm-build /
121
+
122
+ # pixi
123
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
124
+ # pixi.lock
125
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
126
+ # in the .venv directory. It is recommended not to include this directory in version control.
127
+ .pixi
128
+
129
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
130
+ __pypackages__ /
131
+
132
+ # Celery stuff
80
133
celerybeat-schedule
134
+ celerybeat.pid
81
135
82
136
# SageMath parsed files
83
137
* .sage.py
84
138
85
- # dotenv
139
+ # Environments
86
140
.env
87
-
88
- # virtualenv
141
+ .envrc
89
142
.venv
143
+ env /
90
144
venv /
91
145
ENV /
146
+ env.bak /
147
+ venv.bak /
92
148
93
149
# Spyder project settings
94
150
.spyderproject
@@ -102,8 +158,48 @@ ENV/
102
158
103
159
# mypy
104
160
.mypy_cache /
105
-
106
- # IDE settings
107
- .vscode /
108
- .idea /
109
-
161
+ .dmypy.json
162
+ dmypy.json
163
+
164
+ # Pyre type checker
165
+ .pyre /
166
+
167
+ # pytype static type analyzer
168
+ .pytype /
169
+
170
+ # Cython debug symbols
171
+ cython_debug /
172
+
173
+ # PyCharm
174
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
175
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
176
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
177
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
178
+ # .idea/
179
+
180
+ # Abstra
181
+ # Abstra is an AI-powered process automation framework.
182
+ # Ignore directories containing user credentials, local state, and settings.
183
+ # Learn more at https://abstra.io/docs
184
+ .abstra /
185
+
186
+ # Visual Studio Code
187
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
188
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
189
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
190
+ # you could uncomment the following to ignore the entire vscode folder
191
+ # .vscode/
192
+
193
+ # Ruff stuff:
194
+ .ruff_cache /
195
+
196
+ # PyPI configuration file
197
+ .pypirc
198
+
199
+ # Marimo
200
+ marimo /_static /
201
+ marimo /_lsp /
202
+ __marimo__ /
203
+
204
+ # Streamlit
205
+ .streamlit /secrets.toml
0 commit comments