dt4acc-lib 0.4.2__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.
- dt4acc_lib-0.4.2/.github/workflows/ci.yml +74 -0
- dt4acc_lib-0.4.2/.github/workflows/docs.yml +55 -0
- dt4acc_lib-0.4.2/.github/workflows/publish.yml +134 -0
- dt4acc_lib-0.4.2/.github/workflows/pypi.yml +54 -0
- dt4acc_lib-0.4.2/.gitignore +308 -0
- dt4acc_lib-0.4.2/LICENSE +674 -0
- dt4acc_lib-0.4.2/PKG-INFO +32 -0
- dt4acc_lib-0.4.2/README.md +1 -0
- dt4acc_lib-0.4.2/docs/Makefile +20 -0
- dt4acc_lib-0.4.2/docs/make.bat +35 -0
- dt4acc_lib-0.4.2/docs/source/api/api.rst +23 -0
- dt4acc_lib-0.4.2/docs/source/api/bl.rst +69 -0
- dt4acc_lib-0.4.2/docs/source/api/interfaces.rst +100 -0
- dt4acc_lib-0.4.2/docs/source/api/model.rst +75 -0
- dt4acc_lib-0.4.2/docs/source/api/pyat_simulator.rst +86 -0
- dt4acc_lib-0.4.2/docs/source/conf.py +103 -0
- dt4acc_lib-0.4.2/docs/source/index.rst +21 -0
- dt4acc_lib-0.4.2/pyproject.toml +59 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/__init__.py +4 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/bl/__init__.py +0 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/bl/command_rewritter.py +183 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/bl/identity_conversion.py +16 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/bl/liaison_manager.py +114 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/bl/translator_service.py +135 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/bl/tune_translator.py +29 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/bl/unit_conversion.py +141 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/bl/yellow_pages.py +48 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/interfaces/__init__.py +0 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/interfaces/backend/__init__.py +0 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/interfaces/backend/backend.py +72 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/interfaces/backend/calculation_states.py +25 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/interfaces/simulator/__init__.py +0 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/interfaces/simulator/accelerator_simulator.py +62 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/interfaces/simulator/element.py +82 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/interfaces/simulator/result_element.py +14 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/interfaces/utils/__init__.py +0 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/interfaces/utils/command_execution_engine.py +21 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/interfaces/utils/command_rewritter.py +29 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/interfaces/utils/liaison_manager.py +53 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/interfaces/utils/state_conversion.py +29 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/interfaces/utils/translator_service.py +21 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/interfaces/utils/yellow_pages.py +31 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/model/__init__.py +0 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/model/output/__init__.py +0 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/model/output/calculated_track.py +17 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/model/output/result.py +137 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/model/output/survey.py +13 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/model/output/tune.py +58 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/model/output/twiss.py +29 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/model/utils/__init__.py +0 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/model/utils/command.py +107 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/model/utils/conv.py +23 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/model/utils/identifiers.py +30 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/model/utils/liaison_manager_lookup_table.py +81 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/model/utils/tango_resource_locator.py +119 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/model/utils/translator_manager_lookup_table.py +58 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/pyat_simulator/__init__.py +0 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/pyat_simulator/accelerator_simulator.py +112 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/pyat_simulator/element_properties/__init__.py +0 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/pyat_simulator/element_properties/cavity_properties.py +32 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/pyat_simulator/element_properties/element_property_interface.py +37 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/pyat_simulator/element_properties/geometric_properties.py +52 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/pyat_simulator/element_properties/kick.py +42 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/pyat_simulator/element_properties/main_strength.py +103 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/pyat_simulator/element_properties/multipole.py +76 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/pyat_simulator/element_properties/utils.py +149 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/pyat_simulator/model/__init__.py +0 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/pyat_simulator/proxies/__init__.py +0 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/pyat_simulator/proxies/properties_proxy.py +101 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/pyat_simulator/proxies/proxy_factory.py +103 -0
- dt4acc_lib-0.4.2/src/dt4acc_lib/pyat_simulator/simulator_backend.py +399 -0
- dt4acc_lib-0.4.2/tests/test_at_proxies.py +195 -0
- dt4acc_lib-0.4.2/tests/test_lm_ts_cmd_rwt.py +223 -0
- dt4acc_lib-0.4.2/tests/test_pyat_simulator.py +16 -0
- dt4acc_lib-0.4.2/tests/test_tango_trl.py +70 -0
- dt4acc_lib-0.4.2/tests/test_ts_instantiation_from_model.py +114 -0
- dt4acc_lib-0.4.2/tests/test_yellow_pages.py +22 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
name: dt4acc-lib build
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- "dev/main"
|
|
7
|
+
pull_request:
|
|
8
|
+
branches:
|
|
9
|
+
- dev/main"
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
wrap_and_build:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
|
|
15
|
+
strategy:
|
|
16
|
+
fail-fast: false
|
|
17
|
+
matrix:
|
|
18
|
+
python-version:
|
|
19
|
+
# - "3.10"
|
|
20
|
+
# - "3.11"
|
|
21
|
+
# - "3.12"
|
|
22
|
+
- "3.13"
|
|
23
|
+
numpy-version :
|
|
24
|
+
# - "numpy<2.0"
|
|
25
|
+
- "numpy>=2.0"
|
|
26
|
+
|
|
27
|
+
steps:
|
|
28
|
+
# Checkout the repository contents
|
|
29
|
+
- name: Checkout dt4acc-lib
|
|
30
|
+
uses: actions/checkout@v6
|
|
31
|
+
|
|
32
|
+
- name: Set up Python ${{ matrix.python-version }} ${{ matrix.numpy-version }}
|
|
33
|
+
uses: actions/setup-python@v6
|
|
34
|
+
with:
|
|
35
|
+
python-version: ${{ matrix.python-version }}
|
|
36
|
+
cache: pip
|
|
37
|
+
cache-dependency-path: |
|
|
38
|
+
**/pyproject.toml
|
|
39
|
+
**/requirements*.txt
|
|
40
|
+
|
|
41
|
+
# Install dependencies
|
|
42
|
+
- name: Install apt dependencies
|
|
43
|
+
run: |
|
|
44
|
+
sudo apt-get install python3-dev python3-pip
|
|
45
|
+
|
|
46
|
+
# Install Python dependencies
|
|
47
|
+
- name: Python dependencies
|
|
48
|
+
run: |
|
|
49
|
+
python -m pip install --upgrade pip wheel
|
|
50
|
+
python -m pip install pytest pycodestyle flake8
|
|
51
|
+
python -m pip install "${{ matrix.numpy-version }}"
|
|
52
|
+
|
|
53
|
+
- name: wheel
|
|
54
|
+
run: |
|
|
55
|
+
python -m pip wheel -w wheel/ ./
|
|
56
|
+
|
|
57
|
+
- name: install
|
|
58
|
+
run: |
|
|
59
|
+
# listing a non existing directory fails ..
|
|
60
|
+
python -m pip install wheel/dt4acc-lib*.whl
|
|
61
|
+
|
|
62
|
+
- name: Lint with flake8
|
|
63
|
+
run: |
|
|
64
|
+
# stop the build if there are Python syntax errors or undefined names
|
|
65
|
+
flake8 src/dt4acc_lib --count --select=E9,F63,F7,F82 --show-source --statistics
|
|
66
|
+
|
|
67
|
+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
|
68
|
+
flake8 src/dt4acc_lib --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
|
69
|
+
|
|
70
|
+
- name: test
|
|
71
|
+
run: |
|
|
72
|
+
# make sure to move out of the source directory
|
|
73
|
+
cd /tmp
|
|
74
|
+
python -m pytest -v -s "$GITHUB_WORKSPACE/tests"
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
name: sphinx-docs
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
pull_request:
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: write
|
|
11
|
+
pages: write
|
|
12
|
+
id-token: write
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
build-docs:
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
|
|
18
|
+
steps:
|
|
19
|
+
- name: Checkout repository
|
|
20
|
+
uses: actions/checkout@v4
|
|
21
|
+
|
|
22
|
+
- name: Setup Python
|
|
23
|
+
uses: actions/setup-python@v5
|
|
24
|
+
with:
|
|
25
|
+
python-version: '3.11'
|
|
26
|
+
|
|
27
|
+
- name: Install dependencies
|
|
28
|
+
run: |
|
|
29
|
+
python -m pip install --upgrade pip
|
|
30
|
+
pip install -e ./[docs]
|
|
31
|
+
|
|
32
|
+
- name: Build documentation
|
|
33
|
+
run: |
|
|
34
|
+
sphinx-build -b html docs/source docs/build/html
|
|
35
|
+
|
|
36
|
+
- name: Upload GitHub Pages artifact
|
|
37
|
+
uses: actions/upload-pages-artifact@v3
|
|
38
|
+
with:
|
|
39
|
+
path: docs/build/html
|
|
40
|
+
|
|
41
|
+
deploy:
|
|
42
|
+
if: github.ref == 'refs/heads/main'
|
|
43
|
+
|
|
44
|
+
needs: build-docs
|
|
45
|
+
|
|
46
|
+
runs-on: ubuntu-latest
|
|
47
|
+
|
|
48
|
+
environment:
|
|
49
|
+
name: github-pages
|
|
50
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
|
51
|
+
|
|
52
|
+
steps:
|
|
53
|
+
- name: Deploy to GitHub Pages
|
|
54
|
+
id: deployment
|
|
55
|
+
uses: actions/deploy-pages@v4
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
name: Publish dt4acc-lib to PyPI and TestPyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- main
|
|
8
|
+
tags:
|
|
9
|
+
- 'v*'
|
|
10
|
+
|
|
11
|
+
permissions:
|
|
12
|
+
contents: read
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
build:
|
|
16
|
+
name: Build distribution
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
|
|
19
|
+
permissions:
|
|
20
|
+
contents: read
|
|
21
|
+
|
|
22
|
+
steps:
|
|
23
|
+
- name: Check out repository
|
|
24
|
+
uses: actions/checkout@v5
|
|
25
|
+
|
|
26
|
+
- name: Set up Python
|
|
27
|
+
uses: actions/setup-python@v6
|
|
28
|
+
with:
|
|
29
|
+
python-version: "3.12"
|
|
30
|
+
|
|
31
|
+
- name: Install build tooling
|
|
32
|
+
run: |
|
|
33
|
+
python -m pip install --upgrade pip
|
|
34
|
+
python -m pip install build
|
|
35
|
+
|
|
36
|
+
- name: Build source distribution
|
|
37
|
+
run: python -m build
|
|
38
|
+
|
|
39
|
+
- name: Store distribution packages
|
|
40
|
+
uses: actions/upload-artifact@v4
|
|
41
|
+
with:
|
|
42
|
+
name: python-package-distributions
|
|
43
|
+
path: dist/
|
|
44
|
+
|
|
45
|
+
publish-to-testpypi:
|
|
46
|
+
name: Publish dt4acc-lib distribution to TestPyPI
|
|
47
|
+
if: github.ref == 'refs/heads/main'
|
|
48
|
+
needs:
|
|
49
|
+
- build
|
|
50
|
+
runs-on: ubuntu-latest
|
|
51
|
+
|
|
52
|
+
environment:
|
|
53
|
+
name: testpypi
|
|
54
|
+
url: https://test.pypi.org/project/dt4acc-lib/
|
|
55
|
+
|
|
56
|
+
permissions:
|
|
57
|
+
id-token: write
|
|
58
|
+
|
|
59
|
+
steps:
|
|
60
|
+
- name: Download distribution packages
|
|
61
|
+
uses: actions/download-artifact@v4
|
|
62
|
+
with:
|
|
63
|
+
name: python-package-distributions
|
|
64
|
+
path: dist/
|
|
65
|
+
|
|
66
|
+
- name: Publish distribution to TestPyPI
|
|
67
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
68
|
+
with:
|
|
69
|
+
repository-url: https://test.pypi.org/legacy/
|
|
70
|
+
|
|
71
|
+
publish-to-pypi:
|
|
72
|
+
name: Publish dt4acc-lib distribution to PyPI
|
|
73
|
+
if: startsWith(github.ref, 'refs/tags/')
|
|
74
|
+
needs:
|
|
75
|
+
- build
|
|
76
|
+
runs-on: ubuntu-latest
|
|
77
|
+
|
|
78
|
+
environment:
|
|
79
|
+
name: pypi
|
|
80
|
+
url: https://pypi.org/project/dt4acc-lib/
|
|
81
|
+
|
|
82
|
+
permissions:
|
|
83
|
+
id-token: write
|
|
84
|
+
|
|
85
|
+
steps:
|
|
86
|
+
- name: Download distribution packages
|
|
87
|
+
uses: actions/download-artifact@v4
|
|
88
|
+
with:
|
|
89
|
+
name: python-package-distributions
|
|
90
|
+
path: dist/
|
|
91
|
+
|
|
92
|
+
- name: Publish distribution to PyPI
|
|
93
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
94
|
+
|
|
95
|
+
github-release:
|
|
96
|
+
name: Sign distributions with Sigstore and upload to GitHub Release
|
|
97
|
+
if: startsWith(github.ref, 'refs/tags/')
|
|
98
|
+
needs:
|
|
99
|
+
- publish-to-pypi
|
|
100
|
+
runs-on: ubuntu-latest
|
|
101
|
+
|
|
102
|
+
permissions:
|
|
103
|
+
contents: write
|
|
104
|
+
id-token: write
|
|
105
|
+
|
|
106
|
+
steps:
|
|
107
|
+
- name: Download distribution packages
|
|
108
|
+
uses: actions/download-artifact@v4
|
|
109
|
+
with:
|
|
110
|
+
name: python-package-distributions
|
|
111
|
+
path: dist/
|
|
112
|
+
|
|
113
|
+
- name: Sign distributions with Sigstore
|
|
114
|
+
uses: sigstore/gh-action-sigstore-python@v3.1.0
|
|
115
|
+
with:
|
|
116
|
+
inputs: ./dist/*.tar.gz
|
|
117
|
+
|
|
118
|
+
- name: Create GitHub Release
|
|
119
|
+
env:
|
|
120
|
+
GITHUB_TOKEN: ${{ github.token }}
|
|
121
|
+
run: |
|
|
122
|
+
gh release create \
|
|
123
|
+
"${{ github.ref_name }}" \
|
|
124
|
+
--repo "${{ github.repository }}" \
|
|
125
|
+
--notes ""
|
|
126
|
+
|
|
127
|
+
- name: Upload artifacts and signatures to GitHub Release
|
|
128
|
+
env:
|
|
129
|
+
GITHUB_TOKEN: ${{ github.token }}
|
|
130
|
+
run: |
|
|
131
|
+
gh release upload \
|
|
132
|
+
"${{ github.ref_name }}" \
|
|
133
|
+
dist/** \
|
|
134
|
+
--repo "${{ github.repository }}"
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
|
|
2
|
+
name: dt4acc-lib from PyPI
|
|
3
|
+
on:
|
|
4
|
+
schedule:
|
|
5
|
+
# ┌───────────── minute (0 - 59)
|
|
6
|
+
# │ ┌───────────── hour (0 - 23)
|
|
7
|
+
# │ │ ┌───────────── day of the month (1 - 31)
|
|
8
|
+
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
|
|
9
|
+
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
|
|
10
|
+
# │ │ │ │ │
|
|
11
|
+
# │ │ │ │ │
|
|
12
|
+
# │ │ │ │ │
|
|
13
|
+
# * * * * *
|
|
14
|
+
- cron: '30 5 * * 0'
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
pypi:
|
|
18
|
+
# Build and test only, use pre-generated SWIG wrappers, install from PyPI
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
strategy:
|
|
21
|
+
fail-fast: false
|
|
22
|
+
|
|
23
|
+
steps:
|
|
24
|
+
# Checkout the repository contents
|
|
25
|
+
- name: Checkout dt4acc-lib code
|
|
26
|
+
uses: actions/checkout@v4
|
|
27
|
+
|
|
28
|
+
# Setup Python version
|
|
29
|
+
- name: Setup Python 3.12
|
|
30
|
+
uses: actions/setup-python@v5
|
|
31
|
+
with:
|
|
32
|
+
python-version: 3.12
|
|
33
|
+
|
|
34
|
+
# Install dependencies
|
|
35
|
+
- name: Install apt dependencies
|
|
36
|
+
run: |
|
|
37
|
+
sudo apt update
|
|
38
|
+
sudo apt install python3-all-dev
|
|
39
|
+
|
|
40
|
+
# Install Python dependencies
|
|
41
|
+
- name: Python dependencies
|
|
42
|
+
run: |
|
|
43
|
+
python -m pip install --upgrade pip wheel
|
|
44
|
+
python -m pip install pytest pycodestyle
|
|
45
|
+
|
|
46
|
+
- name: install
|
|
47
|
+
run: |
|
|
48
|
+
python -m pip install dt4acc-lib
|
|
49
|
+
|
|
50
|
+
- name: test
|
|
51
|
+
run: |
|
|
52
|
+
# make sure to move out of the source directory
|
|
53
|
+
cd /tmp
|
|
54
|
+
python -m pytest -s /home/runner/work/hz-b/dt4acc-lib/tests
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
# emacs auto save
|
|
2
|
+
*~
|
|
3
|
+
|
|
4
|
+
# virtual environments
|
|
5
|
+
venv/
|
|
6
|
+
venv-*/
|
|
7
|
+
*-venv/
|
|
8
|
+
.venv/
|
|
9
|
+
|
|
10
|
+
# Byte-compiled / optimized / DLL files
|
|
11
|
+
__pycache__/
|
|
12
|
+
*.py[codz]
|
|
13
|
+
*$py.class
|
|
14
|
+
|
|
15
|
+
# C extensions
|
|
16
|
+
*.so
|
|
17
|
+
|
|
18
|
+
# Distribution / packaging
|
|
19
|
+
.Python
|
|
20
|
+
build/
|
|
21
|
+
develop-eggs/
|
|
22
|
+
dist/
|
|
23
|
+
downloads/
|
|
24
|
+
eggs/
|
|
25
|
+
.eggs/
|
|
26
|
+
lib/
|
|
27
|
+
lib64/
|
|
28
|
+
parts/
|
|
29
|
+
sdist/
|
|
30
|
+
var/
|
|
31
|
+
wheels/
|
|
32
|
+
share/python-wheels/
|
|
33
|
+
*.egg-info/
|
|
34
|
+
.installed.cfg
|
|
35
|
+
*.egg
|
|
36
|
+
MANIFEST
|
|
37
|
+
|
|
38
|
+
# PyInstaller
|
|
39
|
+
# Usually these files are written by a python script from a template
|
|
40
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
41
|
+
*.manifest
|
|
42
|
+
*.spec
|
|
43
|
+
|
|
44
|
+
# Installer logs
|
|
45
|
+
pip-log.txt
|
|
46
|
+
pip-delete-this-directory.txt
|
|
47
|
+
|
|
48
|
+
# Unit test / coverage reports
|
|
49
|
+
htmlcov/
|
|
50
|
+
.tox/
|
|
51
|
+
.nox/
|
|
52
|
+
.coverage
|
|
53
|
+
.coverage.*
|
|
54
|
+
.cache
|
|
55
|
+
nosetests.xml
|
|
56
|
+
coverage.xml
|
|
57
|
+
*.cover
|
|
58
|
+
*.py.cover
|
|
59
|
+
.hypothesis/
|
|
60
|
+
.pytest_cache/
|
|
61
|
+
cover/
|
|
62
|
+
|
|
63
|
+
# Translations
|
|
64
|
+
*.mo
|
|
65
|
+
*.pot
|
|
66
|
+
|
|
67
|
+
# Django stuff:
|
|
68
|
+
*.log
|
|
69
|
+
local_settings.py
|
|
70
|
+
db.sqlite3
|
|
71
|
+
db.sqlite3-journal
|
|
72
|
+
|
|
73
|
+
# Flask stuff:
|
|
74
|
+
instance/
|
|
75
|
+
.webassets-cache
|
|
76
|
+
|
|
77
|
+
# Scrapy stuff:
|
|
78
|
+
.scrapy
|
|
79
|
+
|
|
80
|
+
# Sphinx documentation
|
|
81
|
+
docs/_build/
|
|
82
|
+
|
|
83
|
+
# PyBuilder
|
|
84
|
+
.pybuilder/
|
|
85
|
+
target/
|
|
86
|
+
|
|
87
|
+
# Jupyter Notebook
|
|
88
|
+
.ipynb_checkpoints
|
|
89
|
+
|
|
90
|
+
# IPython
|
|
91
|
+
profile_default/
|
|
92
|
+
ipython_config.py
|
|
93
|
+
|
|
94
|
+
# pyenv
|
|
95
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
96
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
97
|
+
# .python-version
|
|
98
|
+
|
|
99
|
+
# pipenv
|
|
100
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
101
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
102
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
103
|
+
# install all needed dependencies.
|
|
104
|
+
#Pipfile.lock
|
|
105
|
+
|
|
106
|
+
# UV
|
|
107
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
108
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
109
|
+
# commonly ignored for libraries.
|
|
110
|
+
#uv.lock
|
|
111
|
+
|
|
112
|
+
# poetry
|
|
113
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
114
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
115
|
+
# commonly ignored for libraries.
|
|
116
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
117
|
+
#poetry.lock
|
|
118
|
+
#poetry.toml
|
|
119
|
+
|
|
120
|
+
# pdm
|
|
121
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
122
|
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
123
|
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
124
|
+
#pdm.lock
|
|
125
|
+
#pdm.toml
|
|
126
|
+
.pdm-python
|
|
127
|
+
.pdm-build/
|
|
128
|
+
|
|
129
|
+
# pixi
|
|
130
|
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
131
|
+
#pixi.lock
|
|
132
|
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
133
|
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
134
|
+
.pixi
|
|
135
|
+
|
|
136
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
137
|
+
__pypackages__/
|
|
138
|
+
|
|
139
|
+
# Celery stuff
|
|
140
|
+
celerybeat-schedule
|
|
141
|
+
celerybeat.pid
|
|
142
|
+
|
|
143
|
+
# SageMath parsed files
|
|
144
|
+
*.sage.py
|
|
145
|
+
|
|
146
|
+
# Environments
|
|
147
|
+
.env
|
|
148
|
+
.envrc
|
|
149
|
+
.venv
|
|
150
|
+
env/
|
|
151
|
+
venv/
|
|
152
|
+
ENV/
|
|
153
|
+
env.bak/
|
|
154
|
+
venv.bak/
|
|
155
|
+
|
|
156
|
+
# Spyder project settings
|
|
157
|
+
.spyderproject
|
|
158
|
+
.spyproject
|
|
159
|
+
|
|
160
|
+
# Rope project settings
|
|
161
|
+
.ropeproject
|
|
162
|
+
|
|
163
|
+
# mkdocs documentation
|
|
164
|
+
/site
|
|
165
|
+
|
|
166
|
+
# mypy
|
|
167
|
+
.mypy_cache/
|
|
168
|
+
.dmypy.json
|
|
169
|
+
dmypy.json
|
|
170
|
+
|
|
171
|
+
# Pyre type checker
|
|
172
|
+
.pyre/
|
|
173
|
+
|
|
174
|
+
# pytype static type analyzer
|
|
175
|
+
.pytype/
|
|
176
|
+
|
|
177
|
+
# Cython debug symbols
|
|
178
|
+
cython_debug/
|
|
179
|
+
|
|
180
|
+
# PyCharm
|
|
181
|
+
# Covers JetBrains IDEs: IntelliJ, GoLand, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
|
182
|
+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
|
183
|
+
|
|
184
|
+
# User-specific stuff
|
|
185
|
+
.idea/**/workspace.xml
|
|
186
|
+
.idea/**/tasks.xml
|
|
187
|
+
.idea/**/usage.statistics.xml
|
|
188
|
+
.idea/**/dictionaries
|
|
189
|
+
.idea/**/shelf
|
|
190
|
+
|
|
191
|
+
# AWS User-specific
|
|
192
|
+
.idea/**/aws.xml
|
|
193
|
+
|
|
194
|
+
# Generated files
|
|
195
|
+
.idea/**/contentModel.xml
|
|
196
|
+
|
|
197
|
+
# Sensitive or high-churn files
|
|
198
|
+
.idea/**/dataSources/
|
|
199
|
+
.idea/**/dataSources.ids
|
|
200
|
+
.idea/**/dataSources.local.xml
|
|
201
|
+
.idea/**/sqlDataSources.xml
|
|
202
|
+
.idea/**/dynamic.xml
|
|
203
|
+
.idea/**/uiDesigner.xml
|
|
204
|
+
.idea/**/dbnavigator.xml
|
|
205
|
+
|
|
206
|
+
# Gradle
|
|
207
|
+
.idea/**/gradle.xml
|
|
208
|
+
.idea/**/libraries
|
|
209
|
+
|
|
210
|
+
# Gradle and Maven with auto-import
|
|
211
|
+
# When using Gradle or Maven with auto-import, you should exclude module files,
|
|
212
|
+
# since they will be recreated, and may cause churn. Uncomment if using
|
|
213
|
+
# auto-import.
|
|
214
|
+
# .idea/artifacts
|
|
215
|
+
# .idea/compiler.xml
|
|
216
|
+
# .idea/jarRepositories.xml
|
|
217
|
+
# .idea/modules.xml
|
|
218
|
+
# .idea/*.iml
|
|
219
|
+
# .idea/modules
|
|
220
|
+
# *.iml
|
|
221
|
+
# *.ipr
|
|
222
|
+
|
|
223
|
+
# CMake
|
|
224
|
+
cmake-build-*/
|
|
225
|
+
|
|
226
|
+
# Mongo Explorer plugin
|
|
227
|
+
.idea/**/mongoSettings.xml
|
|
228
|
+
|
|
229
|
+
# File-based project format
|
|
230
|
+
*.iws
|
|
231
|
+
|
|
232
|
+
# IntelliJ
|
|
233
|
+
out/
|
|
234
|
+
|
|
235
|
+
# mpeltonen/sbt-idea plugin
|
|
236
|
+
.idea_modules/
|
|
237
|
+
|
|
238
|
+
# JIRA plugin
|
|
239
|
+
atlassian-ide-plugin.xml
|
|
240
|
+
|
|
241
|
+
# Cursive Clojure plugin
|
|
242
|
+
.idea/replstate.xml
|
|
243
|
+
|
|
244
|
+
# SonarLint plugin
|
|
245
|
+
.idea/sonarlint/
|
|
246
|
+
.idea/sonarlint.xml # see https://community.sonarsource.com/t/is-the-file-idea-idea-idea-sonarlint-xml-intended-to-be-under-source-control/121119
|
|
247
|
+
|
|
248
|
+
# Crashlytics plugin (for Android Studio and IntelliJ)
|
|
249
|
+
com_crashlytics_export_strings.xml
|
|
250
|
+
crashlytics.properties
|
|
251
|
+
crashlytics-build.properties
|
|
252
|
+
fabric.properties
|
|
253
|
+
|
|
254
|
+
# Editor-based HTTP Client
|
|
255
|
+
.idea/httpRequests
|
|
256
|
+
http-client.private.env.json
|
|
257
|
+
|
|
258
|
+
# Android studio 3.1+ serialized cache file
|
|
259
|
+
.idea/caches/build_file_checksums.ser
|
|
260
|
+
|
|
261
|
+
# Apifox Helper cache
|
|
262
|
+
.idea/.cache/.Apifox_Helper
|
|
263
|
+
.idea/ApifoxUploaderProjectSetting.xml
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
# Abstra
|
|
268
|
+
# Abstra is an AI-powered process automation framework.
|
|
269
|
+
# Ignore directories containing user credentials, local state, and settings.
|
|
270
|
+
# Learn more at https://abstra.io/docs
|
|
271
|
+
.abstra/
|
|
272
|
+
|
|
273
|
+
# Visual Studio Code
|
|
274
|
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
|
|
275
|
+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
276
|
+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
|
|
277
|
+
# you could uncomment the following to ignore the entire vscode folder
|
|
278
|
+
# .vscode/
|
|
279
|
+
|
|
280
|
+
.vscode/*
|
|
281
|
+
!.vscode/settings.json
|
|
282
|
+
!.vscode/tasks.json
|
|
283
|
+
!.vscode/launch.json
|
|
284
|
+
!.vscode/extensions.json
|
|
285
|
+
!.vscode/*.code-snippets
|
|
286
|
+
!*.code-workspace
|
|
287
|
+
|
|
288
|
+
# Built Visual Studio Code Extensions
|
|
289
|
+
*.vsix
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
# Ruff stuff:
|
|
293
|
+
.ruff_cache/
|
|
294
|
+
|
|
295
|
+
# PyPI configuration file
|
|
296
|
+
.pypirc
|
|
297
|
+
|
|
298
|
+
# Cursor
|
|
299
|
+
# Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
|
|
300
|
+
# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
|
|
301
|
+
# refer to https://docs.cursor.com/context/ignore-files
|
|
302
|
+
.cursorignore
|
|
303
|
+
.cursorindexingignore
|
|
304
|
+
|
|
305
|
+
# Marimo
|
|
306
|
+
marimo/_static/
|
|
307
|
+
marimo/_lsp/
|
|
308
|
+
__marimo__/
|