Skip to main content

A Python SDK for Bitsidy API

Project description

Bitsidy Python SDK

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.

Project Structure

  • 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.

Requirements

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

Installation

Using PyPi

To install via PyPi, run:

pip install bitsidy-sdk

Then, require the SDK in your script:

from bitsidy_sdk import BitsidySDK

Manual Installation

  1. Download or clone the Bitsidy SDK repository.
  2. Place the SDK folder in your project directory.
  3. 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

Usage

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.

Contributing

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.

License

This project is licensed under the GPLv3.

For more information and updates, visit the project repository.

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

bitsidy_sdk-1.0.0.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

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

bitsidy_sdk-1.0.0-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file bitsidy_sdk-1.0.0.tar.gz.

File metadata

  • Download URL: bitsidy_sdk-1.0.0.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for bitsidy_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6ceb280a556feab2cbfd687d1623809926c106307180a87fcda5b404d997a4e0
MD5 71a14105767705b45314f39bd6e026d9
BLAKE2b-256 1edbdf06505bf60c428a5d366e6468efc5f02225120250a8a0bc536e8d519c8d

See more details on using hashes here.

File details

Details for the file bitsidy_sdk-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: bitsidy_sdk-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for bitsidy_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6563b92c5bbc311468c98e822e8fdb0a95c90d71048b4c7f6a96acb7a4a7af41
MD5 2320d969d3eb3dada55f22d09db14d8b
BLAKE2b-256 060cd627a4a90d99a248535aa52e5e852bcfbb8e7e21e3b31e1928171410d16b

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