Fibonacci Lattice
A simple small python package for generating uniform points on the sphere.
This module provides two functions fiblat.cube_lattice and fiblat.sphere_lattice.
Both functions take a dimension and a number of points and return numpy arrays that are roughly evenly spaced in either the [0, 1] hypercube or the unit hypersphere.
Installation
pip install fiblat
Usage
from fiblat import sphere_lattice, cube_lattice
cube = cube_lattice(3, 100)
sphere = sphere_lattice(3, 100)
Development
uv run ruff format --check
uv run ruff check
uv run pyright
uv run pytest
Releases run via the release workflow (a manual workflow_dispatch with a
patch/minor/major bump), which gates, bumps, tags, and publishes to PyPI via OIDC
trusted publishing.
Metadata
Release files for fiblat 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fiblat-0.9.0.tar.gz | 69.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fiblat-0.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 75.8 kB
Release files / fiblat-0.9.0.tar.gz
| Download URL | fiblat-0.9.0.tar.gz |
|---|---|
| Size | 69.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7984418f7c0ca8d294881819f2ead4278f4069b9a8c21ddc7ad04a9992179341
|
|
BLAKE2b-256 checksum How to use checksums |
392760c9ab2e8d02b9760447fe7ba931d2e1979ebcca751f5f5431272543f3c4
|
| 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 Oct 7, 2026.
Transparency logRelease files / fiblat-0.9.0-py3-none-any.whl
| Download URL | fiblat-0.9.0-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f365500cd8a81fc0cd2db74dff1a4bc4a4e8ce0eaea5401b148edbcecc8a8728
|
|
BLAKE2b-256 checksum How to use checksums |
88886e9905b363443369c181494d6fe1f5402ec9d58754dd9b2d00db3afb5049
|
| 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 Oct 7, 2026.
Transparency log