Skip to main content

Allows interacting with the XMRig API.

Project description

XMRig-API

Development Status: This project is not yet complete and is not guarenteed to be in a working state until the 0.1.0 beta release, which should be released in the near future.

XMRig-API is a Python module that enables seamless interaction with the XMRig API, offering a range of features designed to enhance usability, flexibility, and reliability. Detailed documentation is available here, and can also be built locally if needed.

Getting Started

To get started with XMRig-API, visit the Usage page for a quick installation and usage guide. For an in-depth overview of the module’s capabilities, consult the reference pages available at the documentation site.

For more examples, visit the Examples page.

Features

XMRig-API includes several powerful features:

  • Support for Multiple Miners: Configure and manage multiple miners from a single instance.
  • Data Persistence: Store and manage miner data in a database to ensure resilience and prevent data loss during API or miner restarts.
  • Getting Started Examples: Practical examples to help new users quickly understand and use the tool.
  • Reference Documentation: Detailed documentation to guide you through all features and functions.
  • Logging: Configurable logging for better debugging and monitoring.
  • Custom Exceptions: Specific exceptions for handling API errors, authorization errors, and connection errors.
  • API Interaction: Fetch status, manage configurations, and control the mining process.
  • Data Caching: Retrieve and cache various properties and statistics from the XMRig miner's API responses.
  • Database Operations: Insert and delete miner-related data in the database.

Planned Features

  • Enhanced Data Persistence: Improved database support with more detailed data storage and retrieval options.
  • Advanced Configuration Management: More flexible and powerful configuration management capabilities.
  • Extended API Coverage: Support for additional XMRig API endpoints, data and functionalities from other forks, e.g. xmrig-mo and xmrig-proxy.
  • Performance Optimization: Enhancements to improve the performance and efficiency of the module.
  • Improved Error Handling: More robust error handling and recovery mechanisms.
  • Comprehensive Test Coverage: A robust test suite for enhanced reliability and easier development.

These features make XMRig-API an ideal solution for both miners and developers seeking a user-friendly and robust tool.

Contributing

Contributions are always welcome and greatly appreciated! To learn more about how you can contribute, check out the Contributing page.

Credits and Acknowledgments

XMRig-API originated as a fork of the python-xmrig project. While the original project provided the foundation, XMRig-API has evolved into a distinct tool with its own unique features and direction.

Special thanks to the creators of python-xmrig for their foundational work, which inspired the development of this project.

Donations

If you find XMRig-API useful and would like to support its development, consider sending a donation in XMR to the following address:

49ipjnJgoRnPsX8v5LVzUvfpSou6agomvKZnqD8zqFVqG6aqeUvKPyJ4WXhodiBPSvAuPNEmhF5QSiaJ59ZgFKwq9bXzCjz

Your support is greatly appreciated!

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

xmrig_api-0.0.14.tar.gz (36.2 kB view details)

Uploaded Source

Built Distribution

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

xmrig_api-0.0.14-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file xmrig_api-0.0.14.tar.gz.

File metadata

  • Download URL: xmrig_api-0.0.14.tar.gz
  • Upload date:
  • Size: 36.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for xmrig_api-0.0.14.tar.gz
Algorithm Hash digest
SHA256 3b271d182b6ba7bc8c1e89586cf0c2a176b233202c3fdb75b9f4e7107932506b
MD5 e3d8cf3f462382cb80c868ae6947b5e9
BLAKE2b-256 264df63e6213ab4fccc91a01f3245f19ea9c490dba05dcda92b1377fbc4a8c08

See more details on using hashes here.

Provenance

The following attestation bundles were made for xmrig_api-0.0.14.tar.gz:

Publisher: release.yml on hreikin/xmrig-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xmrig_api-0.0.14-py3-none-any.whl.

File metadata

  • Download URL: xmrig_api-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for xmrig_api-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 4b2c6d239fed3f267ecd7a97a9f481a13c49247712b034020d294f7cc6d951fd
MD5 7886e7fb7f3a7afb9cec45a5b13c10b8
BLAKE2b-256 e47b568d7c36f3b7ef05f11053535b163e879d9484ae0d8342da675c76e6bf29

See more details on using hashes here.

Provenance

The following attestation bundles were made for xmrig_api-0.0.14-py3-none-any.whl:

Publisher: release.yml on hreikin/xmrig-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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