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.1.tar.gz (24.2 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.1-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: buffalocore-0.2.1.tar.gz
  • Upload date:
  • Size: 24.2 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.1.tar.gz
Algorithm Hash digest
SHA256 60f1cbfba176d670d5c4dc2deedf2b841091d5caf30c46a9583c865908e74df9
MD5 d80e07bae26c614868f5c2ae522d7fff
BLAKE2b-256 08d1dda8eed204f0a88ae651d6aa21bc0dce6e0d55c1662ea0c05d6866373ab8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: buffalocore-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 23.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 119b481be027ab376b693843e0eedfff63dc59567ef7b45d244c5dd1dcfbbb85
MD5 e54750012e248533714ab7bee3dcc92e
BLAKE2b-256 b4e326985512f20c15db0d0262d73dbc67417043915a82dc91a421b088d77c6d

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