across-client 0.1.dev50__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. across_client-0.1.dev50/.copier-answers.yml +25 -0
  2. across_client-0.1.dev50/.git_archival.txt +4 -0
  3. across_client-0.1.dev50/.gitattributes +24 -0
  4. across_client-0.1.dev50/.github/ISSUE_TEMPLATE/bug.yaml +37 -0
  5. across_client-0.1.dev50/.github/ISSUE_TEMPLATE/spike.yaml +40 -0
  6. across_client-0.1.dev50/.github/ISSUE_TEMPLATE/ticket.yaml +114 -0
  7. across_client-0.1.dev50/.github/dependabot.yml +10 -0
  8. across_client-0.1.dev50/.github/pull_request_template.md +37 -0
  9. across_client-0.1.dev50/.github/workflows/README.md +9 -0
  10. across_client-0.1.dev50/.github/workflows/build-documentation.yml +39 -0
  11. across_client-0.1.dev50/.github/workflows/pre-commit-ci.yml +36 -0
  12. across_client-0.1.dev50/.github/workflows/publish-to-pypi.yml +38 -0
  13. across_client-0.1.dev50/.github/workflows/smoke-test.yml +45 -0
  14. across_client-0.1.dev50/.github/workflows/testing-and-coverage.yml +55 -0
  15. across_client-0.1.dev50/.gitignore +150 -0
  16. across_client-0.1.dev50/.pre-commit-config.yaml +105 -0
  17. across_client-0.1.dev50/.readthedocs.yml +23 -0
  18. across_client-0.1.dev50/.setup_dev.sh +51 -0
  19. across_client-0.1.dev50/CODE_OF_CONDUCT.md +35 -0
  20. across_client-0.1.dev50/CONTRIBUTING.md +97 -0
  21. across_client-0.1.dev50/LICENSE +201 -0
  22. across_client-0.1.dev50/PKG-INFO +310 -0
  23. across_client-0.1.dev50/README.md +79 -0
  24. across_client-0.1.dev50/across/__init__.py +21 -0
  25. across_client-0.1.dev50/across/client/__init__.py +3 -0
  26. across_client-0.1.dev50/across/client/_version.py +34 -0
  27. across_client-0.1.dev50/across/client/apis/__init__.py +17 -0
  28. across_client-0.1.dev50/across/client/apis/filter.py +66 -0
  29. across_client-0.1.dev50/across/client/apis/instrument.py +68 -0
  30. across_client-0.1.dev50/across/client/apis/observation.py +136 -0
  31. across_client-0.1.dev50/across/client/apis/observatory.py +77 -0
  32. across_client-0.1.dev50/across/client/apis/schedule.py +217 -0
  33. across_client-0.1.dev50/across/client/apis/telescope.py +78 -0
  34. across_client-0.1.dev50/across/client/apis/tools.py +68 -0
  35. across_client-0.1.dev50/across/client/client.py +138 -0
  36. across_client-0.1.dev50/across/client/core/__init__.py +0 -0
  37. across_client-0.1.dev50/across/client/core/config.py +22 -0
  38. across_client-0.1.dev50/across/client/py.typed +0 -0
  39. across_client-0.1.dev50/across_client.egg-info/PKG-INFO +310 -0
  40. across_client-0.1.dev50/across_client.egg-info/SOURCES.txt +68 -0
  41. across_client-0.1.dev50/across_client.egg-info/dependency_links.txt +1 -0
  42. across_client-0.1.dev50/across_client.egg-info/requires.txt +15 -0
  43. across_client-0.1.dev50/across_client.egg-info/top_level.txt +1 -0
  44. across_client-0.1.dev50/docs/Makefile +31 -0
  45. across_client-0.1.dev50/docs/conf.py +58 -0
  46. across_client-0.1.dev50/docs/index.rst +51 -0
  47. across_client-0.1.dev50/docs/notebooks/README.md +25 -0
  48. across_client-0.1.dev50/docs/notebooks/intro_notebook.ipynb +84 -0
  49. across_client-0.1.dev50/docs/notebooks.rst +6 -0
  50. across_client-0.1.dev50/docs/pre_executed/README.md +16 -0
  51. across_client-0.1.dev50/docs/requirements.txt +10 -0
  52. across_client-0.1.dev50/examples/001_accessing_SSA_model_data.ipynb +888 -0
  53. across_client-0.1.dev50/examples/002_calculating_instrument_visibility_windows.ipynb +636 -0
  54. across_client-0.1.dev50/pyproject.toml +118 -0
  55. across_client-0.1.dev50/setup.cfg +4 -0
  56. across_client-0.1.dev50/tests/apis/filter/conftest.py +78 -0
  57. across_client-0.1.dev50/tests/apis/filter/test_filter.py +60 -0
  58. across_client-0.1.dev50/tests/apis/instrument/conftest.py +96 -0
  59. across_client-0.1.dev50/tests/apis/instrument/test_instrument.py +60 -0
  60. across_client-0.1.dev50/tests/apis/observation/conftest.py +101 -0
  61. across_client-0.1.dev50/tests/apis/observation/test_observation.py +60 -0
  62. across_client-0.1.dev50/tests/apis/observatory/conftest.py +84 -0
  63. across_client-0.1.dev50/tests/apis/observatory/test_observatory.py +60 -0
  64. across_client-0.1.dev50/tests/apis/schedule/conftest.py +119 -0
  65. across_client-0.1.dev50/tests/apis/schedule/test_schedule.py +159 -0
  66. across_client-0.1.dev50/tests/apis/telescope/conftest.py +79 -0
  67. across_client-0.1.dev50/tests/apis/telescope/test_telescope.py +92 -0
  68. across_client-0.1.dev50/tests/apis/tools/conftest.py +132 -0
  69. across_client-0.1.dev50/tests/apis/tools/test_tools.py +102 -0
  70. across_client-0.1.dev50/tests/client/test_client.py +86 -0
