bitagere
This is the basic SDK used by development agere.
Installation
You can install bitagere from PyPI using pip:
pip install bitagere
bitagere-cli - Command Line Interface
This project also includes bitagere-cli, a powerful command-line tool for interacting with the BitAgere network and managing your wallets. When you install the bitagere package, bitagere-cli is automatically installed and ready to use.
Key features of bitagere-cli include:
- Wallet creation and management (create, list, show address, import).
- Querying chain information.
- Transferring funds.
For detailed instructions on how to use bitagere-cli, please refer to the CLI README.
To get a quick overview of available commands, you can always run:
bitagere-cli --help
Development
We welcome contributions to bitagere! To get started with development, follow these steps:
Prerequisites
Setup
-
Clone the repository:
git clone https://github.com/GEBcore/bitagere.git cd bitagere
-
Install dependencies:
Poetry will install all project dependencies, including development dependencies, into a virtual environment.
poetry install
Project Management with pyproject.toml and Poetry
This project uses pyproject.toml to define project metadata, dependencies, and build configurations, managed by Poetry.
- Dependencies: Project dependencies are listed under
[tool.poetry.dependencies], and development dependencies (like linters and testing tools) are under[tool.poetry.group.dev.dependencies]. - Scripts: Console scripts are defined under
[tool.poetry.scripts]. - Building: To build the package (e.g., for distribution), use
poetry build. - Running commands: To run commands within the project's virtual environment, prefix them with
poetry run. For example,poetry run python your_script.py.
Logging
Bitagere exposes a helper to set up consistent logging across the SDK:
from bitagere import configure_logging
configure_logging()
configure_logging accepts standard logging parameters so you can plug in custom handlers, formats, or levels before interacting with the SDK.
Code Style & Formatting
This project uses Black for code formatting. Before committing your changes, please format your code:
poetry run black .
Configuration for Black can be found in the pyproject.toml file under the [tool.black] section.
Running Tests
To run the test suite using Python's built-in unittest module:
poetry run python -m unittest discover -s tests
Contributing
Contributions are welcome! Please feel free to submit a pull request or open an issue.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
Metadata
Release files for bitagere 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bitagere-0.0.9.tar.gz | 25.3 kB | Without provenance | Details for bitagere-0.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bitagere-0.0.9-py3-none-any.whl | Python 3 | none | any | Details for bitagere-0.0.9-py3-none-any.whl |
Total release size: 56.7 kB
Release files / bitagere-0.0.9.tar.gz
| Download URL | bitagere-0.0.9.tar.gz |
|---|---|
| Size | 25.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d34fbd70b994ac34a171f9550b1d66810b1fb464f37684c72ca6ab69b1e459c9
|
|
BLAKE2b-256 checksum How to use checksums |
2baaf48071bcba2fa8a70d628d2b48b5d09527f0471fa30b59f62751d29bc05d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / bitagere-0.0.9-py3-none-any.whl
| Download URL | bitagere-0.0.9-py3-none-any.whl |
|---|---|
| Size | 31.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2112f831cce78127fe0d62043359a755e5955f23ac4498ccf9475e93489bcfdf
|
|
BLAKE2b-256 checksum How to use checksums |
212a423eb0b69175e018c62a16bf8d210d04e3fa8e997b673d5794e87b787d58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for bitagere 0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.