Skip to main content

Barecat-Cython

A partial Cython/C implementation of the Barecat storage file format.

Install with:

pip install barecat-cython

Usage

The classes BarecatCython and BarecatMmapCython are similar to barecat.Barecat but do not support writing and advanced functions such as listing directories and globbing, etc. Only retrieving file data based on a given key string (inner filepath) is supported.

The difference between the two classes in barecat_cython`` is that BarecatCythonuses file handles and seek/read to access shard files, whileBarecatMmapCython` uses memory mapping. Depending on computer and filesystem properties, one or the other may be faster, though the difference is not large in my experience.

from barecat_cython import BarecatCython, BarecatMmapCython

with BarecatCython('example.barecat') as bc:
    ...

with BarecatMmapCython('example.barecat') as bc:
    ...

Metadata

Release files for barecat-cython 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for barecat-cython 0.0.2
File Size Uploaded Provenance Actions
barecat_cython-0.0.2.tar.gz 37.6 kB With provenance Details for barecat_cython-0.0.2.tar.gz

Release files / barecat_cython-0.0.2.tar.gz

Download URL barecat_cython-0.0.2.tar.gz
Size 37.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f11b9038c85cd05056ccedccd998fe143702d741b0dfe67acd8cc98c7129424b
BLAKE2b-256 checksum
How to use checksums
e04c0ea8a8b5b4fcfaa1d2c1891c586e3e1c5fb03501e08d217813b842d67f37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 May 19, 2025.

Transparency log

Security for barecat-cython 0.0.2

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.

Full provenance

All 1 file in this release has been uploaded with provenance metadata.

Attestation for barecat_cython-0.0.2.tar.gz

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 May 19, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page