Skip to main content

Library to register opmentis miners and check data and start new chat

Project description

Opmentis

Opmentis is a Python package designed to manage user registrations within a decentralized application, allowing users to register as miners or validators with AWS DynamoDB. This package simplifies the process of user registration by providing a single function that can handle different user roles based on the presence of a stake.

Features

  • User Registration: Simplified user registration that supports different roles (miner or validator).
  • Easy Configuration: Configuration managed through environment variables for AWS settings.
  • Scalable and Secure: Uses AWS DynamoDB for scalable and secure data storage.

Installation

Install Opmentis using pip:

pip install opmentis

Usage

Registering a Miner

To register a new user as a miner:

from opmentis import register_miners

# Example: Registering a miner
miner_wallet_address = "miner_wallet_address"
miner = register_miners(wallet_address=miner_wallet_address)
print("Miner Registered:", miner)

Check your data

To check miners data:

from opmentis import userdata

# Example: check miners data
miner_wallet_address = "miner_wallet_address"
userdata(wallet_address=miner_wallet_address)

Start new Chat

To check miners data:

from opmentis import endchat

# Example
endchat()

Contributing

Contributions to Opmentis are welcome. Please fork the repository, make your changes, and submit a pull request.

License

For more information and updates, visit GitHub repository URL or contact the project maintainers.

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

opmentis-0.1.4.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

opmentis-0.1.4-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file opmentis-0.1.4.tar.gz.

File metadata

  • Download URL: opmentis-0.1.4.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for opmentis-0.1.4.tar.gz
Algorithm Hash digest
SHA256 cf75daa66e034b57b4eadf90315b34fb1fbf83ac695382f791c656802bf461be
MD5 52fae07903dd40795620b166e9985332
BLAKE2b-256 4eaf39fbd1a27bf135e6bc483a4b3479f47eba4a40631370aff04a8c202699ef

See more details on using hashes here.

File details

Details for the file opmentis-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: opmentis-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for opmentis-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d5e8407b004a836caf139448e078bd858fbe6aeb6e8dd77bd4ed6691d9c68e93
MD5 cb2d39890f606b2e9d8aed1e37f96e28
BLAKE2b-256 f3de48acf9b275152b73b55e26b00dc442afcfb5bb23ea8a1a803d2a57f1d8a9

See more details on using hashes here.

Supported by

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