Skip to main content

Fibonacci Lattice

pypi build docs

A simple small python package for generating uniform points on the sphere. This module provides to 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

Publishing

rm -rf dist
uv build
uv publish --username __token__

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fiblat-0.8.0.tar.gz (51.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fiblat-0.8.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file fiblat-0.8.0.tar.gz.

File metadata

  • Download URL: fiblat-0.8.0.tar.gz
  • Upload date:
  • Size: 51.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fiblat-0.8.0.tar.gz
Algorithm Hash digest
SHA256 98fdd963dc80109b56ce0469960779dbeb23b2ae94cffdc0c57391f5422b40a4
MD5 d982833d73480f0836c03ad14b8e5267
BLAKE2b-256 9c7abf129270da7233fc11a3fde358e3f100ccd0c39f78b984f37cb0b5e7b152

See more details on using hashes here.

Provenance

The following attestation bundles were made for fiblat-0.8.0.tar.gz:

Publisher: release.yml on hafaio/fibonacci_lattice

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fiblat-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: fiblat-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fiblat-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 149cd41ee3aa0905e837fe01ae450b09ac8c4af1b1d313e2b75b6652cdd754d6
MD5 744b615bd3159dcaf2aac509e2d4112a
BLAKE2b-256 e58fb6580b0beedd27f56e323922fa991cf3a1815cd81d6f083566fce7dd23c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for fiblat-0.8.0-py3-none-any.whl:

Publisher: release.yml on hafaio/fibonacci_lattice

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page