minimage 0.2.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.
Files changed (88) hide show
  1. minimage-0.2.0/.github/workflows/ci.yml +204 -0
  2. minimage-0.2.0/.github/workflows/pages.yml +43 -0
  3. minimage-0.2.0/.github/workflows/publish.yml +28 -0
  4. minimage-0.2.0/.github/workflows/wheels.yml +51 -0
  5. minimage-0.2.0/.gitignore +379 -0
  6. minimage-0.2.0/CHANGELOG.md +111 -0
  7. minimage-0.2.0/CITATION.cff +19 -0
  8. minimage-0.2.0/CMakeLists.txt +194 -0
  9. minimage-0.2.0/Cargo.lock +259 -0
  10. minimage-0.2.0/Cargo.toml +46 -0
  11. minimage-0.2.0/LICENSE +19 -0
  12. minimage-0.2.0/PKG-INFO +142 -0
  13. minimage-0.2.0/README.md +124 -0
  14. minimage-0.2.0/assets/branding/README.md +24 -0
  15. minimage-0.2.0/assets/branding/minimage-icon.svg +16 -0
  16. minimage-0.2.0/assets/branding/minimage-logo-dark.svg +18 -0
  17. minimage-0.2.0/assets/branding/minimage-logo-light.svg +18 -0
  18. minimage-0.2.0/build.rs +21 -0
  19. minimage-0.2.0/cbindgen.toml +158 -0
  20. minimage-0.2.0/cmake/minimage.pc.in +12 -0
  21. minimage-0.2.0/cmake/minimageConfig.cmake.in +23 -0
  22. minimage-0.2.0/cog.toml +52 -0
  23. minimage-0.2.0/docs/README.md +6 -0
  24. minimage-0.2.0/docs/export.el +46 -0
  25. minimage-0.2.0/docs/orgmode/explanation.org +227 -0
  26. minimage-0.2.0/docs/orgmode/getting-started.org +58 -0
  27. minimage-0.2.0/docs/orgmode/howto.org +144 -0
  28. minimage-0.2.0/docs/orgmode/index.org +66 -0
  29. minimage-0.2.0/docs/orgmode/reference.org +108 -0
  30. minimage-0.2.0/docs/orgmode/setup.org +10 -0
  31. minimage-0.2.0/docs/orgmode/simd.org +187 -0
  32. minimage-0.2.0/docs/orgmode/tutorial.org +54 -0
  33. minimage-0.2.0/examples/meson.build +23 -0
  34. minimage-0.2.0/examples/wrap_pair.c +47 -0
  35. minimage-0.2.0/examples/wrap_pair.cpp +36 -0
  36. minimage-0.2.0/include/minimage.h +619 -0
  37. minimage-0.2.0/include/minimage.hpp +223 -0
  38. minimage-0.2.0/isa-allow.toml +23 -0
  39. minimage-0.2.0/meson.build +161 -0
  40. minimage-0.2.0/meson_options.txt +6 -0
  41. minimage-0.2.0/minimage/__init__.py +5 -0
  42. minimage-0.2.0/newsfragments/template.md.jinja +11 -0
  43. minimage-0.2.0/packaging/wrapdb/minimage.wrap +7 -0
  44. minimage-0.2.0/pyproject.toml +34 -0
  45. minimage-0.2.0/python/Cargo.toml +16 -0
  46. minimage-0.2.0/python/src/dlpack.rs +569 -0
  47. minimage-0.2.0/python/src/lib.rs +654 -0
  48. minimage-0.2.0/scripts/check-install.sh +147 -0
  49. minimage-0.2.0/scripts/check_version_lockstep.py +221 -0
  50. minimage-0.2.0/scripts/crate_version.py +53 -0
  51. minimage-0.2.0/scripts/regen-capi-headers.sh +52 -0
  52. minimage-0.2.0/scripts/sync-version.py +87 -0
  53. minimage-0.2.0/scripts/test_check_version_lockstep.py +122 -0
  54. minimage-0.2.0/src/batch.rs +344 -0
  55. minimage-0.2.0/src/capi.rs +1497 -0
  56. minimage-0.2.0/src/cell.rs +1409 -0
  57. minimage-0.2.0/src/error.rs +26 -0
  58. minimage-0.2.0/src/filter.rs +270 -0
  59. minimage-0.2.0/src/fixed.rs +925 -0
  60. minimage-0.2.0/src/fixed32.rs +633 -0
  61. minimage-0.2.0/src/fused.rs +2081 -0
  62. minimage-0.2.0/src/isa_golden.rs +648 -0
  63. minimage-0.2.0/src/kernel.rs +493 -0
  64. minimage-0.2.0/src/lib.rs +81 -0
  65. minimage-0.2.0/src/minkowski.rs +206 -0
  66. minimage-0.2.0/src/pairs.rs +78 -0
  67. minimage-0.2.0/src/partial.rs +452 -0
  68. minimage-0.2.0/src/selling.rs +671 -0
  69. minimage-0.2.0/src/simd.rs +586 -0
  70. minimage-0.2.0/tests/abi.rs +660 -0
  71. minimage-0.2.0/tests/bench_euclidean.rs +122 -0
  72. minimage-0.2.0/tests/cmake-consumer/CMakeLists.txt +10 -0
  73. minimage-0.2.0/tests/golden/isa-hashes.toml +35 -0
  74. minimage-0.2.0/tests/golden/main-ce6dfb1.toml +73 -0
  75. minimage-0.2.0/tests/python/test_agree_engines.py +208 -0
  76. minimage-0.2.0/tests/python/test_cell.py +20 -0
  77. minimage-0.2.0/tests/python/test_dlpack.py +137 -0
  78. minimage-0.2.0/tests/python/test_numpy_accept.py +26 -0
  79. minimage-0.2.0/towncrier.toml +30 -0
  80. minimage-0.2.0/website/assets/minimage-icon.svg +16 -0
  81. minimage-0.2.0/website/css/site.css +173 -0
  82. minimage-0.2.0/website/explanation.html +299 -0
  83. minimage-0.2.0/website/getting-started.html +116 -0
  84. minimage-0.2.0/website/howto.html +222 -0
  85. minimage-0.2.0/website/index.html +98 -0
  86. minimage-0.2.0/website/reference.html +373 -0
  87. minimage-0.2.0/website/simd.html +415 -0
  88. minimage-0.2.0/website/tutorial.html +83 -0
