Skip to main content

keyval

Simple Python client for keyval.org — a minimal key-value store for developers.

Install

pip install keyval

Usage

import keyval

# Store a value
result = keyval.set("mykey", "myvalue")
# {"status": "success", "key": "mykey", "val": "myvalue"}

# Retrieve a value
result = keyval.get("mykey")
# {"status": "success", "key": "mykey", "val": "myvalue"}

# Auto-generate a key using '-'
result = keyval.set("-", "myvalue")
# {"status": "success", "key": "uuid-abc-...", "val": "myvalue"}

Response format

Both methods return a dict:

Field Description
status "success" or an error string
key The key used
val The stored value

Metadata

Release files for keyval 1.2.1

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

Source distribution (sdist)

Source distribution for keyval 1.2.1
File Size Uploaded Provenance Actions
keyval-1.2.1.tar.gz 2.5 kB Without provenance Details for keyval-1.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 5.5 kB

Release files / keyval-1.2.1.tar.gz

Download URL keyval-1.2.1.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
da378be95a5435ab37120a93b057ee4b13030c61a0b17ae4d4c25975ea0b2721
BLAKE2b-256 checksum
How to use checksums
fdaf19e3b89b77391df140388bd7a1e6bc013e747af5c47edcf8d6c3e8cc3a2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / keyval-1.2.1-py3-none-any.whl

Download URL keyval-1.2.1-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b198081d80cf7b6edd54fc9c97fdc90330cb97db261e2ec7b8db1c69638c3274
BLAKE2b-256 checksum
How to use checksums
d63545fb18b1fc1b0529c63c869b626d5f022119c897aa027d756ce6ebe69f91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Security for keyval 1.2.1

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.

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