Bitsidy SDK is a toolkit for integrating Bitsidy's cryptocurrency invoice services into your Python projects. Whether you are using npm for dependency management or prefer manual inclusion, this SDK is designed for easy integration.
bitsidy_sdk/sdk.py
: The core SDK file.examples/example.py
: An example script demonstrating SDK usage.examples/callback.py
: An example script demonstrating how to handle received callback data.pyproject.toml
: The configuration file for packaging tools.
The dependencies are specified in the requirements.txt file. To install them manually, run:
pip install -r requirements.txt
To run the examples/callback.py
example script, which demonstrates handling callback data, the following specific requirements must be met:
pip install flask
To install via PyPi, run:
pip install bitsidy-sdk
Then, require the SDK in your script:
from bitsidy_sdk import BitsidySDK
- Download or clone the Bitsidy SDK repository.
- Place the SDK folder in your project directory.
- In your Python file, use require to include the SDK. Assuming the SDK folder is named bitsidy_sdk and it's placed in your project's root directory, the code to include it would be:
from src.bitsidy_sdk import BitsidySDK
Refer to examples/example.py for a practical demonstration on using the Bitsidy SDK to create invoices and handle responses. For understanding how our server communicates invoice status updates, consult examples/callback.py.
Contributions to the Bitsidy SDK are welcome. Please ensure that your code adheres to the project's coding standards and include tests for new features or bug fixes.
This project is licensed under the GPLv3.
For more information and updates, visit the project repository.