Skip to main content

A BitAgere SDK with wallet and CLI tool.

Project description

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

  • Python >= 3.8
  • Poetry for dependency management and packaging.

Setup

  1. Clone the repository:

    git clone https://github.com/GEBcore/bitagere.git
    cd bitagere
    
  2. 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.

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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

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

bitagere-0.0.3.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

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

bitagere-0.0.3-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

Details for the file bitagere-0.0.3.tar.gz.

File metadata

  • Download URL: bitagere-0.0.3.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bitagere-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f9101f803c92c026d0791eec7a04b3d98a86d7e63f07d96949a8d057fbd82a37
MD5 13d134987c10462e6fa7115e92afbf1c
BLAKE2b-256 ae78cdbe2da5b85f44d41ce6b8dca89e8907a8fc58d3eeeb868c10f844815986

See more details on using hashes here.

File details

Details for the file bitagere-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: bitagere-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 28.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bitagere-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 57d69e29d9b53e9fe0e6a31a3df80bb1d73737cae85b4e9c232c89fedf8f12c2
MD5 3463a32eca03bee7b426112d0f2c05d4
BLAKE2b-256 0689b3bd4784df3881ca165fe8b4edbed9a20fc8df928a046a41b72c092cf075

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