{"repo":"stripe/stripe-python","free":true,"listed":false,"github":"https://github.com/stripe/stripe-python","clone":"git clone https://github.com/stripe/stripe-python.git","description":"Python library for the Stripe API.","language":"Python","stars":2033,"topics":["stripe","stripe-sdk"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Stripe Python Library [!TIP] Want to chat live with Stripe engineers? Join us on our Discord server. The Stripe Python library provides convenient access to the Stripe API from applications written in the Python language. It includes a pre-defined set of classes for API resources that initialize themselves dynamically from API responses which makes it compatible with a wide range of versions of the Stripe API. API Documentation See the Python API docs. Installation This package is available on PyPI: Alternatively, install from source with: Requirements Per our Language Version Support Policy, we currently support Python 3.9+ . Read more and see the full schedule in the docs: https://docs.stripe.com/sdks/versioning?lang=python#stripe-sdk-language-version-support-policy Extended Support Python 2.7 deprecation The Python Software Foundation (PSF) community announced the end of support of Python 2 on 01 January 2020. Starting with version 6.0.0 Stripe SDK Python packages will no longer support Python 2.7. To continue to get new features and security updates, please make sure to update your Python runtime to Python 3.6+. The last version of the Stripe SDK that supported Python 2.7 was 5.5.0 . Usage The library needs to be configured with your account's secret key which is available in your [Stripe Dashboard][api-keys]. Set stripe.api key to its value: Working with API resources Every API resource is a subclass of StripeObject . It is not a dict , even though printing one shows a d","default_branch":null,"files":null,"tree":[],"storefront":"/r/stripe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stripe/stripe-python/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}