Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 1 | # Meson build directories. |
| 2 | /build*/ |
William A. Kennington III | adf0354 | 2020-06-04 03:01:11 -0700 | [diff] [blame] | 3 | /subprojects/*/ |
William A. Kennington III | 8890e45 | 2018-06-26 11:46:11 -0700 | [diff] [blame] | 4 | |
Patrick Williams | a141477 | 2022-09-20 15:02:07 -0500 | [diff] [blame] | 5 | # Created by https://www.toptal.com/developers/gitignore/api/python |
| 6 | # Edit at https://www.toptal.com/developers/gitignore?templates=python |
William A. Kennington III | 8890e45 | 2018-06-26 11:46:11 -0700 | [diff] [blame] | 7 | |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 8 | ### Python ### |
| 9 | # Byte-compiled / optimized / DLL files |
| 10 | __pycache__/ |
| 11 | *.py[cod] |
| 12 | *$py.class |
William A. Kennington III | 8890e45 | 2018-06-26 11:46:11 -0700 | [diff] [blame] | 13 | |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 14 | # C extensions |
| 15 | *.so |
William A. Kennington III | 8890e45 | 2018-06-26 11:46:11 -0700 | [diff] [blame] | 16 | |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 17 | # Distribution / packaging |
| 18 | .Python |
| 19 | build/ |
| 20 | develop-eggs/ |
| 21 | dist/ |
| 22 | downloads/ |
| 23 | eggs/ |
| 24 | .eggs/ |
| 25 | lib/ |
| 26 | lib64/ |
| 27 | parts/ |
| 28 | sdist/ |
| 29 | var/ |
| 30 | wheels/ |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 31 | share/python-wheels/ |
| 32 | *.egg-info/ |
| 33 | .installed.cfg |
| 34 | *.egg |
| 35 | MANIFEST |
William A. Kennington III | 8890e45 | 2018-06-26 11:46:11 -0700 | [diff] [blame] | 36 | |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 37 | # PyInstaller |
| 38 | # Usually these files are written by a python script from a template |
| 39 | # before PyInstaller builds the exe, so as to inject date/other infos into it. |
| 40 | *.manifest |
| 41 | *.spec |
William A. Kennington III | 8890e45 | 2018-06-26 11:46:11 -0700 | [diff] [blame] | 42 | |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 43 | # Installer logs |
| 44 | pip-log.txt |
| 45 | pip-delete-this-directory.txt |
William A. Kennington III | 8890e45 | 2018-06-26 11:46:11 -0700 | [diff] [blame] | 46 | |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 47 | # Unit test / coverage reports |
| 48 | htmlcov/ |
| 49 | .tox/ |
| 50 | .nox/ |
| 51 | .coverage |
| 52 | .coverage.* |
| 53 | .cache |
| 54 | nosetests.xml |
| 55 | coverage.xml |
| 56 | *.cover |
Patrick Williams | a141477 | 2022-09-20 15:02:07 -0500 | [diff] [blame] | 57 | *.py,cover |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 58 | .hypothesis/ |
| 59 | .pytest_cache/ |
Patrick Williams | a141477 | 2022-09-20 15:02:07 -0500 | [diff] [blame] | 60 | cover/ |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 61 | |
| 62 | # Translations |
| 63 | *.mo |
| 64 | *.pot |
| 65 | |
Patrick Williams | a141477 | 2022-09-20 15:02:07 -0500 | [diff] [blame] | 66 | # Django stuff: |
| 67 | *.log |
| 68 | local_settings.py |
| 69 | db.sqlite3 |
| 70 | db.sqlite3-journal |
| 71 | |
| 72 | # Flask stuff: |
| 73 | instance/ |
| 74 | .webassets-cache |
| 75 | |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 76 | # Scrapy stuff: |
| 77 | .scrapy |
| 78 | |
| 79 | # Sphinx documentation |
| 80 | docs/_build/ |
| 81 | |
| 82 | # PyBuilder |
Patrick Williams | a141477 | 2022-09-20 15:02:07 -0500 | [diff] [blame] | 83 | .pybuilder/ |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 84 | target/ |
| 85 | |
Patrick Williams | a141477 | 2022-09-20 15:02:07 -0500 | [diff] [blame] | 86 | # Jupyter Notebook |
| 87 | .ipynb_checkpoints |
| 88 | |
| 89 | # IPython |
| 90 | profile_default/ |
| 91 | ipython_config.py |
| 92 | |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 93 | # pyenv |
Patrick Williams | a141477 | 2022-09-20 15:02:07 -0500 | [diff] [blame] | 94 | # For a library or package, you might want to ignore these files since the code is |
| 95 | # intended to run in multiple environments; otherwise, check them in: |
| 96 | # .python-version |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 97 | |
| 98 | # pipenv |
| 99 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. |
| 100 | # However, in case of collaboration, if having platform-specific dependencies or dependencies |
| 101 | # having no cross-platform support, pipenv may install dependencies that don't work, or not |
| 102 | # install all needed dependencies. |
| 103 | #Pipfile.lock |
| 104 | |
Patrick Williams | a141477 | 2022-09-20 15:02:07 -0500 | [diff] [blame] | 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 | |
| 112 | # pdm |
| 113 | # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. |
| 114 | #pdm.lock |
| 115 | # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it |
| 116 | # in version control. |
| 117 | # https://pdm.fming.dev/#use-with-ide |
| 118 | .pdm.toml |
| 119 | |
| 120 | # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm |
| 121 | __pypackages__/ |
| 122 | |
| 123 | # Celery stuff |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 124 | celerybeat-schedule |
Patrick Williams | a141477 | 2022-09-20 15:02:07 -0500 | [diff] [blame] | 125 | celerybeat.pid |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 126 | |
| 127 | # SageMath parsed files |
| 128 | *.sage.py |
| 129 | |
Patrick Williams | a141477 | 2022-09-20 15:02:07 -0500 | [diff] [blame] | 130 | # Environments |
| 131 | .env |
| 132 | .venv |
| 133 | env/ |
| 134 | venv/ |
| 135 | ENV/ |
| 136 | env.bak/ |
| 137 | venv.bak/ |
| 138 | |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 139 | # Spyder project settings |
| 140 | .spyderproject |
| 141 | .spyproject |
| 142 | |
| 143 | # Rope project settings |
| 144 | .ropeproject |
| 145 | |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 146 | # mkdocs documentation |
| 147 | /site |
| 148 | |
| 149 | # mypy |
| 150 | .mypy_cache/ |
| 151 | .dmypy.json |
| 152 | dmypy.json |
| 153 | |
| 154 | # Pyre type checker |
| 155 | .pyre/ |
| 156 | |
Patrick Williams | a141477 | 2022-09-20 15:02:07 -0500 | [diff] [blame] | 157 | # pytype static type analyzer |
| 158 | .pytype/ |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 159 | |
Patrick Williams | a141477 | 2022-09-20 15:02:07 -0500 | [diff] [blame] | 160 | # Cython debug symbols |
| 161 | cython_debug/ |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 162 | |
Patrick Williams | a141477 | 2022-09-20 15:02:07 -0500 | [diff] [blame] | 163 | # PyCharm |
| 164 | # JetBrains specific template is maintained in a separate JetBrains.gitignore that can |
| 165 | # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore |
| 166 | # and can be added to the global gitignore or merged into this file. For a more nuclear |
| 167 | # option (not recommended) you can uncomment the following to ignore the entire idea folder. |
| 168 | #.idea/ |
Patrick Williams | 7f99709 | 2020-06-01 10:44:44 -0500 | [diff] [blame] | 169 | |
Patrick Williams | a141477 | 2022-09-20 15:02:07 -0500 | [diff] [blame] | 170 | # End of https://www.toptal.com/developers/gitignore/api/python |