Python implementation for PulseChain API
Reason this release was yanked:
Broken. API has changed. Use at least 0.3.0
Project description
python-pulsechain
Python implementation for PulseChain API
PulseChain API Python Wrapper
This Python package provides a convenient wrapper for interacting with the PulseChain API. It is currently in the alpha stage, and the interface may change significantly as I continue to develop and improve the package.
API Docs: https://scan.pulsechain.com/api-docs
Structure
The package contains three modules:
- transaction.py: Functions for interacting with transactions on the PulseChain network.
- token.py: Functions for interacting with tokens on the PulseChain network.
- account.py: Functions for interacting with accounts on the PulseChain network.
Installation
You can install this package using pip:
pip install python-pulsechain
Usage
First, import the functions from the package:
from pulsechain.account import get_balance, get_token_list
Then, you can use the functions to interact with the PulseChain API. For example, to get the balance of a particular address:
balance = get_balance('your-address-here')
print(balance)
To get the list of tokens owned by a particular address:
token_list = get_token_list('your-address-here')
print(token_list)
Functions return data from API without any modifications.
Documentation
You can find more detailed documentation in the docstrings of each function in the package.
Contributing
If you'd like to contribute to this package, please feel free to submit a pull request. Any improvements or bug fixes are welcome.
Disclaimer
Please note that this package is currently in the alpha stage. This means that the code may change significantly as I continue to improve and develop the package. I appreciate your understanding and patience during this time.
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for python_pulsechain-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39c603bf71c8070a5fbedc444537e53315ba41540b2ed3a68f77e2ff46ebf2c3 |
|
MD5 | bd42300d8eb2b91273cadae0c901549e |
|
BLAKE2b-256 | 0461c790b22d4ff66343a1216937645b6950e80dba23dce7d90e3c29804827e5 |