fallbacks
Used for caching whether a fast path is worthwhile.
This is an extremely simple cache with no locking and an assumption that if multiple threads/processes try to record for the same key, that it's the same value (so it doesn't matter which wins).
TODO
- load/save on disk
Version Compat
Usage of this library should work back to 3.7, but development (and mypy compatibility) only on 3.10-3.12. Linting requires 3.12 for full fidelity.
Versioning
This library follows meanver which basically means semver along with a promise to rename when the major version changes.
License
fallbacks is copyright Tim Hatch, and licensed under
the MIT license. See the LICENSE file for details.
Metadata
Release files for fallbacks 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fallbacks-0.1.0.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fallbacks-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.8 kB
Release files / fallbacks-0.1.0.tar.gz
| Download URL | fallbacks-0.1.0.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0f2e308d3d3f63db26f86bd08b2c6b07a844c50158b2264fb2aa15ae5047718
|
|
BLAKE2b-256 checksum How to use checksums |
3c4ccd3f52be5458b514712495267d330fe0ed119dea8460d1df61b1a5176617
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / fallbacks-0.1.0-py3-none-any.whl
| Download URL | fallbacks-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c243da1817ffc301e0550f9d95f3909892f4afeca5100327d91c4f5d7c425fb5
|
|
BLAKE2b-256 checksum How to use checksums |
9f7aac0db02141c2e60d28eb4df99e0a36d3bafc411e33b18e0be9badefdafdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|