Python.gitignore 2.4 KB
Newer Older
R
Ray Shan 已提交
1
# Byte-compiled / optimized / DLL files
2
__pycache__/
3
*.py[cod]
4
*$py.class
5 6 7

# C extensions
*.so
8

9
# Distribution / packaging
10
.Python
11 12 13
build/
develop-eggs/
dist/
14
downloads/
15
eggs/
16
.eggs/
17 18 19 20 21
lib/
lib64/
parts/
sdist/
var/
R
Rolando Espinoza 已提交
22
wheels/
23
share/python-wheels/
24
*.egg-info/
25
.installed.cfg
26
*.egg
S
Shiwei Sun 已提交
27
MANIFEST
28

M
Metallicow 已提交
29
# PyInstaller
M
Mateusz Jagiełło 已提交
30
#  Usually these files are written by a python script from a template
M
Metallicow 已提交
31 32
#  before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
M
Metallicow 已提交
33
*.spec
M
Metallicow 已提交
34

35 36
# Installer logs
pip-log.txt
37
pip-delete-this-directory.txt
38 39

# Unit test / coverage reports
H
hugovk 已提交
40
htmlcov/
41
.tox/
42
.nox/
43
.coverage
44
.coverage.*
S
Sam Clements 已提交
45
.cache
46
nosetests.xml
C
Changjian Gao 已提交
47
coverage.xml
Y
Younggun Kim 已提交
48
*.cover
49
*.py,cover
H
Hugo 已提交
50
.hypothesis/
51
.pytest_cache/
52
cover/
53

54
# Translations
55
*.mo
56
*.pot
K
Kevin Deldycke 已提交
57

C
Carl Suster 已提交
58 59
# Django stuff:
*.log
E
Edson Dota 已提交
60
local_settings.py
61
db.sqlite3
62
db.sqlite3-journal
J
Jordi Llonch 已提交
63

2
2Cubed 已提交
64
# Flask stuff:
H
Harrison G 已提交
65
instance/
2
2Cubed 已提交
66
.webassets-cache
H
Harrison G 已提交
67

C
Capi Etheriel 已提交
68 69 70
# Scrapy stuff:
.scrapy

J
Jordi Llonch 已提交
71 72
# Sphinx documentation
docs/_build/
73 74

# PyBuilder
75
.pybuilder/
76
target/
R
Richard K 已提交
77

78
# Jupyter Notebook
79
.ipynb_checkpoints
80

A
amigcamel 已提交
81
# IPython
82
profile_default/
A
amigcamel 已提交
83 84
ipython_config.py

R
Richard K 已提交
85
# pyenv
86 87 88
#   For a library or package, you might want to ignore these files since the code is
#   intended to run in multiple environments; otherwise, check them in:
# .python-version
89

J
Jarry Shaw 已提交
90 91 92
# pipenv
#   According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
#   However, in case of collaboration, if having platform-specific dependencies or dependencies
93
#   having no cross-platform support, pipenv may install dependencies that don't work, or not
J
Jarry Shaw 已提交
94 95 96
#   install all needed dependencies.
#Pipfile.lock

M
mrg0029 已提交
97
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
98 99
__pypackages__/

P
Petronald Green 已提交
100
# Celery stuff
101
celerybeat-schedule
P
Petronald Green 已提交
102
celerybeat.pid
103

P
Pedro M. Sosa 已提交
104
# SageMath parsed files
105 106
*.sage.py

107
# Environments
R
roll 已提交
108
.env
M
Max 已提交
109
.venv
110
env/
111 112
venv/
ENV/
J
jwg4 已提交
113 114
env.bak/
venv.bak/
115

116 117
# Spyder project settings
.spyderproject
118
.spyproject
G
Greg Trahair 已提交
119 120 121

# Rope project settings
.ropeproject
122 123

# mkdocs documentation
124
/site
B
Brett Cannon 已提交
125 126 127

# mypy
.mypy_cache/
128
.dmypy.json
129
dmypy.json
130 131 132

# Pyre type checker
.pyre/
B
Brad Solomon 已提交
133 134 135

# pytype static type analyzer
.pytype/
136 137 138

# Cython debug symbols
cython_debug/
139 140 141 142 143 144 145

# PyCharm
#  JetBrains specific template is maintainted in a separate JetBrains.gitignore that can
#  be found at https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore
#  and can be added to the global gitignore or merged into this file.  For a more nuclear
#  option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/