Skip to main content

Demo library

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hrmes-python-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hrmes_python-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file hrmes-python-0.1.0.tar.gz.

File metadata

  • Download URL: hrmes-python-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for hrmes-python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 269c36a5bad975d029a22fca34f3f52eed1db14339351a2514e53d3aa8c13293
MD5 c1b0b4f41d21e8a45656b167c1674b3b
BLAKE2b-256 1a13cf3eea0ffa97a5c8466b95c7c4ce81f215d5898884dc97cd6c5315bc71d3

See more details on using hashes here.

File details

Details for the file hrmes_python-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hrmes_python-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for hrmes_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dac906b27116cf35c2dd04ec061b6307456af7e501b8278e00bf492bff1c691d
MD5 5bb246211c8c48fc3df063cf13e65df1
BLAKE2b-256 36951d9b78c9d554a3402ce320ae726386e99670a26ceebc571bc749b266d5fa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page