bztetra
bztetra is a Python + Numba package for tetrahedron integration on regular
k-grids.
This is the public 0.x preview series. Validate important production results
against the original
libtetrabz implementation or
the parity guidance in the
validation docs.
Install
pip install bztetra
Plot-backed examples use Matplotlib:
pip install "bztetra[plot]"
What It Provides
- Occupation, DOS, and integrated DOS weights on regular 3D k-grids.
- Static overlap, nesting, and polarization weights.
- Real- and complex-frequency Lindhard-style response functions.
- A separate
bztetra.twodnamespace for genuine 2D triangle-method problems. - NumPy C-order mesh indexing on cubic, noncubic, square, and rectangular grids.
Documentation
- Documentation: https://skilledwolf.github.io/bztetra/
- Quickstart: https://skilledwolf.github.io/bztetra/quickstart/
- Physics guide: https://skilledwolf.github.io/bztetra/physics/
- Examples: https://skilledwolf.github.io/bztetra/examples/
- Validation: https://skilledwolf.github.io/bztetra/validation/
- Repository: https://github.com/skilledwolf/bztetra
- Issues: https://github.com/skilledwolf/bztetra/issues
Metadata
Release files for bztetra 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bztetra-0.2.1.tar.gz | 62.5 kB | With provenance | Details for bztetra-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bztetra-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for bztetra-0.2.1-py3-none-any.whl |
Total release size: 133.5 kB
Release files / bztetra-0.2.1.tar.gz
| Download URL | bztetra-0.2.1.tar.gz |
|---|---|
| Size | 62.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4c58dbc93c84522d1bf809327c5bcfef4ec01388fd16e3a06e452c014ce25a2
|
|
BLAKE2b-256 checksum How to use checksums |
3baef6c61c255f27323e00680bf55bf7ffd9155f7eaaed29a3941bdca3dc9660
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 2, 2026.
Transparency logRelease files / bztetra-0.2.1-py3-none-any.whl
| Download URL | bztetra-0.2.1-py3-none-any.whl |
|---|---|
| Size | 71.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff31a5c8ab032657f903d21876bc9fc0d5c8da705fdce91ec1da4a0c7801a19d
|
|
BLAKE2b-256 checksum How to use checksums |
20a776f2e39d1b6b37140fd14f93c3932275db54d2672bc8840456693d3dceac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 2, 2026.
Transparency logSecurity for bztetra 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for bztetra-0.2.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.