Skip to main content

The foundational dependency for Buffalo projects.

Project description

Buffalo Core

Buffalo Core provides shared typed numerics and structured diagnostics for Buffalo projects. It is the small foundation package that downstream Buffalo libraries such as Buffalo Wings and Buffalo Panel can build on without depending on one another for low-level conventions.

Included Modules

  • buffalo_core.typing provides shared NumPy-oriented type aliases such as FloatArray and IntInput.
  • buffalo_core.numeric provides normalization helpers for flexible numeric inputs.
  • buffalo_core.diagnostics provides structured diagnostics and OperationResult[T] for value-plus-report workflows.

Quick Example

from buffalo_core.numeric import as_float_array
from buffalo_core.typing import FloatArray


def normalize_samples(values: FloatArray) -> FloatArray:
    return as_float_array(values)

Learn More

Project details


Download files

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

Source Distribution

buffalocore-0.2.0.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

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

buffalocore-0.2.0-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file buffalocore-0.2.0.tar.gz.

File metadata

  • Download URL: buffalocore-0.2.0.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.9

File hashes

Hashes for buffalocore-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2b3c481f995e8ea8c713131c6ab55406880980d5981a6a09b014b60ce575d325
MD5 36a469d2494681d1fac3825de902f297
BLAKE2b-256 c3024a131ea63ddfaeb29c6105fa261f7bdbb69450349558bee74f1d065af32e

See more details on using hashes here.

File details

Details for the file buffalocore-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: buffalocore-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 23.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.9

File hashes

Hashes for buffalocore-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 329493eb347b9368d4f340ee4c44061c759ec2aab3533c83c4dcba640d2517ce
MD5 ded1a7f6a5171a36e4c389f6112fcaf8
BLAKE2b-256 ebfff98bba6350b23848e9d58a82300470b62fd0ac174a26a69d67038e7f8a12

See more details on using hashes here.

Supported by

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