{"id":48489599,"url":"https://github.com/cloudblue/connect-processor-template-for-python","last_synced_at":"2026-04-07T11:04:33.073Z","repository":{"id":45410602,"uuid":"320015346","full_name":"cloudblue/connect-processor-template-for-python","owner":"cloudblue","description":null,"archived":false,"fork":false,"pushed_at":"2021-12-15T07:53:11.000Z","size":801,"stargazers_count":1,"open_issues_count":2,"forks_count":4,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-13T06:34:35.689Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudblue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-09T16:30:08.000Z","updated_at":"2021-12-15T07:53:14.000Z","dependencies_parsed_at":"2022-08-31T13:54:51.389Z","dependency_job_id":null,"html_url":"https://github.com/cloudblue/connect-processor-template-for-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cloudblue/connect-processor-template-for-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudblue%2Fconnect-processor-template-for-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudblue%2Fconnect-processor-template-for-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudblue%2Fconnect-processor-template-for-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudblue%2Fconnect-processor-template-for-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudblue","download_url":"https://codeload.github.com/cloudblue/connect-processor-template-for-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudblue%2Fconnect-processor-template-for-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31509946,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-07T11:04:30.362Z","updated_at":"2026-04-07T11:04:33.068Z","avatar_url":"https://github.com/cloudblue.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Connect Processor Template for Python\n\n\n## Introduction\n\nThe Connect Processor Template for Python provides developers a complete skeleton to start their automation project using the Connect Open API Client.\n\nIn order to use this project, please ensure that you have read first the documentation available on Connect knowledge base article located here.\nThis documentation is exclusive and comprehensive that will provide information on the Connect Processor Template. \n\nThe Connect Processor built from this template automates the fulfillment of product requests in CloudBlue Connect.\nYou will build a processor capable of automatically process your own Product Requests in Connect, including all use-cases like purchase/change/suspend/resume/cancel subscription requests along with usage reporting for Pay-as-you-go items, Tier Config requests, and Dynamic Validation.\n\nYour 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.\n\n## Requirements\n\nIn order to use this project, you will need an environment capable to run Python scripts. Python 3.6 or later is supported.\n\n## Installation\n\nAssuming that you have Python 3.6 or later installed, complete the steps below to install the required packages and to deploy Connect Processor Template for Python\n\n\n**1. Install Cookiecutter**\n\nInstall in your local machine Cookiecutter, for example, you can do it using pip:\n\n```\n     $ pip install cookiecutter\n```\n\n**2. Create your Connect Processor project**\n\nOnce Cookiecutter is installed you can instantiate it to create your Connect Processor project:\n```\n    $ cookiecutter https://github.com/cloudblue/connect-processor-template-for-python\n```\nYou'll be prompted for some values. Provide them and a Connect Processor project will be created for you.\n\n**Warning**: Please change sample data with your own desired information:\n```\n    project_name [My Connect Processor]: My Awesome Processor\n    project_slug [my_connect_processor]: my_connect_processor\n    description [My processor will auto-process subscription requests in CloudBlue Connect]:\n    author: CloudBlue Vendor,\n    Require_subscription_change_usecase [y/n]: y\n    Require_subscription_cancel_usecase [y/n]: y\n    Require_subscription_suspend_and_resume_usecases [y/n]: y\n    Require_usage_reporting_for_Pay_as_you_go_usecase [y/n]: y\n    Require_dynamic_validation_of_ordering_parameters_for_subscription [y/n]: y\n    Require_reseller_information_for_provisioning [y/n]: y\t\n    Done! Your project is ready to go!\n```\n\nNow you can access your recently created project folder and take a look around it:\n```\n    $ cd my_connect_processor\n    $ ls\n```\n\n**3.  Install the required dependencies**\nRun this command to install the package requirements:\n``` \n    $ pip install -r requirements/dev.txt\n```\n\n**4. Set up your Environment**\nAssuming that you have python and virtualenv installed, you can create a virtual environment inside the connector folder \u003cprocessor application folder name\u003e by running the following command:  \n  ```\n    $ cd my_connect_processor\n    cd /usr/processor/\u003cprocessor application folder name\u003e.\n    scl enable rh-python36 bash\n    python -m venv venv\n    source venv/bin/activate\n```\n\n**5. Set up the configurations**\n\nProvide your own Connect API endpoint and token in config.json.  If your processor support report_usage use case, configure the rootPathUsage to create and store the usage reports.\n\nProvide Product Ids and other data from your Connect product in Globals.py.\n\nPlease take a look at our official [documentation site](https://connect.cloudblue.com/community/modules/extensions/api-tokens/) for more information.\n\n\n## Running tests\n\nThe Connect Processor Template for Python uses unit tests for unit testing.\n\nTo run the entire tests suite, from the connect processor name (my_connect_processor) directory, execute:\n```\n    $ python -m unittest discover tests\n```\n\n## Example Processor\n\nFind in the Examples folder of this project some Connect Processor examples, created from this template, \nand completely developed with the basic Connect Product Requests use cases.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudblue%2Fconnect-processor-template-for-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudblue%2Fconnect-processor-template-for-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudblue%2Fconnect-processor-template-for-python/lists"}