@@ -0,0 +1,204 @@
1
+ name: ci
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ - 'perf/**'
8
+ - 'feat/**'
9
+ - 'fix/**'
10
+ - 'ci/**'
11
+ tags: ['v*']
12
+ pull_request:
13
+ workflow_dispatch:
14
+
15
+ jobs:
16
+ fmt:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ - uses: dtolnay/rust-toolchain@stable
21
+ with:
22
+ components: rustfmt
23
+ - run: cargo fmt --check
24
+
25
+ header-check:
26
+ runs-on: ubuntu-latest
27
+ steps:
28
+ - uses: actions/checkout@v4
29
+ - uses: dtolnay/rust-toolchain@stable
30
+ - run: cargo install cbindgen --version 0.29.4
31
+ - run: scripts/regen-capi-headers.sh --check
32
+
33
+ version:
34
+ runs-on: ubuntu-latest
35
+ steps:
36
+ - uses: actions/checkout@v4
37
+ - uses: actions/setup-python@v5
38
+ with:
39
+ python-version: '3.12'
40
+ - run: python -m pip install cogapp==3.6.0 meson==1.12.1
41
+ - name: Every version copy matches Cargo.toml
42
+ run: python scripts/check_version_lockstep.py
43
+ - name: A release tag names the version and the wrap tag
44
+ if: github.ref_type == 'tag'
45
+ run: python scripts/check_version_lockstep.py --tag "$GITHUB_REF_NAME"
46
+ - name: Drift the sync misses still fails the check
47
+ run: python scripts/test_check_version_lockstep.py
48
+ - name: The sync leaves the tree unchanged
49
+ run: |
50
+ python scripts/sync-version.py
51
+ git diff --exit-code
52
+
53
+ python:
54
+ runs-on: ubuntu-latest
55
+ steps:
56
+ - uses: actions/checkout@v4
57
+ - uses: dtolnay/rust-toolchain@stable
58
+ - uses: actions/setup-python@v5
59
+ with:
60
+ python-version: '3.12'
61
+ - uses: actions/cache@v4
62
+ with:
63
+ path: |
64
+ ~/.cargo/registry
65
+ ~/.cargo/git
66
+ key: ${{ runner.os }}-py-${{ hashFiles('Cargo.lock', 'python/Cargo.toml') }}
67
+ restore-keys: |
68
+ ${{ runner.os }}-py-
69
+ - name: Install Python test deps
70
+ run: |
71
+ python -m venv .venv
72
+ . .venv/bin/activate
73
+ python -m pip install --upgrade pip
74
+ pip install maturin pytest numpy
75
+ - name: maturin develop
76
+ run: |
77
+ . .venv/bin/activate
78
+ maturin develop
79
+ - name: pytest
80
+ run: |
81
+ . .venv/bin/activate
82
+ pytest tests/python -q
83
+
84
+ cargo:
85
+ strategy:
86
+ fail-fast: false
87
+ matrix:
88
+ os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest]
89
+ crate:
90
+ - name: default
91
+ flags: ""
92
+ - name: serial
93
+ flags: --no-default-features --features capi
94
+ name: cargo (${{ matrix.os }}, ${{ matrix.crate.name }})
95
+ runs-on: ${{ matrix.os }}
96
+ steps:
97
+ - uses: actions/checkout@v4
98
+ - name: CPU flags
99
+ run: |
100
+ echo "runner=${{ matrix.os }}"
101
+ if [ -r /proc/cpuinfo ]; then
102
+ grep -m1 'model name' /proc/cpuinfo || true
103
+ grep -m1 flags /proc/cpuinfo || true
104
+ fi
105
+ if command -v sysctl >/dev/null 2>&1; then
106
+ sysctl -n machdep.cpu.brand_string 2>/dev/null || true
107
+ sysctl machdep.cpu.features 2>/dev/null || true
108
+ sysctl hw.optional.neon 2>/dev/null || true
109
+ fi
110
+ command -v lscpu >/dev/null && lscpu || true
111
+ - uses: dtolnay/rust-toolchain@stable
112
+ with:
113
+ components: clippy
114
+ - uses: actions/cache@v4
115
+ with:
116
+ path: |
117
+ ~/.cargo/registry
118
+ ~/.cargo/git
119
+ key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
120
+ restore-keys: |
121
+ ${{ runner.os }}-cargo-
122
+ - run: cargo test --locked --workspace --exclude minimage-python ${{ matrix.crate.flags }}
123
+ - name: NEON bench
124
+ if: matrix.os == 'ubuntu-24.04-arm' && matrix.crate.name == 'default'
125
+ run: cargo test --release --locked --lib bench_dispatch -- --ignored --nocapture
126
+ - run: cargo clippy --locked --workspace --exclude minimage-python --all-targets ${{ matrix.crate.flags }} -- -D warnings
127
+
128
+ meson:
129
+ runs-on: ubuntu-latest
130
+ steps:
131
+ - uses: actions/checkout@v4
132
+ - uses: dtolnay/rust-toolchain@stable
133
+ - uses: actions/cache@v4
134
+ with:
135
+ path: |
136
+ ~/.cargo/registry
137
+ ~/.cargo/git
138
+ key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
139
+ restore-keys: |
140
+ ${{ runner.os }}-cargo-
141
+ - uses: actions/setup-python@v5
142
+ with:
143
+ python-version: '3.12'
144
+ - run: pip install meson ninja
145
+ - run: meson setup build
146
+ - run: meson compile -C build
147
+ - run: meson test -C build --print-errorlogs
148
+ - run: meson install -C build --destdir "$PWD/destdir"
149
+ - name: pkg-config after meson install
150
+ run: |
151
+ prefix="$PWD/destdir/usr/local"
152
+ export PKG_CONFIG_PATH="$prefix/lib/x86_64-linux-gnu/pkgconfig:$prefix/lib/pkgconfig"
153
+ pkg-config --exists --print-errors minimage
154
+ pkg-config --modversion minimage
155
+ pkg-config --cflags --libs minimage
156
+ test -f "$prefix/include/minimage.h"
157
+ test -f "$prefix/include/minimage.hpp"
158
+ test -f "$prefix/lib/x86_64-linux-gnu/libminimage.a" \
159
+ -o -f "$prefix/lib/libminimage.a"
160
+ test -f "$prefix/lib/x86_64-linux-gnu/libminimage.so" \
161
+ -o -f "$prefix/lib/libminimage.so" \
162
+ -o -f "$prefix/lib/libminimage.dylib"
163
+
164
+ cmake:
165
+ runs-on: ubuntu-latest
166
+ steps:
167
+ - uses: actions/checkout@v4
168
+ - uses: dtolnay/rust-toolchain@stable
169
+ - uses: actions/cache@v4
170
+ with:
171
+ path: |
172
+ ~/.cargo/registry
173
+ ~/.cargo/git
174
+ key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
175
+ restore-keys: |
176
+ ${{ runner.os }}-cargo-
177
+ - run: cmake -S . -B build -DCMAKE_INSTALL_PREFIX="$PWD/prefix"
178
+ - run: cmake --build build
179
+ - run: ctest --test-dir build --output-on-failure
180
+ - run: cmake --install build
181
+ - name: find_package and pkg-config after cmake install
182
+ run: |
183
+ test -f prefix/include/minimage.h
184
+ test -f prefix/lib/libminimage.a
185
+ test -f prefix/lib/libminimage.so -o -f prefix/lib/libminimage.dylib
186
+ test -f prefix/lib/pkgconfig/minimage.pc
187
+ test -f prefix/lib/cmake/minimage/minimageConfig.cmake
188
+ export PKG_CONFIG_PATH="$PWD/prefix/lib/pkgconfig"
189
+ pkg-config --exists --print-errors minimage
190
+ pkg-config --modversion minimage
191
+ cmake -S tests/cmake-consumer -B find-build \
192
+ -DCMAKE_PREFIX_PATH="$PWD/prefix" \
193
+ -DMINIMAGE_EXAMPLE="$PWD/examples/wrap_pair.cpp"
194
+ cmake --build find-build
195
+ export LD_LIBRARY_PATH="$PWD/prefix/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
196
+ export DYLD_LIBRARY_PATH="$PWD/prefix/lib${DYLD_LIBRARY_PATH:+:$DYLD_LIBRARY_PATH}"
197
+ ./find-build/find_mi
198
+
199
+ # TODO: I0 has not landed. Enable this job when OmniPotentRPC/rgpot
200
+ # branch ci/isa-audit publishes .github/workflows/isa-audit.yml.
201
+ # isa-audit:
202
+ # uses: OmniPotentRPC/rgpot/.github/workflows/isa-audit.yml@ci/isa-audit
203
+ # with:
204
+ # allow-file: isa-allow.toml
@@ -0,0 +1,43 @@
1
+ name: Pages
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ workflow_dispatch:
7
+
8
+ permissions:
9
+ contents: read
10
+ pages: write
11
+ id-token: write
12
+
13
+ concurrency:
14
+ group: pages
15
+ cancel-in-progress: true
16
+
17
+ jobs:
18
+ build:
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ - name: Assemble site
23
+ run: |
24
+ test -f website/index.html
25
+ mkdir -p _site
26
+ cp website/*.html _site/
27
+ cp -a website/css _site/css
28
+ mkdir -p _site/assets
29
+ cp assets/branding/minimage-icon.svg \
30
+ assets/branding/minimage-logo-light.svg \
31
+ _site/assets/
32
+ - uses: actions/upload-pages-artifact@v3
33
+ with:
34
+ path: _site
35
+ deploy:
36
+ needs: build
37
+ runs-on: ubuntu-latest
38
+ environment:
39
+ name: github-pages
40
+ url: ${{ steps.deployment.outputs.page_url }}
41
+ steps:
42
+ - id: deployment
43
+ uses: actions/deploy-pages@v4
@@ -0,0 +1,28 @@
1
+ name: publish
2
+
3
+ on:
4
+ push:
5
+ tags: ["v*"]
6
+ workflow_dispatch:
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ publish:
13
+ runs-on: ubuntu-latest
14
+ permissions:
15
+ contents: read
16
+ id-token: write
17
+ steps:
18
+ - uses: actions/checkout@v6
19
+ - name: The tag names the version and the wrap tag
20
+ if: github.ref_type == 'tag'
21
+ run: python3 scripts/check_version_lockstep.py --tag "$GITHUB_REF_NAME"
22
+ - uses: dtolnay/rust-toolchain@stable
23
+ - uses: rust-lang/crates-io-auth-action@v1.0.5
24
+ id: auth
25
+ - name: Publish minimage
26
+ env:
27
+ CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
28
+ run: cargo publish --no-verify -p minimage
@@ -0,0 +1,51 @@
1
+ name: wheels
2
+
3
+ on:
4
+ push:
5
+ tags: ["v*"]
6
+
7
+ permissions:
8
+ contents: read
9
+
10
+ jobs:
11
+ dist:
12
+ name: sdist and linux wheel
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ - name: The tag names the version and the wrap tag
17
+ run: python3 scripts/check_version_lockstep.py --tag "$GITHUB_REF_NAME"
18
+ - uses: dtolnay/rust-toolchain@stable
19
+ - uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
20
+ with:
21
+ python-version: "3.12"
22
+ - name: Build sdist and wheel
23
+ run: |
24
+ uvx maturin sdist --out dist
25
+ uvx maturin build --release --out dist
26
+ - uses: actions/upload-artifact@v4
27
+ with:
28
+ name: dist
29
+ path: dist/*
30
+
31
+ # Trusted publisher: PyPI project minimage, repo lode-org/minimage,
32
+ # workflow wheels.yml. The first upload needs that publisher registered.
33
+ publish:
34
+ name: Publish to PyPI
35
+ needs: dist
36
+ runs-on: ubuntu-latest
37
+ if: >-
38
+ github.repository == 'lode-org/minimage' &&
39
+ startsWith(github.ref, 'refs/tags/v')
40
+ permissions:
41
+ id-token: write
42
+ contents: read
43
+ steps:
44
+ - uses: actions/download-artifact@v4
45
+ with:
46
+ name: dist
47
+ path: dist
48
+ - name: Publish to PyPI
49
+ uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e
50
+ with:
51
+ packages-dir: dist/
@@ -0,0 +1,379 @@
1
+ ### Generated by gibo (https://github.com/simonwhitaker/gibo)
2
+ ### https://raw.github.com/github/gitignore/dcc0fc7bc2b5ba480cf117ad1be31bafceeaff46/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/dcc0fc7bc2b5ba480cf117ad1be31bafceeaff46/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
+ build/
73
+ Build/
74
+ 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/dcc0fc7bc2b5ba480cf117ad1be31bafceeaff46/CMake.gitignore
101
+
102
+ CMakeLists.txt.user
103
+ CMakeCache.txt
104
+ CMakeFiles
105
+ CMakeScripts
106
+ Testing
107
+ Makefile
108
+ cmake_install.cmake
109
+ install_manifest.txt
110
+ compile_commands.json
111
+ CTestTestfile.cmake
112
+ _deps
113
+ CMakeUserPresets.json
114
+
115
+ # CLion
116
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
117
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
118
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
119
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
120
+ #cmake-build-*
121
+ ### Generated by gibo (https://github.com/simonwhitaker/gibo)
122
+ ### https://raw.github.com/github/gitignore/dcc0fc7bc2b5ba480cf117ad1be31bafceeaff46/Python.gitignore
123
+
124
+ # Byte-compiled / optimized / DLL files
125
+ __pycache__/
126
+ *.py[codz]
127
+ *$py.class
128
+
129
+ # C extensions
130
+ *.so
131
+
132
+ # Distribution / packaging
133
+ .Python
134
+ build/
135
+ develop-eggs/
136
+ dist/
137
+ downloads/
138
+ eggs/
139
+ .eggs/
140
+ lib/
141
+ lib64/
142
+ parts/
143
+ sdist/
144
+ var/
145
+ wheels/
146
+ share/python-wheels/
147
+ *.egg-info/
148
+ .installed.cfg
149
+ *.egg
150
+ MANIFEST
151
+
152
+ # PyInstaller
153
+ # Usually these files are written by a python script from a template
154
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
155
+ *.manifest
156
+ *.spec
157
+
158
+ # Installer logs
159
+ pip-log.txt
160
+ pip-delete-this-directory.txt
161
+
162
+ # Unit test / coverage reports
163
+ htmlcov/
164
+ .tox/
165
+ .nox/
166
+ .coverage
167
+ .coverage.*
168
+ .cache
169
+ nosetests.xml
170
+ coverage.xml
171
+ *.cover
172
+ *.py.cover
173
+ *.lcov
174
+ .hypothesis/
175
+ .pytest_cache/
176
+ cover/
177
+
178
+ # Translations
179
+ *.mo
180
+ *.pot
181
+
182
+ # Django stuff:
183
+ *.log
184
+ local_settings.py
185
+ db.sqlite3
186
+ db.sqlite3-journal
187
+
188
+ # Flask stuff:
189
+ instance/
190
+ .webassets-cache
191
+
192
+ # Scrapy stuff:
193
+ .scrapy
194
+
195
+ # Sphinx documentation
196
+ docs/_build/
197
+
198
+ # PyBuilder
199
+ .pybuilder/
200
+ target/
201
+
202
+ # Jupyter Notebook
203
+ .ipynb_checkpoints
204
+
205
+ # IPython
206
+ profile_default/
207
+ ipython_config.py
208
+
209
+ # pyenv
210
+ # For a library or package, you might want to ignore these files since the code is
211
+ # intended to run in multiple environments; otherwise, check them in:
212
+ # .python-version
213
+
214
+ # pipenv
215
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
216
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
217
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
218
+ # install all needed dependencies.
219
+ # Pipfile.lock
220
+
221
+ # UV
222
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
223
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
224
+ # commonly ignored for libraries.
225
+ # uv.lock
226
+
227
+ # poetry
228
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
229
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
230
+ # commonly ignored for libraries.
231
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
232
+ # poetry.lock
233
+ # poetry.toml
234
+
235
+ # pdm
236
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
237
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
238
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
239
+ # pdm.lock
240
+ # pdm.toml
241
+ .pdm-python
242
+ .pdm-build/
243
+
244
+ # pixi
245
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
246
+ # pixi.lock
247
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
248
+ # in the .venv directory. It is recommended not to include this directory in version control.
249
+ .pixi/*
250
+ !.pixi/config.toml
251
+
252
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
253
+ __pypackages__/
254
+
255
+ # Celery stuff
256
+ celerybeat-schedule*
257
+ celerybeat.pid
258
+
259
+ # Redis
260
+ *.rdb
261
+ *.aof
262
+ *.pid
263
+
264
+ # RabbitMQ
265
+ mnesia/
266
+ rabbitmq/
267
+ rabbitmq-data/
268
+
269
+ # ActiveMQ
270
+ activemq-data/
271
+
272
+ # SageMath parsed files
273
+ *.sage.py
274
+
275
+ # Environments
276
+ .env
277
+ .envrc
278
+ .venv
279
+ env/
280
+ venv/
281
+ ENV/
282
+ env.bak/
283
+ venv.bak/
284
+
285
+ # Spyder project settings
286
+ .spyderproject
287
+ .spyproject
288
+
289
+ # Rope project settings
290
+ .ropeproject
291
+
292
+ # mkdocs documentation
293
+ /site
294
+
295
+ # mypy
296
+ .mypy_cache/
297
+ .dmypy.json
298
+ dmypy.json
299
+
300
+ # Pyre type checker
301
+ .pyre/
302
+
303
+ # pytype static type analyzer
304
+ .pytype/
305
+
306
+ # Cython debug symbols
307
+ cython_debug/
308
+
309
+ # PyCharm
310
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
311
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
312
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
313
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
314
+ # .idea/
315
+
316
+ # Abstra
317
+ # Abstra is an AI-powered process automation framework.
318
+ # Ignore directories containing user credentials, local state, and settings.
319
+ # Learn more at https://abstra.io/docs
320
+ .abstra/
321
+
322
+ # Visual Studio Code
323
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
324
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
325
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
326
+ # you could uncomment the following to ignore the entire vscode folder
327
+ # .vscode/
328
+ # Temporary file for partial code execution
329
+ tempCodeRunnerFile.py
330
+
331
+ # Ruff stuff:
332
+ .ruff_cache/
333
+
334
+ # PyPI configuration file
335
+ .pypirc
336
+
337
+ # Marimo
338
+ marimo/_static/
339
+ marimo/_lsp/
340
+ __marimo__/
341
+
342
+ # Streamlit
343
+ .streamlit/secrets.toml
344
+ ### Generated by gibo (https://github.com/simonwhitaker/gibo)
345
+ ### https://raw.github.com/github/gitignore/dcc0fc7bc2b5ba480cf117ad1be31bafceeaff46/Global/Linux.gitignore
346
+
347
+ *~
348
+
349
+ # temporary files which can be created if a process still has a handle open of a deleted file
350
+ .fuse_hidden*
351
+
352
+ # Metadata left by Dolphin file manager, which comes with KDE Plasma
353
+ .directory
354
+
355
+ # Linux trash folder which might appear on any partition or disk
356
+ .Trash-*
357
+
358
+ # .nfs files are created when an open file is removed but is still being accessed
359
+ .nfs*
360
+
361
+ # Log files created by default by the nohup command
362
+ nohup.out
363
+
364
+ # Local build prefixes
365
+ /target/
366
+ /build/
367
+ /build-meson/
368
+ /build-cmake/
369
+ /destdir-meson/
370
+ /prefix-cmake/
371
+ /.pixi/
372
+ /.venv/
373
+
374
+ # Meson wraps: keep wrap files, ignore checkouts
375
+ /subprojects/*
376
+ !/subprojects/*.wrap
377
+ !/subprojects/packagefiles/
378
+ /burn/target/
379
+ /burn/Cargo.lock