Json Database full async
Examples
•
News
Aio-Json
Example
from zjson import AsyncClient
db = AsyncClient(name="db.json", directory="cache")
async def main():
await db.set(
key="key",
value="value"
)
print(await db.get("key")) # value
await db.set(
key="key2",
value=[1, 2, 3],
expire=10 # expire after 10 seconds
)
await db.sleep(10)
print(await db.get("key2")) # None
db.run(main())
Installing
pip3 install -U zjson
Community
- Join the telegram channel: https://t.me/Y88F8
Metadata
Release files for zjson 1.3.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 |
|---|---|---|---|---|
| zjson-1.3.0.tar.gz | 5.4 kB | Without provenance | Details for zjson-1.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zjson-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for zjson-1.3.0-py3-none-any.whl |
Total release size: 11.1 kB
Release files / zjson-1.3.0.tar.gz
| Download URL | zjson-1.3.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
434ebb39e467e455d57c77bcb7170a9ba25dab1a7d5f4f28a80816642efb9b5b
|
|
BLAKE2b-256 checksum How to use checksums |
5dadec41b2d7610ee7db0be144a8bd49de4bba83a1f5321bc1db5ebe72cbd3d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / zjson-1.3.0-py3-none-any.whl
| Download URL | zjson-1.3.0-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1de23e4a075c115a93184258f4635c80a02617483963d1611fd0116efb086713
|
|
BLAKE2b-256 checksum How to use checksums |
c6669a2a352e58959673a8a3bb19b46ac0f5a759ba3f2971ae520dd745a70d19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for zjson 1.3.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.
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.