Skip to main content

okuyama

https://travis-ci.org/heavenshell/py-okuyama.svg?branch=master

Distributed key-value-store okuyama’s Python client.

Usage

Connect to MasterNode.

from okuyama import Client

client = Client()
client.auto_connect(['masternode1:8888', 'masternode2:8888'])

Set value

print(client.set('key', 'val')) # => True
print(client.get('key')) # => 'val'

Remove value

print(client.delete('key')) #=> True
print(client.delete('key')) #=> None

Set tags

print(client.set('key1', 'val1', tags=['tag1'])) #=> True
print(client.set('key2', 'val2', tags=['tag1', 'tag2'])) #=> True

Get keys from tag

print(client.execute('get_keys_by_tag', tag='tag1'])) #=> [key1, key2]

Metadata

Release files for okuyama 1.0.0

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

Source distribution (sdist)

Source distribution for okuyama 1.0.0
File Size Uploaded Provenance Actions
okuyama-1.0.0.tar.gz 5.7 kB Without provenance Details for okuyama-1.0.0.tar.gz

Release files / okuyama-1.0.0.tar.gz

Download URL okuyama-1.0.0.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9c03ab79f2cc8d04ade11a6b4485781f03c1dd11f06b02594f27659450937e83
BLAKE2b-256 checksum
How to use checksums
a75da90058dbf5fdb260355590866abfeb41669689f384aa8123779ea0b0d6ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for okuyama 1.0.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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file 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