Skip to main content

GitHub GitHub branch checks state GitHub Release Date

buffercache is a python3 library. It provides utility methods for data caching.

buffercache supports Python 3.0+ only. It is contained in only one Python file, so it can be easily copied into your project. (The copyright and license notice must be retained.)

example:

from buffercache import BufferCache as BC

set_data = ((1, 2, 3), None, "", "123", (), [], {})

def get(data, args):
    return data, args

bc = BC(timeout=0).set_getter(get)
for data in set_data:
    bc.update(data, {'key': data})
    print(bc.get())

Bugs can be reported to https://github.com/caibingcheng/buffercache. The code can also be found there.

Metadata

Release files for buffercache 1.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 buffercache 1.0.2
File Size Uploaded Provenance Actions
buffercache-1.0.2.tar.gz 2.7 kB Without provenance Details for buffercache-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for buffercache 1.0.2
File Interpreter ABI Platform Actions
buffercache-1.0.2-py3-none-any.whl Python 3 none any Details for buffercache-1.0.2-py3-none-any.whl

Total release size: 5.9 kB

Release files / buffercache-1.0.2.tar.gz

Download URL buffercache-1.0.2.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
75abec06b2c35cb6e41ec6cb8a3cc35bd787dbad6183fcaa81e63191ae97d360
BLAKE2b-256 checksum
How to use checksums
0d1070167abd1e4eb8467e5e802506bd2eea02292c91fb6d68859526f6946e50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15

Release files / buffercache-1.0.2-py3-none-any.whl

Download URL buffercache-1.0.2-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c759aa28f1c3dd3bf1a971df9e489c5f4ecf9a6b237d6b02bb6653b8758c334
BLAKE2b-256 checksum
How to use checksums
9c95f6b06016cf9be8d54ed1e06259710a3ae1da2ae4e776091712538d29c73e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15

Security for buffercache 1.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

1.0.2 This release

2 release files No 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