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.3.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

opmentis-0.1.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for opmentis-0.1.3.tar.gz
Algorithm Hash digest
SHA256 56494e9f27dce4acfefd2b3a4a247c083fc37114bb4b7c944b6ea0ff12d24ee7
MD5 07ab24fd5f6b8cf9996799a00505d912
BLAKE2b-256 c14ced1e9d6ac45536a336fa76ab556bd873a11e057becff171a98b863ca5426

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for opmentis-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9759af5176d08fcd88cef6dbd8c161ccfb72b41c812d58b688506304bcd87f22
MD5 f9896a07c32bf5e322310d086d9ab7b2
BLAKE2b-256 abe044b6053804fe92432fe46ad26471cbb081f9ba378be21b5fc0bf37ecb58a

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