Skip to main content

Python bindings for the foyer Rust hybrid cache library.

Project description

foyer-py

Python bindings for the Rust foyer hybrid cache library.

foyer-py is published on PyPI and imported as foyer.

Current status

  • Sync in-memory cache bindings are available.
  • Keys: bytes, str, int.
  • Values: bytes.

Quick start

import foyer

cache = foyer.MemoryCache(16)
cache.insert("hello", b"world")

assert cache.get("hello") == b"world"
assert cache.contains("hello")
assert cache.entries == 1

Wheel coverage

GitHub Actions builds wheels for:

  • Linux: x86_64, aarch64, ppc64le, s390x (manylinux)
  • macOS: universal2 (Intel + Apple Silicon)
  • Windows: x86_64

Releases are published from tags matching v* (for example v0.0.3).

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

foyer_py-0.0.4.tar.gz (13.5 kB view details)

Uploaded Source

Built Distributions

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

foyer_py-0.0.4-cp312-abi3-win_amd64.whl (242.2 kB view details)

Uploaded CPython 3.12+Windows x86-64

foyer_py-0.0.4-cp312-abi3-manylinux_2_28_x86_64.whl (413.5 kB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ x86-64

foyer_py-0.0.4-cp312-abi3-manylinux_2_28_aarch64.whl (391.3 kB view details)

Uploaded CPython 3.12+manylinux: glibc 2.28+ ARM64

foyer_py-0.0.4-cp312-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (690.5 kB view details)

Uploaded CPython 3.12+macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file foyer_py-0.0.4.tar.gz.

File metadata

  • Download URL: foyer_py-0.0.4.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for foyer_py-0.0.4.tar.gz
Algorithm Hash digest
SHA256 73e8e4cb106662049155d4a87ced425b0d305dd6f6c7957ca93dd073e4b520ca
MD5 c8bc8743fe6fcadeaedf88984ba850fa
BLAKE2b-256 20628c1159bb40e29a4fcd36f9028b58a53d0501d70502033c529190928364ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for foyer_py-0.0.4.tar.gz:

Publisher: release.yml on icestreamlabs/foyer-py

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

File details

Details for the file foyer_py-0.0.4-cp312-abi3-win_amd64.whl.

File metadata

  • Download URL: foyer_py-0.0.4-cp312-abi3-win_amd64.whl
  • Upload date:
  • Size: 242.2 kB
  • Tags: CPython 3.12+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for foyer_py-0.0.4-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9c258be241cd57be9e28ef966cff9e55a38342f8055cb4780d84d3356f144b42
MD5 658dafffa21237add20efe42b5b47026
BLAKE2b-256 9c1efa3808d52fdb03d2eba8fc712b5cd88dca5f55986c4b8eb47b39a07c4567

See more details on using hashes here.

Provenance

The following attestation bundles were made for foyer_py-0.0.4-cp312-abi3-win_amd64.whl:

Publisher: release.yml on icestreamlabs/foyer-py

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

File details

Details for the file foyer_py-0.0.4-cp312-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for foyer_py-0.0.4-cp312-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 99de0f6530ed9a4546ba76da6c01e67cae8f94b2584578c22bf725596eee5bd9
MD5 c7864ead114fd9ac6fb12e781fafb820
BLAKE2b-256 49d0c12f76b4ff6ebbecf3ab091ac77aa1fb2d1d2a5882c28eae3e37e3b07e52

See more details on using hashes here.

Provenance

The following attestation bundles were made for foyer_py-0.0.4-cp312-abi3-manylinux_2_28_x86_64.whl:

Publisher: release.yml on icestreamlabs/foyer-py

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

File details

Details for the file foyer_py-0.0.4-cp312-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for foyer_py-0.0.4-cp312-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9e9da78ef89bae81d07b76f94a5aaf37d3e7fec04cb614c70f86123854029314
MD5 b2ba7bec2f93f014f13288cbf7f2517d
BLAKE2b-256 e86f0872137b570db0591c3d211f2f49168bed6a3604c38bb7229966c9a0b454

See more details on using hashes here.

Provenance

The following attestation bundles were made for foyer_py-0.0.4-cp312-abi3-manylinux_2_28_aarch64.whl:

Publisher: release.yml on icestreamlabs/foyer-py

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

File details

Details for the file foyer_py-0.0.4-cp312-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for foyer_py-0.0.4-cp312-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 afbba721dcdd2188af25eb21565e0c1dd5571a2c57e0995fa800b844576d3d15
MD5 ee36cb9348e37a9307a71881efd0c622
BLAKE2b-256 e8708693b326ce40d4ffc7bd26fccc0631e69122ffc3ef8e643f6506519d20bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for foyer_py-0.0.4-cp312-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:

Publisher: release.yml on icestreamlabs/foyer-py

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 Pingdom Monitoring Sentry Error logging StatusPage Status page