HRMES
A consistency-preserving api of the HRMES storage model (Highly Reliable Mobile Edge Storage). It offloads the mission-critical stateful applications to the edge and ensures the reliable tail latency and strong consistency guarantees.
Installation
pip install hrmes-python
Get started
How to create the section:
# import hrmes-python as hrmes
# Prepare the url and port of the server you'd like to connect to
# And give the keys of data that you want to cache as a parameter
url = "url"
port = 1337
keys = ["a-key", "b-key"]
# id = hrmes.create_section(url, port, keys)
How to access to the cache:
# Read the data from the cache
key = "a-key"
# hrmes.read_data(id, key)
value = "a-new-value"
# write the data to the cache
# hrmes.write_data(id, key, value)
How to commit the updates to the server:
# Read the data from the cache
# hrmes.commit(id)
Release files for hrmes-python 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 | |
|---|---|---|---|
| hrmes-python-0.1.0.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hrmes_python-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.4 kB
Release files / hrmes-python-0.1.0.tar.gz
| Download URL | hrmes-python-0.1.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
269c36a5bad975d029a22fca34f3f52eed1db14339351a2514e53d3aa8c13293
|
|
BLAKE2b-256 checksum How to use checksums |
1a13cf3eea0ffa97a5c8466b95c7c4ce81f215d5898884dc97cd6c5315bc71d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / hrmes_python-0.1.0-py3-none-any.whl
| Download URL | hrmes_python-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dac906b27116cf35c2dd04ec061b6307456af7e501b8278e00bf492bff1c691d
|
|
BLAKE2b-256 checksum How to use checksums |
36951d9b78c9d554a3402ce320ae726386e99670a26ceebc571bc749b266d5fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|