Skip to main content

Connect Python SDK

Project description

Connect Python SDK

pyversions PyPi Status codecov Build Status PyPI status Quality Gate Status

Connect Python SDK allows an easy and fast integration with Connect fulfillment API. Thanks to it you can automate the fulfillment of orders generated by your products.

Please check the documentation available here, which contains information on how to install and use the library, and a complete API reference guide.

Main Features

This library may be consumed in your project in order to automate the fulfillment of requests, this class once imported into your project will allow you to:

  • Communicate with Connect using your API credentials.
  • List all requests, and even filter them:
    • For a specific product.
    • For a specific status.
    • For a specific asset.
    • Etc.
  • Process each request and obtain full details of the request.
  • Modify the activation parameters of each request in order to:
    • Inquiry for changes
    • Store information into the fulfillment request
  • Change the status of the requests from its initial pending state to either inquiring, failed or approved.
  • Generate and upload usage files to report usage for active contracts and listings.
  • Process usage file status changes.
  • Work with Notes for requests.
  • Generate logs.
  • Collect debug logs in case of failure.

Your code may use any scheduler to execute, from a simple cron to a cloud scheduler like the ones available in Azure, Google, Amazon or other cloud platforms.


$ pip install connect-sdk



If you want to contribute to the connect-python-sdk development feel free to open issues or fork the github repository and submit your pull request.


Getting started

Assuming that you have python and virtualenv installed, and forked the connect-python-sdk repository, set up your environment and install the required dependencies like this:

$ git clone{your_github_account}/connect-python-sdk.git
$ cd connect-python-sdk
$ virtualenv venv
$ . venv/bin/activate
$ pip install -r requirements/test.txt

Running tests

The connect-python-sdk uses pytest for unit testing.

To run the entire tests suite execute:

$ pytest


The connect-python-sdk is released under the Apache License, Version 2.0.

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

connect-sdk-22.0.tar.gz (103.8 kB view hashes)

Uploaded source

Built Distribution

connect_sdk-22.0-py3-none-any.whl (84.3 kB view hashes)

Uploaded py3

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