@@ -0,0 +1,25 @@
1
+ # Changes here will be overwritten by Copier
2
+ _commit: v2.0.7
3
+ _src_path: gh:lincc-frameworks/python-project-template
4
+ author_email: samuel.d.wyatt@nasa.gov
5
+ author_name: NASA-ACROSS
6
+ create_example_module: true
7
+ custom_install: true
8
+ enforce_style:
9
+ - ruff_lint
10
+ - ruff_format
11
+ failure_notification: []
12
+ include_benchmarks: false
13
+ include_docs: true
14
+ include_notebooks: true
15
+ mypy_type_checking: strict
16
+ package_name: client
17
+ project_license: MIT
18
+ project_name: across-client
19
+ project_organization: NASA-ACROSS
20
+ python_versions:
21
+ - '3.10'
22
+ - '3.11'
23
+ - '3.12'
24
+ - '3.13'
25
+ test_lowest_version: direct
@@ -0,0 +1,4 @@
1
+ node: $Format:%H$
2
+ node-date: $Format:%cI$
3
+ describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$
4
+ ref-names: $Format:%D$
@@ -0,0 +1,24 @@
1
+ # For explanation of this file and uses see
2
+ # https://git-scm.com/docs/gitattributes
3
+ # https://developer.lsst.io/git/git-lfs.html#using-git-lfs-enabled-repositories
4
+ # https://lincc-ppt.readthedocs.io/en/latest/practices/git-lfs.html
5
+ #
6
+ # Used by https://github.com/lsst/afwdata.git
7
+ # *.boost filter=lfs diff=lfs merge=lfs -text
8
+ # *.dat filter=lfs diff=lfs merge=lfs -text
9
+ # *.fits filter=lfs diff=lfs merge=lfs -text
10
+ # *.gz filter=lfs diff=lfs merge=lfs -text
11
+ #
12
+ # apache parquet files
13
+ # *.parq filter=lfs diff=lfs merge=lfs -text
14
+ #
15
+ # sqlite files
16
+ # *.sqlite3 filter=lfs diff=lfs merge=lfs -text
17
+ #
18
+ # gzip files
19
+ # *.gz filter=lfs diff=lfs merge=lfs -text
20
+ #
21
+ # png image files
22
+ # *.png filter=lfs diff=lfs merge=lfs -text
23
+
24
+ .git_archival.txt export-subst
@@ -0,0 +1,37 @@
1
+ name: Bug
2
+ description: Issue a bug report
3
+ type: "bug"
4
+ projects: ["NASA-ACROSS/22"]
5
+
6
+ body:
7
+ - type: markdown
8
+ attributes:
9
+ value: |
10
+ Thanks for issuing a bug report! Please describe it in detail below.
11
+
12
+ - type: textarea
13
+ id: description
14
+ validations:
15
+ required: true
16
+ attributes:
17
+ label: "Description"
18
+ description: What is the bug? Include images if appropriate.
19
+
20
+ - type: textarea
21
+ id: steps_to_reproduce
22
+ validations:
23
+ required: true
24
+ attributes:
25
+ label: "Steps to Reproduce"
26
+ description: Describe the steps needed to take to reproduce the issue.
27
+ value: |
28
+ 1. [Step 1]
29
+ 2. [Step 2]
30
+
31
+ - type: textarea
32
+ id: expected_behavior
33
+ validations:
34
+ required: true
35
+ attributes:
36
+ label: "Expected Behavior"
37
+ description: What is expected behavior instead of the bug?
@@ -0,0 +1,40 @@
1
+ name: Spike
2
+ description: Investigative piece of work that is expected to lead into a feature issue once requirements are understood more concretely.
3
+ type: "spike"
4
+ projects: ["NASA-ACROSS/22"]
5
+
6
+ body:
7
+ - type: markdown
8
+ attributes:
9
+ value: |
10
+ Please use this template to describe a piece of investigative work.
11
+
12
+ - type: textarea
13
+ id: goal
14
+ validations:
15
+ required: true
16
+ attributes:
17
+ label: "Goal"
18
+ description: Include the goal of the spike and why it is relevant.
19
+
20
+ - type: textarea
21
+ id: description
22
+ validations:
23
+ required: true
24
+ attributes:
25
+ label: "Description"
26
+ description: Enter a summary description of what is being investigated.
27
+ placeholder: |
28
+ Some examples of spikes:
29
+
30
+ - New technology to be added and be a comparison between options to show usage/performance/etc
31
+ - A new feature that has many potential implementations that have unknown implications or considerations
32
+ - Investigating if it a particular idea is worth implementing by doing some preliminary code experiments to see it's complexity/usage/feasibility.
33
+
34
+ Add any additional information/considerations as a bulleted list.
35
+
36
+ - type: textarea
37
+ id: references
38
+ attributes:
39
+ label: "References"
40
+ description: Optional section used to put a reference to another related issue, PR comment, Slack conversation, etc.
@@ -0,0 +1,114 @@
1
+ name: Ticket
2
+ description: A ticket that relates to a tech spec requirement that will be refined during planning.
3
+ projects: ["NASA-ACROSS/22"]
4
+
5
+ body:
6
+ - type: markdown
7
+ attributes:
8
+ value: |
9
+ Please use this template to describe a piece of work that has gone through the requirement gathering process.
10
+
11
+ - type: textarea
12
+ id: description
13
+ validations:
14
+ required: true
15
+ attributes:
16
+ label: "Description"
17
+ description: |
18
+ Describe the piece of work to be accomplished, usually describes the purpose or goal and why it is important.
19
+ placeholder: |
20
+ The purpose of this ticket is to provide the ability for users of the system to register
21
+ themselves. This is a dependency to allow users to be able to log in and use the system.
22
+
23
+ - type: input
24
+ id: references
25
+ attributes:
26
+ label: "References"
27
+ description: Recommended section to provide links to feature design or tech spec
28
+
29
+ - type: textarea
30
+ id: stakeholders
31
+ attributes:
32
+ label: "Stakeholders"
33
+ description: Please reference the stakeholders for this ticket
34
+ placeholder: "@NASA-ACROSS/developers"
35
+
36
+ - type: textarea
37
+ id: interfaces
38
+ attributes:
39
+ label: "Interfaces"
40
+ description: Are there interfaces that need to be defined?
41
+ placeholder: |
42
+ ```py
43
+ class UserCreate:
44
+ first_name: str
45
+ last_name: str
46
+ email: EmailStr
47
+ ```
48
+
49
+ - type: textarea
50
+ id: database
51
+ attributes:
52
+ label: "Database"
53
+ description: |
54
+ Are the database schema changes or additions?
55
+ placeholder: |
56
+ ```txt
57
+ user
58
+ ------------------------
59
+ first_name: varchar(255)
60
+ last_name: varchar(255)
61
+ email: varchar(100)
62
+ ```
63
+
64
+ - type: textarea
65
+ id: functional_requirements
66
+ validations:
67
+ required: true
68
+ attributes:
69
+ label: "Functional Requirements (FR)"
70
+ description: |
71
+ What does the ticket need to do?
72
+ What are the steps to implement the requirements?
73
+
74
+ This should be as detailed as needed for anyone to be able to contribute.
75
+ placeholder: |
76
+ 1. Create a new route `POST /user` in the `routes/user/router.py` file to create a new user.
77
+ 2. Add the `UserCreate` schema to the `schemas.py` file.
78
+ 3. The route should take the `UserCreate` schema as the `POST` body.
79
+ 4. The initial type validation should be handled by the pydantic model/schema.
80
+ 5. A new `create` method should be added to the `UserService`.
81
+ 1. The `create` method should check to see if the user already exists by `email` by using the existing `exists` method on `UserService`
82
+ 2. If a user exists a `DuplicateUserException` should be raised.
83
+ 3. Otherwise, create the user in the db by converting the `UserCreate` schema into the `User` db model.
84
+ 4. Return the newly created user.
85
+ 6. Return a `200` HTTP status along with the newly created user.
86
+
87
+ - type: textarea
88
+ id: non_functional_requirements
89
+ attributes:
90
+ label: "Non-Functional Requirements (NFR)"
91
+ description: |
92
+ What constraints exist for this ticket? All constraints must be quantifiable.
93
+ placeholder: |
94
+ 1. Creating a user does not take longer than 1 second.
95
+
96
+ - type: textarea
97
+ id: acceptance_criteria
98
+ attributes:
99
+ label: "Acceptance Criteria"
100
+ description: |
101
+ What needs to happen functionally for this work to pass review?
102
+ Usually a combination of FRs and NFRs as test cases written in plain text.
103
+ This should follow test description formats. "Should...when..."
104
+ placeholder: |
105
+ 1. Should return a status code of `200` when a new user is created successfully.
106
+ 2. Should return new user information when a user is created successfully.
107
+ 3. Should raise a `422` exception when an email is not sent in the body.
108
+ 4. Should raise a `422` exception when an email is not correctly formatted.
109
+ 5. Should raise a `409` exception when a user already exists with the provided `email`.
110
+
111
+ - type: markdown
112
+ attributes:
113
+ value: |
114
+ Finally, make sure to add the type of the ticket as "Task" or "Feature" to help tracking of issues.
@@ -0,0 +1,10 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "github-actions"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "monthly"
7
+ - package-ecosystem: "pip"
8
+ directory: "/"
9
+ schedule:
10
+ interval: "monthly"
@@ -0,0 +1,37 @@
1
+ # IMPORTANT: Please do not create a Pull Request without creating an issue first
2
+
3
+ ## Title
4
+
5
+ The title of the PR should follow [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#summary), as all the commits within the PR will be squashed under the title.
6
+
7
+ feat(location): add Foo to Bar
8
+
9
+ ### Description
10
+
11
+ A one to two sentence summary of the PR for easy digestion, must be
12
+ different and more descriptive than title. Combination of tile and
13
+ description should summarize the issue + solution.
14
+
15
+ Feel free to add any additional information as a bulleted list.
16
+
17
+ ### Related Issue(s)
18
+
19
+ Remove this line and link your issue here with the `Resolves` keyword
20
+ Resolves #1234
21
+
22
+ ### Reviewers
23
+
24
+ List all reviewers here and briefly describe why they are invited for
25
+ review.
26
+ By default, the PR author should merge once the reviewers have had a
27
+ chance to review.
28
+ If you have a different preference or cannot merge after review for some
29
+ other constraint, leave a note about it here.
30
+
31
+ ### Acceptance Criteria
32
+
33
+ What needs to happen functionally for this work to pass review, copy paste from issue.
34
+
35
+ ### Testing
36
+
37
+ Add how you tested this PR and add a sequence of steps, with images where appropriate, for testing this PR.
@@ -0,0 +1,9 @@
1
+ # Workflows
2
+
3
+ The .yml files in this directory are used to define the various continuous
4
+ integration scripts that will be run on your behalf e.g. nightly as a smoke check,
5
+ or when you create a new PR.
6
+
7
+ For more information about CI and workflows, look here: https://lincc-ppt.readthedocs.io/en/latest/practices/ci.html
8
+
9
+ Or if you still have questions contact us: https://lincc-ppt.readthedocs.io/en/latest/source/contact.html
@@ -0,0 +1,39 @@
1
+
2
+ # This workflow will install Python dependencies, build the package and then build the documentation.
3
+
4
+ name: Build documentation
5
+
6
+
7
+ on:
8
+ push:
9
+ branches: [ main ]
10
+ pull_request:
11
+ branches: [ main ]
12
+
13
+ concurrency:
14
+ group: ${{ github.workflow }}-${{ github.ref }}
15
+ cancel-in-progress: true
16
+
17
+ jobs:
18
+ build:
19
+
20
+ runs-on: ubuntu-latest
21
+
22
+ steps:
23
+ - uses: actions/checkout@v6
24
+ - name: Set up Python 3.11
25
+ uses: astral-sh/setup-uv@v7
26
+ with:
27
+ activate-environment: true
28
+ python-version: '3.11'
29
+ - name: Install dependencies
30
+ run: |
31
+ if [ -f docs/requirements.txt ]; then uv pip install -r docs/requirements.txt; fi
32
+ uv pip install .
33
+ - name: Install notebook requirements
34
+ run: |
35
+ sudo apt-get update
36
+ sudo apt-get install -y pandoc
37
+ - name: Build docs
38
+ run: |
39
+ sphinx-build -T -E -b html -d docs/build/doctrees ./docs docs/build/html
@@ -0,0 +1,36 @@
1
+
2
+ # This workflow runs pre-commit hooks on pushes and pull requests to main
3
+ # to enforce coding style. To ensure correct configuration, please refer to:
4
+ # https://lincc-ppt.readthedocs.io/en/latest/practices/ci_precommit.html
5
+ name: Run pre-commit hooks
6
+
7
+ on:
8
+ push:
9
+ branches: [ main ]
10
+ pull_request:
11
+ branches: [ main ]
12
+
13
+ jobs:
14
+ pre-commit-ci:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v6
18
+ with:
19
+ fetch-depth: 0
20
+ - name: Set up Python
21
+ uses: astral-sh/setup-uv@v7
22
+ with:
23
+ activate-environment: true
24
+ python-version: '3.11'
25
+ - name: Install dependencies
26
+ run: |
27
+ uv pip install -e .[dev]
28
+ if [ -f requirements.txt ]; then uv pip install -r requirements.txt; fi
29
+ uv pip install pip # pre-commit requires pip to be installed
30
+ - uses: pre-commit/action@v3.0.1
31
+ with:
32
+ extra_args: --all-files --verbose
33
+ env:
34
+ SKIP: "check-lincc-frameworks-template-version,no-commit-to-branch,check-added-large-files,validate-pyproject,sphinx-build,pytest-check"
35
+ - uses: pre-commit-ci/lite-action@v1.1.0
36
+ if: failure() && github.event_name == 'pull_request' && github.event.pull_request.draft == false
@@ -0,0 +1,38 @@
1
+
2
+ # This workflow will upload a Python Package using Twine when a release is created
3
+ # For more information see: https://github.com/pypa/gh-action-pypi-publish#trusted-publishing
4
+
5
+ # This workflow uses actions that are not certified by GitHub.
6
+ # They are provided by a third-party and are governed by
7
+ # separate terms of service, privacy policy, and support
8
+ # documentation.
9
+
10
+ name: Upload Python Package
11
+
12
+ on:
13
+ release:
14
+ types: [published]
15
+
16
+ permissions:
17
+ contents: read
18
+
19
+ jobs:
20
+ deploy:
21
+
22
+ runs-on: ubuntu-latest
23
+ permissions:
24
+ id-token: write
25
+ steps:
26
+ - uses: actions/checkout@v6
27
+ - name: Set up Python
28
+ uses: astral-sh/setup-uv@v7
29
+ with:
30
+ activate-environment: true
31
+ python-version: '3.11'
32
+ - name: Install dependencies
33
+ run: |
34
+ uv pip install build
35
+ - name: Build package
36
+ run: python -m build
37
+ - name: Publish package
38
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,45 @@
1
+ # This workflow will run daily at 06:45.
2
+ # It will install Python dependencies and run tests with a variety of Python versions.
3
+ # See documentation for help debugging smoke test issues:
4
+ # https://lincc-ppt.readthedocs.io/en/latest/practices/ci_testing.html#version-culprit
5
+
6
+ name: Unit test smoke test
7
+
8
+ on:
9
+
10
+ # Runs this workflow automatically
11
+ schedule:
12
+ - cron: 45 6 * * *
13
+
14
+ # Allows you to run this workflow manually from the Actions tab
15
+ workflow_dispatch:
16
+
17
+ jobs:
18
+ build:
19
+
20
+ runs-on: ubuntu-latest
21
+ strategy:
22
+ matrix:
23
+ python-version: ['3.10', '3.11', '3.12', '3.13']
24
+
25
+ steps:
26
+ - uses: actions/checkout@v6
27
+
28
+ - name: Set up Python ${{ matrix.python-version }}
29
+ uses: astral-sh/setup-uv@v7
30
+ with:
31
+ activate-environment: true
32
+ python-version: ${{ matrix.python-version }}
33
+ - name: Install dependencies
34
+ run: |
35
+ sudo apt-get update
36
+ uv pip install across-server-openapi-python
37
+ uv pip install -e .[dev]
38
+ if [ -f requirements.txt ]; then uv pip install -r requirements.txt; fi
39
+
40
+ - name: List dependencies
41
+ run: |
42
+ uv pip list
43
+ - name: Run unit tests with pytest
44
+ run: |
45
+ python -m pytest
@@ -0,0 +1,55 @@
1
+
2
+ # This workflow will install Python dependencies, run tests and report code coverage with a variety of Python versions
3
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
4
+
5
+ name: Unit test and code coverage
6
+
7
+ on:
8
+ push:
9
+ branches: [ main ]
10
+ pull_request:
11
+ branches: [ main ]
12
+
13
+ jobs:
14
+ build:
15
+
16
+ runs-on: ubuntu-latest
17
+ strategy:
18
+ matrix:
19
+ python-version: ['3.10', '3.11', '3.12', '3.13']
20
+
21
+ steps:
22
+ - uses: actions/checkout@v6
23
+
24
+ - name: Set up Python ${{ matrix.python-version }}
25
+ uses: astral-sh/setup-uv@v7
26
+ with:
27
+ activate-environment: true
28
+ python-version: ${{ matrix.python-version }}
29
+ - name: Install dependencies
30
+ run: |
31
+ uv pip install -e .[dev]
32
+ if [ -f requirements.txt ]; then uv pip install -r requirements.txt; fi
33
+ - name: Run unit tests with pytest
34
+ run: |
35
+ python -m pytest --cov=client --cov-report=xml
36
+ - name: Upload coverage report to codecov
37
+ uses: codecov/codecov-action@v5
38
+ with:
39
+ token: ${{ secrets.CODECOV_TOKEN }}
40
+ test-lowest-versions:
41
+ runs-on: ubuntu-latest
42
+ steps:
43
+ - uses: actions/checkout@v6
44
+ - name: Set up Python 3.10
45
+ uses: astral-sh/setup-uv@v7
46
+ with:
47
+ activate-environment: true
48
+ python-version: '3.10'
49
+ - name: Install dependencies
50
+ run: |
51
+ uv pip compile --resolution=lowest-direct -o requirements_lowest.txt pyproject.toml
52
+ uv pip install --constraint=requirements_lowest.txt -e .[dev]
53
+ - name: Run unit tests with pytest
54
+ run: |
55
+ python -m pytest
@@ -0,0 +1,150 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ pip-wheel-metadata/
24
+ share/python-wheels/
25
+ *.egg-info/
26
+ .installed.cfg
27
+ *.egg
28
+ MANIFEST
29
+ _version.py
30
+
31
+ # PyInstaller
32
+ # Usually these files are written by a python script from a template
33
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
34
+ *.manifest
35
+ *.spec
36
+
37
+ # Installer logs
38
+ pip-log.txt
39
+ pip-delete-this-directory.txt
40
+
41
+ # Unit test / coverage reports
42
+ htmlcov/
43
+ .tox/
44
+ .nox/
45
+ .coverage
46
+ .coverage.*
47
+ .cache
48
+ nosetests.xml
49
+ coverage.xml
50
+ *.cover
51
+ *.py,cover
52
+ .hypothesis/
53
+ .pytest_cache/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+ db.sqlite3-journal
64
+
65
+ # Flask stuff:
66
+ instance/
67
+ .webassets-cache
68
+
69
+ # Scrapy stuff:
70
+ .scrapy
71
+
72
+ # Sphinx documentation
73
+ docs/_build/
74
+ _readthedocs/
75
+
76
+ # PyBuilder
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # IPython
83
+ profile_default/
84
+ ipython_config.py
85
+
86
+ # pyenv
87
+ .python-version
88
+
89
+ # pipenv
90
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
91
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
92
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
93
+ # install all needed dependencies.
94
+ #Pipfile.lock
95
+
96
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
97
+ __pypackages__/
98
+
99
+ # Celery stuff
100
+ celerybeat-schedule
101
+ celerybeat.pid
102
+
103
+ # SageMath parsed files
104
+ *.sage.py
105
+
106
+ # Environments
107
+ .env
108
+ .venv
109
+ env/
110
+ venv/
111
+ ENV/
112
+ env.bak/
113
+ venv.bak/
114
+
115
+ # Spyder project settings
116
+ .spyderproject
117
+ .spyproject
118
+
119
+ # Rope project settings
120
+ .ropeproject
121
+
122
+ # mkdocs documentation
123
+ /site
124
+
125
+ # mypy
126
+ .mypy_cache/
127
+ .dmypy.json
128
+ dmypy.json
129
+
130
+ # Pyre type checker
131
+ .pyre/
132
+
133
+ # vscode
134
+ .vscode/
135
+
136
+ # dask
137
+ dask-worker-space/
138
+
139
+ # tmp directory
140
+ tmp/
141
+
142
+ # Mac OS
143
+ .DS_Store
144
+
145
+ # Airspeed Velocity performance results
146
+ _results/
147
+ _html/
148
+
149
+ # Project initialization script
150
+ .initialize_new_project.sh