Skip to main content

billingplatform-py

Welcome! This is a community-driven Python library for interacting with BillingPlatform APIs! This project aims to provide a comprehensive and easy-to-use interface for developers working with BillingPlatform.

Installation

You can install the library using pip:

pip install billingplatform

Usage

While still under active development towards version 1.0, you can start using the library for its current functionality. Here's a basic example:

from billingplatform import BillingPlatform

# Initialize the API client (creates the session)
# Just in case it has to be said, don't hardcode your credentials in production code ;-)
bp = BillingPlatform(base_url="https://sandbox.billingplatform.com/myorg", username="myuser", password="mypassword")

# Fetch a list of accounts
try:
    response: dict = bp.query(sql="SELECT Id, Name, Status FROM ACCOUNT WHERE 1=1")
    accounts: list[dict] = response.get("queryResponse", []) # Strip out data from response

    for account in accounts:
        print(account)
except Exception as e:
    print(f"An error occurred: {e}")

Please note: The available methods and their functionalities are still being expanded. Refer to the documentation, source code, or tests for the most up-to-date usage examples.

Contributions

This is a community-driven project, and we welcome contributions! Whether you're fixing a bug, adding a new feature, improving documentation, or suggesting enhancements, your input is valuable.

If you encounter any issues or have suggestions, please don't hesitate to open an issue on our GitHub Issues page and fork the repository and create a pull request.

We're excited to have you as part of our community as we work towards a robust and complete version 1.0

Metadata

Release files for billingplatform 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for billingplatform 0.3.0
File Size Uploaded Provenance Actions
billingplatform-0.3.0.tar.gz 15.7 kB Without provenance Details for billingplatform-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for billingplatform 0.3.0
File Interpreter ABI Platform Actions
billingplatform-0.3.0-py3-none-any.whl Python 3 none any Details for billingplatform-0.3.0-py3-none-any.whl

Total release size: 28.2 kB

Release files / billingplatform-0.3.0.tar.gz

Download URL billingplatform-0.3.0.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
89a900fc74bfac024fbd1c7ad975572bb3d608c131918fce8af0042437eccef5
BLAKE2b-256 checksum
How to use checksums
0f198579af209f06de56b267e494a6c407514ba200ffea58c8748b22b5abbfc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release files / billingplatform-0.3.0-py3-none-any.whl

Download URL billingplatform-0.3.0-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc29d35d28b8b517dd52b9b90d70fdd540a3b45c979b58e4453c7a5548736191
BLAKE2b-256 checksum
How to use checksums
ff614cb9a2938f767bfb18ec76e4edec96b66aaacd81fda0cb73aeefb7b25d62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Security for billingplatform 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page