rginstanton 0.1.0__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.
- rginstanton-0.1.0/.github/workflows/ci.yml +75 -0
- rginstanton-0.1.0/.github/workflows/docs.yml +38 -0
- rginstanton-0.1.0/.github/workflows/release.yml +156 -0
- rginstanton-0.1.0/.gitignore +409 -0
- rginstanton-0.1.0/CMakeLists.txt +46 -0
- rginstanton-0.1.0/Cargo.lock +1418 -0
- rginstanton-0.1.0/Cargo.toml +62 -0
- rginstanton-0.1.0/LICENSE +21 -0
- rginstanton-0.1.0/LICENSES/NOTICE.txt +13 -0
- rginstanton-0.1.0/LICENSES/eOn-BSD-3-Clause.txt +29 -0
- rginstanton-0.1.0/LICENSES/i-PI-MIT.txt +21 -0
- rginstanton-0.1.0/LICENSES/nanobind-BSD-3-Clause.txt +26 -0
- rginstanton-0.1.0/LICENSES/rgpot-MIT.txt +21 -0
- rginstanton-0.1.0/LICENSES/robin-map-MIT.txt +21 -0
- rginstanton-0.1.0/PKG-INFO +39 -0
- rginstanton-0.1.0/README.md +17 -0
- rginstanton-0.1.0/bind/ext.cpp +427 -0
- rginstanton-0.1.0/build.rs +44 -0
- rginstanton-0.1.0/cog.toml +6 -0
- rginstanton-0.1.0/docs/_static/antics.js +6 -0
- rginstanton-0.1.0/docs/build.py +55 -0
- rginstanton-0.1.0/docs/check_links.py +53 -0
- rginstanton-0.1.0/docs/conf.py +19 -0
- rginstanton-0.1.0/docs/guide.md +143 -0
- rginstanton-0.1.0/docs/line-neb.md +73 -0
- rginstanton-0.1.0/docs/lineb.md +193 -0
- rginstanton-0.1.0/docs/links.lua +14 -0
- rginstanton-0.1.0/docs/orgmode/bibliography.org +6 -0
- rginstanton-0.1.0/docs/orgmode/guide.org +238 -0
- rginstanton-0.1.0/docs/orgmode/index.org +17 -0
- rginstanton-0.1.0/docs/orgmode/line-neb.org +74 -0
- rginstanton-0.1.0/docs/orgmode/lineb.org +340 -0
- rginstanton-0.1.0/docs/orgmode/reference.org +90 -0
- rginstanton-0.1.0/docs/reference.md +35 -0
- rginstanton-0.1.0/docs/references.bib +58 -0
- rginstanton-0.1.0/examples/eckart.py +20 -0
- rginstanton-0.1.0/examples/eckart.rs +43 -0
- rginstanton-0.1.0/examples/gpridge_search.c +56 -0
- rginstanton-0.1.0/examples/rgpot_surface.py +13 -0
- rginstanton-0.1.0/examples/rgpot_surface.rs +28 -0
- rginstanton-0.1.0/include/rgbind/rgbind.hpp +939 -0
- rginstanton-0.1.0/include/rginstanton.h +335 -0
- rginstanton-0.1.0/pyproject.toml +24 -0
- rginstanton-0.1.0/python/rginstanton/__init__.py +6 -0
- rginstanton-0.1.0/python/rginstanton/_core.pyi +118 -0
- rginstanton-0.1.0/python/rginstanton/config.py +73 -0
- rginstanton-0.1.0/python/rginstanton/py.typed +0 -0
- rginstanton-0.1.0/python/rginstanton/rgpot.py +44 -0
- rginstanton-0.1.0/scripts/stage_release.py +72 -0
- rginstanton-0.1.0/src/arc_path.rs +606 -0
- rginstanton-0.1.0/src/band.rs +17 -0
- rginstanton-0.1.0/src/capi/lineb.rs +1228 -0
- rginstanton-0.1.0/src/capi/stencil.rs +34 -0
- rginstanton-0.1.0/src/capi.rs +313 -0
- rginstanton-0.1.0/src/config.rs +33 -0
- rginstanton-0.1.0/src/gpridge/mod.rs +283 -0
- rginstanton-0.1.0/src/gpridge/model.c +32 -0
- rginstanton-0.1.0/src/lib.rs +31 -0
- rginstanton-0.1.0/src/line_neb.rs +1467 -0
- rginstanton-0.1.0/src/lineb/action.rs +516 -0
- rginstanton-0.1.0/src/lineb/align.rs +293 -0
- rginstanton-0.1.0/src/lineb/check.rs +425 -0
- rginstanton-0.1.0/src/lineb/continue_energy.rs +805 -0
- rginstanton-0.1.0/src/lineb/mass.rs +141 -0
- rginstanton-0.1.0/src/lineb/mod.rs +144 -0
- rginstanton-0.1.0/src/lineb/optimize.rs +1210 -0
- rginstanton-0.1.0/src/lineb/path.rs +1141 -0
- rginstanton-0.1.0/src/lineb/path_force_clock.rs +185 -0
- rginstanton-0.1.0/src/lineb/rate.rs +1149 -0
- rginstanton-0.1.0/src/mass_metric.rs +947 -0
- rginstanton-0.1.0/src/rgpot.rs +69 -0
- rginstanton-0.1.0/src/sparse_hessian.rs +228 -0
- rginstanton-0.1.0/tests/c/lineb_abi.c +311 -0
- rginstanton-0.1.0/tests/c/main_abi_contract.h +66 -0
- rginstanton-0.1.0/tests/c/search_errors.c +61 -0
- rginstanton-0.1.0/tests/common/cdylib.rs +133 -0
- rginstanton-0.1.0/tests/data/mass_metric_golden.txt +310 -0
- rginstanton-0.1.0/tests/line_neb.rs +904 -0
- rginstanton-0.1.0/tests/lineb.rs +593 -0
- rginstanton-0.1.0/tests/lineb_abi.rs +83 -0
- rginstanton-0.1.0/tests/mass_metric_golden.rs +231 -0
- rginstanton-0.1.0/tests/python/test_lineb.py +322 -0
- rginstanton-0.1.0/tests/rgconf/test_config.py +38 -0
- rginstanton-0.1.0/tests/rgpot_cache/test_surface.py +78 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
name: Solver and bindings
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches: [main, develop]
|
|
5
|
+
pull_request:
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
workflow_call:
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
jobs:
|
|
11
|
+
native:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
16
|
+
- run: cargo test --locked --release --features capi,rgpot
|
|
17
|
+
- run: cargo run --locked --release --example eckart
|
|
18
|
+
- run: cargo doc --locked --no-deps --features capi,rgpot
|
|
19
|
+
- run: cargo package --locked
|
|
20
|
+
- uses: actions/upload-artifact@v4
|
|
21
|
+
with:
|
|
22
|
+
name: rginstanton-crate
|
|
23
|
+
path: target/package/*.crate
|
|
24
|
+
if-no-files-found: error
|
|
25
|
+
overwrite: true
|
|
26
|
+
python:
|
|
27
|
+
strategy:
|
|
28
|
+
matrix:
|
|
29
|
+
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
30
|
+
runs-on: ${{ matrix.os }}
|
|
31
|
+
steps:
|
|
32
|
+
- uses: actions/checkout@v4
|
|
33
|
+
- uses: actions/setup-python@v5
|
|
34
|
+
with:
|
|
35
|
+
python-version: '3.12'
|
|
36
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
37
|
+
- run: python -m pip install build pytest
|
|
38
|
+
- if: runner.os != 'Linux'
|
|
39
|
+
run: python -m build
|
|
40
|
+
- if: runner.os == 'Linux'
|
|
41
|
+
run: python -m build --sdist
|
|
42
|
+
- name: Build portable Linux wheel from the sdist
|
|
43
|
+
if: runner.os == 'Linux'
|
|
44
|
+
shell: bash
|
|
45
|
+
run: |
|
|
46
|
+
python -m pip install cibuildwheel==4.3.0
|
|
47
|
+
python -m cibuildwheel dist/*.tar.gz --output-dir dist
|
|
48
|
+
env:
|
|
49
|
+
CIBW_BUILD: cp312-manylinux_x86_64
|
|
50
|
+
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
|
|
51
|
+
CIBW_BEFORE_ALL_LINUX: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile minimal
|
|
52
|
+
CIBW_ENVIRONMENT_LINUX: 'PATH="/root/.cargo/bin:$PATH"'
|
|
53
|
+
- run: python -c "import glob,subprocess,sys;subprocess.check_call([sys.executable,'-m','pip','install',glob.glob('dist/*.whl')[0]])"
|
|
54
|
+
- name: Verify installed license notices
|
|
55
|
+
shell: python
|
|
56
|
+
run: |
|
|
57
|
+
from importlib.metadata import distribution
|
|
58
|
+
from pathlib import Path
|
|
59
|
+
|
|
60
|
+
expected = {Path("LICENSE"), *Path("LICENSES").glob("*.txt")}
|
|
61
|
+
dist = distribution("rginstanton")
|
|
62
|
+
names = dist.metadata.get_all("License-File", [])
|
|
63
|
+
assert {Path(name) for name in names} == expected, names
|
|
64
|
+
for source in expected:
|
|
65
|
+
suffix = ".dist-info/licenses/" + source.as_posix()
|
|
66
|
+
installed, = (item for item in dist.files if item.as_posix().endswith(suffix))
|
|
67
|
+
assert installed.locate().read_text(encoding="utf-8") == source.read_text(encoding="utf-8")
|
|
68
|
+
- run: python -m pytest -q tests/python
|
|
69
|
+
- run: python examples/eckart.py
|
|
70
|
+
- uses: actions/upload-artifact@v4
|
|
71
|
+
with:
|
|
72
|
+
name: rginstanton-python312-${{ matrix.os }}
|
|
73
|
+
path: dist/*
|
|
74
|
+
if-no-files-found: error
|
|
75
|
+
overwrite: true
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
name: Documentation
|
|
2
|
+
on:
|
|
3
|
+
pull_request:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main, develop]
|
|
6
|
+
tags: ['v*']
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
build:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
|
17
|
+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78
|
|
18
|
+
- name: Build the manual from Org sources
|
|
19
|
+
run: uv run --script docs/build.py --output target/site
|
|
20
|
+
- uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b
|
|
21
|
+
with:
|
|
22
|
+
path: target/site
|
|
23
|
+
|
|
24
|
+
publish:
|
|
25
|
+
if: github.ref_type == 'tag' && startsWith(github.ref_name, 'v')
|
|
26
|
+
needs: build
|
|
27
|
+
runs-on: ubuntu-latest
|
|
28
|
+
concurrency: rginstanton-release-pages
|
|
29
|
+
permissions:
|
|
30
|
+
pages: write
|
|
31
|
+
id-token: write
|
|
32
|
+
environment:
|
|
33
|
+
name: github-pages
|
|
34
|
+
url: ${{ steps.site.outputs.page_url }}
|
|
35
|
+
steps:
|
|
36
|
+
- name: Publish the release manual
|
|
37
|
+
id: site
|
|
38
|
+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
name: Publish distributions
|
|
2
|
+
on:
|
|
3
|
+
workflow_dispatch:
|
|
4
|
+
inputs:
|
|
5
|
+
tag:
|
|
6
|
+
description: Version tag to verify
|
|
7
|
+
required: true
|
|
8
|
+
type: string
|
|
9
|
+
release:
|
|
10
|
+
types: [published]
|
|
11
|
+
|
|
12
|
+
permissions:
|
|
13
|
+
contents: read
|
|
14
|
+
|
|
15
|
+
concurrency:
|
|
16
|
+
group: distribute-${{ github.ref }}
|
|
17
|
+
cancel-in-progress: false
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
build:
|
|
21
|
+
uses: ./.github/workflows/ci.yml
|
|
22
|
+
|
|
23
|
+
stage:
|
|
24
|
+
needs: build
|
|
25
|
+
runs-on: ubuntu-latest
|
|
26
|
+
steps:
|
|
27
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
|
28
|
+
with:
|
|
29
|
+
persist-credentials: false
|
|
30
|
+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
|
|
31
|
+
with:
|
|
32
|
+
pattern: rginstanton-*
|
|
33
|
+
path: artifacts
|
|
34
|
+
- run: python3 scripts/stage_release.py "$EXPECTED_TAG" artifacts staging
|
|
35
|
+
env:
|
|
36
|
+
EXPECTED_TAG: ${{ inputs.tag || github.ref_name }}
|
|
37
|
+
- uses: actions/upload-artifact@v4
|
|
38
|
+
with:
|
|
39
|
+
name: verified-distributions
|
|
40
|
+
path: staging/
|
|
41
|
+
if-no-files-found: error
|
|
42
|
+
overwrite: true
|
|
43
|
+
|
|
44
|
+
assets:
|
|
45
|
+
if: github.event_name == 'release'
|
|
46
|
+
needs: stage
|
|
47
|
+
runs-on: ubuntu-latest
|
|
48
|
+
permissions:
|
|
49
|
+
contents: write
|
|
50
|
+
steps:
|
|
51
|
+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
|
|
52
|
+
with:
|
|
53
|
+
name: verified-distributions
|
|
54
|
+
path: staging
|
|
55
|
+
- name: Attach missing distributions and verify existing digests
|
|
56
|
+
env:
|
|
57
|
+
GH_TOKEN: ${{ github.token }}
|
|
58
|
+
run: |
|
|
59
|
+
gh api "repos/$GITHUB_REPOSITORY/releases/tags/$GITHUB_REF_NAME" > assets.json
|
|
60
|
+
for file in staging/*.crate staging/python/*; do
|
|
61
|
+
name=$(basename "$file")
|
|
62
|
+
if jq -e --arg name "$name" '.assets[] | select(.name == $name)' assets.json > existing.json; then
|
|
63
|
+
digest=$(sha256sum "$file" | cut -d' ' -f1)
|
|
64
|
+
jq -e --arg digest "sha256:$digest" '.digest == $digest' existing.json
|
|
65
|
+
else
|
|
66
|
+
gh release upload "$GITHUB_REF_NAME" -R "$GITHUB_REPOSITORY" "$file"
|
|
67
|
+
fi
|
|
68
|
+
done
|
|
69
|
+
|
|
70
|
+
pypi:
|
|
71
|
+
needs: assets
|
|
72
|
+
runs-on: ubuntu-latest
|
|
73
|
+
environment: pypi
|
|
74
|
+
permissions:
|
|
75
|
+
id-token: write
|
|
76
|
+
steps:
|
|
77
|
+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
|
|
78
|
+
with:
|
|
79
|
+
name: verified-distributions
|
|
80
|
+
path: staging
|
|
81
|
+
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086
|
|
82
|
+
with:
|
|
83
|
+
packages-dir: staging/python
|
|
84
|
+
skip-existing: true
|
|
85
|
+
|
|
86
|
+
- name: Verify published file digests
|
|
87
|
+
run: |
|
|
88
|
+
version=${GITHUB_REF_NAME#v}
|
|
89
|
+
curl -fsS --retry 5 --retry-all-errors \
|
|
90
|
+
"https://pypi.org/pypi/rginstanton/$version/json" -o published.json
|
|
91
|
+
for file in staging/python/*; do
|
|
92
|
+
digest=$(sha256sum "$file" | cut -d' ' -f1)
|
|
93
|
+
jq -e --arg name "$(basename "$file")" --arg digest "$digest" \
|
|
94
|
+
'any(.urls[]; .filename == $name and .digests.sha256 == $digest)' published.json
|
|
95
|
+
done
|
|
96
|
+
|
|
97
|
+
crates:
|
|
98
|
+
needs: assets
|
|
99
|
+
runs-on: ubuntu-latest
|
|
100
|
+
environment: crates-io
|
|
101
|
+
permissions:
|
|
102
|
+
contents: read
|
|
103
|
+
id-token: write
|
|
104
|
+
steps:
|
|
105
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
|
106
|
+
with:
|
|
107
|
+
persist-credentials: false
|
|
108
|
+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
|
|
109
|
+
with:
|
|
110
|
+
name: verified-distributions
|
|
111
|
+
path: ${{ runner.temp }}/verified
|
|
112
|
+
- name: Check the registry version against the release asset
|
|
113
|
+
id: registry
|
|
114
|
+
run: |
|
|
115
|
+
version=${GITHUB_REF_NAME#v}
|
|
116
|
+
crate="rginstanton-$version.crate"
|
|
117
|
+
digest=$(sha256sum "$RUNNER_TEMP/verified/$crate" | cut -d' ' -f1)
|
|
118
|
+
url="https://crates.io/api/v1/crates/rginstanton/$version"
|
|
119
|
+
status=$(curl -sS --retry 3 -o "$RUNNER_TEMP/crate.json" -w '%{http_code}' -A 'rginstanton release' "$url")
|
|
120
|
+
case "$status" in
|
|
121
|
+
200) jq -e --arg digest "$digest" '.version.checksum == $digest' "$RUNNER_TEMP/crate.json" ;;
|
|
122
|
+
404) echo 'publish=true' >> "$GITHUB_OUTPUT" ;;
|
|
123
|
+
*) echo "crates.io returned HTTP $status" >&2; exit 1 ;;
|
|
124
|
+
esac
|
|
125
|
+
- if: steps.registry.outputs.publish == 'true'
|
|
126
|
+
uses: dtolnay/rust-toolchain@stable
|
|
127
|
+
- name: Compare the local Cargo archive with the release asset
|
|
128
|
+
if: steps.registry.outputs.publish == 'true'
|
|
129
|
+
run: |
|
|
130
|
+
crate="rginstanton-${GITHUB_REF_NAME#v}.crate"
|
|
131
|
+
cargo package --locked
|
|
132
|
+
cmp "target/package/$crate" "$RUNNER_TEMP/verified/$crate"
|
|
133
|
+
- name: Select registry authentication
|
|
134
|
+
id: credential
|
|
135
|
+
if: steps.registry.outputs.publish == 'true'
|
|
136
|
+
env:
|
|
137
|
+
FIRST_RELEASE_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
|
138
|
+
run: |
|
|
139
|
+
if [ -z "$FIRST_RELEASE_TOKEN" ]; then
|
|
140
|
+
echo 'trusted=true' >> "$GITHUB_OUTPUT"
|
|
141
|
+
fi
|
|
142
|
+
- name: Obtain a short-lived registry credential
|
|
143
|
+
if: steps.credential.outputs.trusted == 'true'
|
|
144
|
+
uses: rust-lang/crates-io-auth-action@c6f97d42243bad5fab37ca0427f495c86d5b1a18
|
|
145
|
+
id: auth
|
|
146
|
+
- name: Publish and verify the tagged crate
|
|
147
|
+
if: steps.registry.outputs.publish == 'true'
|
|
148
|
+
env:
|
|
149
|
+
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token || secrets.CARGO_REGISTRY_TOKEN }}
|
|
150
|
+
run: |
|
|
151
|
+
version=${GITHUB_REF_NAME#v}
|
|
152
|
+
digest=$(sha256sum "$RUNNER_TEMP/verified/rginstanton-$version.crate" | cut -d' ' -f1)
|
|
153
|
+
cargo publish --locked
|
|
154
|
+
curl -fsS --retry 5 --retry-all-errors -A 'rginstanton release' \
|
|
155
|
+
"https://crates.io/api/v1/crates/rginstanton/$version" -o "$RUNNER_TEMP/crate.json"
|
|
156
|
+
jq -e --arg digest "$digest" '.version.checksum == $digest' "$RUNNER_TEMP/crate.json"
|
|
@@ -0,0 +1,407 @@
|
|
|
1
|
+
### Generated by gibo (https://github.com/simonwhitaker/gibo)
|
|
2
|
+
### https://raw.github.com/github/gitignore/b71db924d35085e481ad7c7ad8a7435b8d8b3016/Rust.gitignore
|
|
3
|
+
|
|
4
|
+
# Generated by Cargo
|
|
5
|
+
# will have compiled files and executables
|
|
6
|
+
debug
|
|
7
|
+
target
|
|
8
|
+
|
|
9
|
+
# These are backup files generated by rustfmt
|
|
10
|
+
**/*.rs.bk
|
|
11
|
+
|
|
12
|
+
# MSVC Windows builds of rustc generate these, which store debugging information
|
|
13
|
+
*.pdb
|
|
14
|
+
|
|
15
|
+
# Generated by cargo mutants
|
|
16
|
+
# Contains mutation testing data
|
|
17
|
+
**/mutants.out*/
|
|
18
|
+
|
|
19
|
+
# rustc will dump stack traces when hitting an internal compiler error to PWD
|
|
20
|
+
rustc-ice-*.txt
|
|
21
|
+
|
|
22
|
+
# RustRover
|
|
23
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
24
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
25
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
26
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
27
|
+
#.idea/
|
|
28
|
+
### Generated by gibo (https://github.com/simonwhitaker/gibo)
|
|
29
|
+
### https://raw.github.com/github/gitignore/b71db924d35085e481ad7c7ad8a7435b8d8b3016/C++.gitignore
|
|
30
|
+
|
|
31
|
+
# Prerequisites
|
|
32
|
+
*.d
|
|
33
|
+
|
|
34
|
+
# Compiled Object files
|
|
35
|
+
*.slo
|
|
36
|
+
*.lo
|
|
37
|
+
*.o
|
|
38
|
+
*.obj
|
|
39
|
+
|
|
40
|
+
# Precompiled Headers
|
|
41
|
+
*.gch
|
|
42
|
+
*.pch
|
|
43
|
+
|
|
44
|
+
# Linker files
|
|
45
|
+
*.ilk
|
|
46
|
+
|
|
47
|
+
# Debugger Files
|
|
48
|
+
*.pdb
|
|
49
|
+
|
|
50
|
+
# Compiled Dynamic libraries
|
|
51
|
+
*.so
|
|
52
|
+
*.dylib
|
|
53
|
+
*.dll
|
|
54
|
+
*.so.*
|
|
55
|
+
|
|
56
|
+
# Fortran module files
|
|
57
|
+
*.mod
|
|
58
|
+
*.smod
|
|
59
|
+
|
|
60
|
+
# Compiled Static libraries
|
|
61
|
+
*.lai
|
|
62
|
+
*.la
|
|
63
|
+
*.a
|
|
64
|
+
*.lib
|
|
65
|
+
|
|
66
|
+
# Executables
|
|
67
|
+
*.exe
|
|
68
|
+
*.out
|
|
69
|
+
*.app
|
|
70
|
+
|
|
71
|
+
# Build directories
|
|
72
|
+
[Bb]uild/
|
|
73
|
+
[Bb]uild-*/
|
|
74
|
+
cmake-build-*/
|
|
75
|
+
|
|
76
|
+
# CMake generated files
|
|
77
|
+
CMakeFiles/
|
|
78
|
+
CMakeCache.txt
|
|
79
|
+
cmake_install.cmake
|
|
80
|
+
Makefile
|
|
81
|
+
install_manifest.txt
|
|
82
|
+
compile_commands.json
|
|
83
|
+
|
|
84
|
+
# Temporary files
|
|
85
|
+
*.tmp
|
|
86
|
+
*.log
|
|
87
|
+
*.bak
|
|
88
|
+
*.swp
|
|
89
|
+
|
|
90
|
+
# vcpkg
|
|
91
|
+
vcpkg_installed/
|
|
92
|
+
|
|
93
|
+
# debug information files
|
|
94
|
+
*.dwo
|
|
95
|
+
|
|
96
|
+
# test output & cache
|
|
97
|
+
Testing/
|
|
98
|
+
.cache/
|
|
99
|
+
### Generated by gibo (https://github.com/simonwhitaker/gibo)
|
|
100
|
+
### https://raw.github.com/github/gitignore/b71db924d35085e481ad7c7ad8a7435b8d8b3016/Python.gitignore
|
|
101
|
+
|
|
102
|
+
# Byte-compiled / optimized / DLL files
|
|
103
|
+
__pycache__/
|
|
104
|
+
*.py[codz]
|
|
105
|
+
*$py.class
|
|
106
|
+
|
|
107
|
+
# C extensions
|
|
108
|
+
*.so
|
|
109
|
+
|
|
110
|
+
# Distribution / packaging
|
|
111
|
+
.Python
|
|
112
|
+
build/
|
|
113
|
+
develop-eggs/
|
|
114
|
+
dist/
|
|
115
|
+
downloads/
|
|
116
|
+
eggs/
|
|
117
|
+
.eggs/
|
|
118
|
+
lib/
|
|
119
|
+
lib64/
|
|
120
|
+
parts/
|
|
121
|
+
sdist/
|
|
122
|
+
var/
|
|
123
|
+
wheels/
|
|
124
|
+
share/python-wheels/
|
|
125
|
+
*.egg-info/
|
|
126
|
+
.installed.cfg
|
|
127
|
+
*.egg
|
|
128
|
+
MANIFEST
|
|
129
|
+
|
|
130
|
+
# PyInstaller
|
|
131
|
+
# Usually these files are written by a python script from a template
|
|
132
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
133
|
+
*.manifest
|
|
134
|
+
*.spec
|
|
135
|
+
|
|
136
|
+
# Installer logs
|
|
137
|
+
pip-log.txt
|
|
138
|
+
pip-delete-this-directory.txt
|
|
139
|
+
|
|
140
|
+
# Unit test / coverage reports
|
|
141
|
+
htmlcov/
|
|
142
|
+
.tox/
|
|
143
|
+
.nox/
|
|
144
|
+
.coverage
|
|
145
|
+
.coverage.*
|
|
146
|
+
.cache
|
|
147
|
+
nosetests.xml
|
|
148
|
+
coverage.xml
|
|
149
|
+
*.cover
|
|
150
|
+
*.py.cover
|
|
151
|
+
*.lcov
|
|
152
|
+
.hypothesis/
|
|
153
|
+
.pytest_cache/
|
|
154
|
+
cover/
|
|
155
|
+
|
|
156
|
+
# Translations
|
|
157
|
+
*.mo
|
|
158
|
+
*.pot
|
|
159
|
+
|
|
160
|
+
# Django stuff:
|
|
161
|
+
*.log
|
|
162
|
+
local_settings.py
|
|
163
|
+
db.sqlite3
|
|
164
|
+
db.sqlite3-journal
|
|
165
|
+
|
|
166
|
+
# Flask stuff:
|
|
167
|
+
instance/
|
|
168
|
+
.webassets-cache
|
|
169
|
+
|
|
170
|
+
# Scrapy stuff:
|
|
171
|
+
.scrapy
|
|
172
|
+
|
|
173
|
+
# Sphinx documentation
|
|
174
|
+
docs/_build/
|
|
175
|
+
|
|
176
|
+
# PyBuilder
|
|
177
|
+
.pybuilder/
|
|
178
|
+
target/
|
|
179
|
+
|
|
180
|
+
# Jupyter Notebook
|
|
181
|
+
.ipynb_checkpoints
|
|
182
|
+
|
|
183
|
+
# IPython
|
|
184
|
+
profile_default/
|
|
185
|
+
ipython_config.py
|
|
186
|
+
|
|
187
|
+
# pyenv
|
|
188
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
189
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
190
|
+
# .python-version
|
|
191
|
+
|
|
192
|
+
# pipenv
|
|
193
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
194
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
195
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
196
|
+
# install all needed dependencies.
|
|
197
|
+
# Pipfile.lock
|
|
198
|
+
|
|
199
|
+
# uv
|
|
200
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
201
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
202
|
+
# commonly ignored for libraries.
|
|
203
|
+
# uv.lock
|
|
204
|
+
|
|
205
|
+
# poetry
|
|
206
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
207
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
208
|
+
# commonly ignored for libraries.
|
|
209
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
210
|
+
# poetry.lock
|
|
211
|
+
# poetry.toml
|
|
212
|
+
|
|
213
|
+
# pdm
|
|
214
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
215
|
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
216
|
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
217
|
+
# pdm.lock
|
|
218
|
+
# pdm.toml
|
|
219
|
+
.pdm-python
|
|
220
|
+
.pdm-build/
|
|
221
|
+
|
|
222
|
+
# pixi
|
|
223
|
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
224
|
+
# pixi.lock
|
|
225
|
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
226
|
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
227
|
+
.pixi/*
|
|
228
|
+
!.pixi/config.toml
|
|
229
|
+
|
|
230
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
231
|
+
__pypackages__/
|
|
232
|
+
|
|
233
|
+
# Celery stuff
|
|
234
|
+
celerybeat-schedule*
|
|
235
|
+
celerybeat.pid
|
|
236
|
+
|
|
237
|
+
# Redis
|
|
238
|
+
*.rdb
|
|
239
|
+
*.aof
|
|
240
|
+
*.pid
|
|
241
|
+
|
|
242
|
+
# RabbitMQ
|
|
243
|
+
mnesia/
|
|
244
|
+
rabbitmq/
|
|
245
|
+
rabbitmq-data/
|
|
246
|
+
|
|
247
|
+
# ActiveMQ
|
|
248
|
+
activemq-data/
|
|
249
|
+
|
|
250
|
+
# SageMath parsed files
|
|
251
|
+
*.sage.py
|
|
252
|
+
|
|
253
|
+
# Environments
|
|
254
|
+
.env
|
|
255
|
+
.envrc
|
|
256
|
+
.venv
|
|
257
|
+
env/
|
|
258
|
+
venv/
|
|
259
|
+
ENV/
|
|
260
|
+
env.bak/
|
|
261
|
+
venv.bak/
|
|
262
|
+
|
|
263
|
+
# Conda environments
|
|
264
|
+
conda-meta/
|
|
265
|
+
|
|
266
|
+
# Spyder project settings
|
|
267
|
+
.spyderproject
|
|
268
|
+
.spyproject
|
|
269
|
+
|
|
270
|
+
# Rope project settings
|
|
271
|
+
.ropeproject
|
|
272
|
+
|
|
273
|
+
# mkdocs/Zensical documentation
|
|
274
|
+
/site
|
|
275
|
+
|
|
276
|
+
# mypy
|
|
277
|
+
.mypy_cache/
|
|
278
|
+
.dmypy.json
|
|
279
|
+
dmypy.json
|
|
280
|
+
|
|
281
|
+
# Pyre type checker
|
|
282
|
+
.pyre/
|
|
283
|
+
|
|
284
|
+
# pytype static type analyzer
|
|
285
|
+
.pytype/
|
|
286
|
+
|
|
287
|
+
# Cython debug symbols
|
|
288
|
+
cython_debug/
|
|
289
|
+
|
|
290
|
+
# PyCharm
|
|
291
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
292
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
293
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
294
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
295
|
+
# .idea/
|
|
296
|
+
|
|
297
|
+
# Abstra
|
|
298
|
+
# Abstra is an AI-powered process automation framework.
|
|
299
|
+
# Ignore directories containing user credentials, local state, and settings.
|
|
300
|
+
# Learn more at https://abstra.io/docs
|
|
301
|
+
.abstra/
|
|
302
|
+
|
|
303
|
+
# Visual Studio Code
|
|
304
|
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore that
|
|
305
|
+
# can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
306
|
+
# and can be added to the global gitignore or merged into this file. However, if you prefer, you
|
|
307
|
+
# could uncomment the following to ignore the entire vscode folder
|
|
308
|
+
# .vscode/
|
|
309
|
+
# Temporary file for partial code execution
|
|
310
|
+
tempCodeRunnerFile.py
|
|
311
|
+
|
|
312
|
+
# Ruff stuff:
|
|
313
|
+
.ruff_cache/
|
|
314
|
+
|
|
315
|
+
# PyPI configuration file
|
|
316
|
+
.pypirc
|
|
317
|
+
|
|
318
|
+
# Marimo
|
|
319
|
+
marimo/_static/
|
|
320
|
+
marimo/_lsp/
|
|
321
|
+
__marimo__/
|
|
322
|
+
|
|
323
|
+
# Streamlit
|
|
324
|
+
.streamlit/secrets.toml
|
|
325
|
+
### Generated by gibo (https://github.com/simonwhitaker/gibo)
|
|
326
|
+
### https://raw.github.com/github/gitignore/b71db924d35085e481ad7c7ad8a7435b8d8b3016/Global/Linux.gitignore
|
|
327
|
+
|
|
328
|
+
*~
|
|
329
|
+
|
|
330
|
+
# temporary files which can be created if a process still has a handle open of a deleted file
|
|
331
|
+
.fuse_hidden*
|
|
332
|
+
|
|
333
|
+
# Metadata left by Dolphin file manager, which comes with KDE Plasma
|
|
334
|
+
.directory
|
|
335
|
+
|
|
336
|
+
# Linux trash folder which might appear on any partition or disk
|
|
337
|
+
.Trash-*
|
|
338
|
+
|
|
339
|
+
# .nfs files are created when an open file is removed but is still being accessed
|
|
340
|
+
.nfs*
|
|
341
|
+
|
|
342
|
+
# Log files created by default by the nohup command
|
|
343
|
+
nohup.out
|
|
344
|
+
### Generated by gibo (https://github.com/simonwhitaker/gibo)
|
|
345
|
+
### https://raw.github.com/github/gitignore/b71db924d35085e481ad7c7ad8a7435b8d8b3016/Global/macOS.gitignore
|
|
346
|
+
|
|
347
|
+
# General
|
|
348
|
+
.DS_Store
|
|
349
|
+
.localized
|
|
350
|
+
__MACOSX/
|
|
351
|
+
.AppleDouble
|
|
352
|
+
.LSOverride
|
|
353
|
+
Icon[
|
|
354
|
+
]
|
|
355
|
+
|
|
356
|
+
# Resource forks
|
|
357
|
+
._*
|
|
358
|
+
|
|
359
|
+
# Files and directories that might appear in the root of a volume
|
|
360
|
+
.DocumentRevisions-V100
|
|
361
|
+
.fseventsd
|
|
362
|
+
.Spotlight-V100
|
|
363
|
+
.TemporaryItems
|
|
364
|
+
.Trashes
|
|
365
|
+
.VolumeIcon.icns
|
|
366
|
+
.com.apple.timemachine.donotpresent
|
|
367
|
+
.com.apple.timemachine.supported
|
|
368
|
+
.PKInstallSandboxManager
|
|
369
|
+
.PKInstallSandboxManager-SystemSoftware
|
|
370
|
+
.hotfiles.btree
|
|
371
|
+
.vol
|
|
372
|
+
.file
|
|
373
|
+
.disk_label*
|
|
374
|
+
lost+found
|
|
375
|
+
.HFS+ Private Directory Data[
|
|
376
|
+
]
|
|
377
|
+
|
|
378
|
+
# Directories potentially created on remote AFP share
|
|
379
|
+
.AppleDB
|
|
380
|
+
.AppleDesktop
|
|
381
|
+
Network Trash Folder
|
|
382
|
+
Temporary Items
|
|
383
|
+
.apdisk
|
|
384
|
+
|
|
385
|
+
# Mac OS 6 to 9
|
|
386
|
+
Desktop DB
|
|
387
|
+
Desktop DF
|
|
388
|
+
TheFindByContentFolder
|
|
389
|
+
TheVolumeSettingsFolder
|
|
390
|
+
.FBCIndex
|
|
391
|
+
.FBCSemaphoreFile
|
|
392
|
+
.FBCLockFolder
|
|
393
|
+
|
|
394
|
+
# Quota system
|
|
395
|
+
.quota.group
|
|
396
|
+
.quota.user
|
|
397
|
+
.quota.ops.group
|
|
398
|
+
.quota.ops.user
|
|
399
|
+
|
|
400
|
+
# TimeMachine
|
|
401
|
+
Backups.backupdb
|
|
402
|
+
.MobileBackups
|
|
403
|
+
.MobileBackups.trash
|
|
404
|
+
MobileBackups.trash
|
|
405
|
+
tmbootpicker.efi
|
|
406
|
+
|
|
407
|
+
/.pixi/
|
|
408
|
+
/build/
|
|
409
|
+
/dist/
|