Our Python SDK is now v1
You can use our Python SDK to streamline integrating with Paddle Billing. We released major version 1, which means breaking changes result in a new version.
What's new?
A few months ago, we took over stewardship of the community-contributed Python SDK for Paddle Billing. Today, we've released version 1.0.0
, which means it's ready to rely on with no further breaking changes as part of this version.
How it works
SDKs make it easier to work with the Paddle Billing platform. They reduce the amount of boilerplate code you need to write and include helper functions to make it quicker and easier to integrate Paddle Billing.
We use semantic versioning for our SDKs. We initially released our Python SDK as major version zero (0.y.z
). While we were confident it was stable, we wanted to get feedback from our developer community before locking in version 1.
We've made a bunch of quality-of-life improvements since launch, and today we've released version 1.0.0
of our Python SDK for Paddle Billing. This means it's now ready to rely on, with a guarantee that there will be no further breaking changes as part of this version.
Key features
- Available on PyPI for install using the pip package manager.
- Fully feature complete with the Paddle API.
- Includes helper functions to help you verify webhook signatures.
- Released under the Apache 2.0 license, so anyone in the Paddle community can contribute.
Examples
This example shows initializing a new Paddle client with an API key and iterating through products.
123456781from paddle_billing import Client
2
3paddle = Client('API_KEY')
4
5products = paddle.products.list()
6
7for product in products:
8 print(f"Product's id: {product.id}")
For more examples, see @PaddleHQ/paddle-python-sdk
on GitHub.
Next steps
This change is available now.
There are no changes to endpoints or fields in the API as a result of this change.
New to our SDKs?
Install using pip
:
11pip install paddle-python-sdk
Go to our SDKs and tools page to learn more.
Upgrading from v0?
To get the latest version, update using pip
:
11pip install --upgrade paddle-python-sdk
You may need to make changes to your integration to use the latest version. Check the CHANGELOG.md
and UPGRADING.md
files are the root of the repo on GitHub for a summary of changes and information about how to upgrade.