./finance/py-stripe, Stripe python bindings

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.42.0, Package name: py37-stripe-2.42.0, Maintainer: pkgsrc-users

Stripe python bindings. Stripe is a set of unified APIs and tools that
instantly enable businesses to accept and manage online payments.


Required to run:
[devel/py-setuptools] [devel/py-requests] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: a384d47456a2068635934dd1e2a53eb37716cf8b
RMD160: 93b4a26f1a56193321d5209da8cfad79966358af
Filesize: 212.359 KB

Version history: (Expand)


CVS history: (Expand)


   2020-02-01 21:21:25 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-stripe: updated to 2.42.0

2.42.0:
* Add support for `CreditNoteLineItem`
* Pin black version
* Start testing Python 3.8
   2020-01-08 12:19:03 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-stripe: updated to 2.41.1

2.41.1:
* Fix uploading files with Unicode names (Python 2.7)
* Update Python API docs inline link
* Update `proxy.py`

2.41.0:
* Add support for `CreditNote` preview

2.40.0:
* Add list_usage_record_summaries and list_source_transactions

2.39.0:
* Add support for `Mandate`

2.38.0:
* Add support for reverse pagination
* Contributor Convenant

2.37.2:
* Implement support for stripe-should-retry and retry-after headers

2.37.1:
* Check that `error` is a dict before trying to use it to create a `StripeError`

2.37.0:
* Add `ErrorObject` to `StripeError` exceptions
* Pass `CFLAGS` and `LDFLAGS` when running tests

2.36.2:
* Use `OrderedDict` to maintain key order in API requests and responses

2.36.1:
* Use `ListObject` properties as default values in request methods

2.36.0:
* Add support for header parameters in `ListObject` request methods
   2019-08-26 16:26:43 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-stripe: updated to 2.35.1

2.35.1:
* Fix automatic retries of failed requests
* Clarify what `max_network_retries` does

2.35.0:
* Add `SubscriptionItem.create_usage_record` method

2.34.0:
* Remove subscription schedule revisions
  - This is technically a breaking change. We've chosen to release it as a minor \ 
vesion bump because the associated API is unused.

2.33.2:
* Add support for passing full objects instead of IDs to custom methods
* Bump vendored six to latest version

2.33.1:
* Fix `del` statement to not raise `KeyError`

2.33.0:
* Listing `BalanceTransaction` objects now uses `/v1/balance_transactions` \ 
instead of `/v1/balance/history`

2.32.1:
* Fix argument name conflict

2.32.0:
* Add support for the `SetupIntent` resource and APIs

2.31.0:
* Enable request latency telemetry by default

2.30.1:
* Fix support for `CustomerBalanceTransaction`

2.30.0:
* Add support for `CustomerBalanceTransaction` resource and APIs

2.29.4:
* Remove Poetry and reinstate `setup.py`

2.29.3:
Version 2.29.2 was non-functional due to a bugged `version.py` file. This \ 
release is identical to 2.29.2 save for the version number.

2.29.2:
* Replace pipenv with poetry

2.29.1:
* Verify signatures before deserializing events

2.29.0:
* Add support for `radar.early_fraud_warning` resource

2.28.2:
* Fix a few more code quality issues

2.28.1:
* Fix a few code quality issues

2.28.0:
* Add support for the `Capability` resource and APIs
   2019-04-25 07:06:20 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-stripe: updated to 2.27.0

2.27.0:
* Add support for the TaxRate resource and APIs

2.26.0:
* Add support for the TaxId resource and APIs

2.25.0:
* Add support for the CreditNote resource and APIs

2.24.1:
* Fix encoding of nested parameters in multipart requests

2.24.0:
* Add delete class method on deletable API resources
* Add class methods for all custom API requests (e.g. Charge.capture)

2.23.0:
* Add support for the PaymentMethod resource and APIs
* Add support for retrieving a Checkout Session
* Add support for deleting a Terminal Location and Reader

2.22.0:
* Add stripe.util.convert_to_dict method for converting StripeObject instances \ 
to regular dicts

2.21.0:
* Add support for subscription schedules

2.20.3:
* Fix client telemetry implementation

2.20.2:
* Fix session initialization for multi-threaded environments

2.20.1:
* Make RequestsClient thread-safe

2.20.0:
* Reuse the default HTTP client by default

2.19.0:
* Rename CheckoutSession to Session and move it under the checkout namespace. \ 
This is a breaking change, but we've reached out to affected merchants and all \ 
new merchants would use the new approach.

2.18.1:
* Properly serialize individual on Account objects
   2019-01-15 20:14:07 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-stripe: updated to 2.18.0

2.18.0:
* Add configurable telemetry to gather information on client-side request latency

2.17.0:
* Add support for Checkout sessions

2.16.0:
* Add support for account links

2.15.0:
* Add support for providing custom CA certificate bundle

2.14.0:
* Add support for Review for Radar

2.13.0:
* Add support for ValueList and ValueListItem for Radar

2.12.1:
* Make StripeResponse a new-style class

2.12.0:
* Add new API endpoints for the Invoice resource.

2.11.1:
* Bump minimum requests version to 2.20.0 (for \ 
[CVE-2018-18074](https://nvd.nist.gov/vuln/detail/CVE-2018-18074))

2.11.0:
* Add support for the Person resource
* Add support for the WebhookEndpoint resource

2.10.1:
* Correct behavior of stripe.max_network_retries if it's reset after initial use

2.10.0:
* Add support for Stripe Terminal

2.9.0:
* Rename FileUpload to File

2.8.1:
* Don't URL-encode square brackets
* Integer-index encode all arrays

2.8.0:
* Add support for automatic network retries

2.7.0:
* Add support for reporting resources

2.6.0:
* Add support for usage record summaries

2.5.0:
* Remove unsupported Bitcoin endpoints (this is technically a breaking change, \ 
but we're releasing as a minor version because none of these APIs were usable \ 
anyway)

2.4.0:
* Add cancel support for topups
* Add support for file links

2.3.0:
* Add support for Sigma scheduled query run objects

2.2.0:
* Add support for Stripe Issuing

2.1.0:
* Add InvoiceLineItem class

2.0.3:
* Internal improvements to ApiResource.class_url

2.0.2:
* Avoid duplicate dependency on requests with Python 2.7

2.0.1:
* Fix setup.py

2.0.0:
Major version release. List of backwards incompatible changes to watch out for:
* The minimum Python versions are now 2.7 / 3.4. If you're using Python 2.6 or \ 
3.3, consider upgrading to a more recent version.
* Stripe exception classes should now be accessed via stripe.error rather than \ 
just stripe
* Some older deprecated methods have been removed
* Trying to detach an unattached source will now raise a \ 
stripe.error.InvalidRequestError exception instead of a NotImplementedError \ 
exception

Pull requests included in this release:
* Drop support for Python 2.6 and 3.3
* Use py.test for tests
* Remove deprecated code
* Remove util.json and use json module directly everywhere
* Update setup.py and test flow
* Use pipenv
* Change exception when detaching unattached sources from NotImplementedError to \ 
stripe.error.InvalidRequestError
   2017-10-12 10:06:48 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-stripe: update to 1.67.0

1.67.0:
* Rename source `delete` to `detach` (and deprecate the former)
   2017-10-10 14:23:24 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-stripe: update to 1.66.0

1.66.0:
* Support length reads on list objects
   2017-09-16 21:27:31 by Thomas Klausner | Files touched by this commit (372)
Log message:
Reset maintainer