This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.1.2 instead.
Reason given by maintainers: Accidentally tagged the wrong commit
Durability
A tiny Python persistence library.
Installation
pip install durability
Why
I don't want to have to mess with state/data files. You have to read and write to them whenever you make a change, worry about different locations for them across platforms, and troubleshoot the system. This autosaves and uses the OS's existing dir for application data.
How to use
Durability provides a DataStore object that may be passed the name of your project (so that files don't conflict). It will automatically use your script/lib's name if you don't provide one.
In "normal mode" each key of a DataStore is another file, but in "simple mode" (which you can use by setting the parameter simple to True) to get an interface where each key corresponds to a value in the same file.
Here's an example of using it in simple mode:
from durability import DataStore
store = DataStore("durability-example", simple = True)
#If no existing count, set it to 0
if "count" not in store:
store["count"] = 0
#Increment and display it
store["count"] += 1
print(store["count"])
#Automatically saves! No hassle necessary.
vs in normal mode:
from durability import DataStore
store = DataStore("durability-example")
store["config"] = {"threads": 3, "username": "abc"}
store["currentConnections"] = ["192.168.1.13", "100.90.116.124"]
Metadata
Release files for durability 1.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 | Provenance | Actions |
|---|---|---|---|---|
| durability-1.1.0.tar.gz | 4.3 kB | With provenance | Details for durability-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| durability-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for durability-1.1.0-py3-none-any.whl |
Total release size: 8.8 kB
Release files / durability-1.1.0.tar.gz
| Download URL | durability-1.1.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0869aaa3dffeffb31cd228498c38529838c8b9a48e189f8e78febd773086bc48
|
|
BLAKE2b-256 checksum How to use checksums |
4690306091c41228d5084639405842c0040e968ef38ebc1b71355fbed4dd66bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 11, 2026.
Transparency logRelease files / durability-1.1.0-py3-none-any.whl
| Download URL | durability-1.1.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9fbd8017295d11d74ba81e0c8e3002c090953a2b55da639814afa90cbc018314
|
|
BLAKE2b-256 checksum How to use checksums |
4d744ee513780fa5cfe1b968ac30039c7447702fb0f06bdced8c9a6240d04569
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 11, 2026.
Transparency logSecurity for durability 1.1.0
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
Both files in this release have been uploaded with provenance metadata.
Attestation for durability-1.1.0.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 Oct 11, 2026.
Transparency logA 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.