Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_pulsechain-0.1.3.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

python_pulsechain-0.1.3-py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 3

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