{ "info": { "author": "Justin Bronder", "author_email": "jsbronder@cold-front.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: AsyncIO", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=============================================================\nStripe API bindings for Python 3.5+ using asyncio and aiohttp\n=============================================================\n\n.. image:: https://travis-ci.org/jsbronder/asyncio_stripe.svg?branch=master\n :target: https://travis-ci.org/jsbronder/asyncio_stripe\n\nUnmaintained\n------------\nThis project is no longer actively maintained.\n\nIntroduction\n------------\nAs the header says, this is a wrapper around the Stripe API using asyncio_ and\naiohttp_. Stripe data is modeled using frozen objects built using attrs_.\nRequired arguments to API calls are explicitly listed while optional arguments\nare simply keyword arguments.\n\nInstallation\n------------\nasyncio_stripe be installed via pip or by simply running the included\n``setup.py`` script::\n\n pip install asyncio_stripe\n # OR\n python setup.py install --root --record installed_files.txt\n\nExamples\n--------\n\nCreate a Client:\n\n.. code-block:: python\n\n import aiohttp\n import asyncio_stripe\n\n session = aiohttp.ClientSession()\n client = asyncio_stripe.Client(session, 'sk_test_aabbcc')\n\nAuthorize then capture $1.00 from a Customer's default card:\n\n.. code-block:: python\n\n auth = await client.create_charge(\n amount=100,\n currency='usd',\n description='Creating a test charge',\n customer=customer_id,\n capture=False)\n\n charge = await client.capture_charge(charge.id)\n\nCapture funds using a token:\n\n.. code-block:: python\n\n charge = await client.create_charge(\n amount=100,\n currency='usd',\n description='Capturing with a token',\n source='tok_aabbcc')\n\nCreate, retrieve and pretty print a customer:\n\n.. code-block:: python\n\n import pprint\n import attr\n\n customer = await client.create_customer(\n email='new_user@invalid',\n source='tok_aabbcc')\n\n ret_customer = await client.retrieve_customer(\n customer.id)\n\n customers = await client.list_customers(limit=1)\n\n assert(customer == ret_customer == customers[0])\n pprint.pprint(attr.asdict(customer))\n\nThanks\n------\nWhile this project represents the company in no way, thanks to Kuv\u00e9e\n(https://kuvee.com) for generously sponsoring some of the time I've spent in\ndevelopment.\n\n\n.. _asyncio: https://docs.python.org/3/library/asyncio.html\n.. _aiohttp: https://github.com/aio-libs/aiohttp\n.. _attrs: https://github.com/python-attrs/attrs", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/jsbronder/asyncio_stripe", "keywords": "asyncio stripe api aiostripe", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "asyncio-stripe", "package_url": "https://pypi.org/project/asyncio-stripe/", "platform": "", "project_url": "https://pypi.org/project/asyncio-stripe/", "project_urls": { "Homepage": "http://github.com/jsbronder/asyncio_stripe" }, "release_url": "https://pypi.org/project/asyncio-stripe/0.2.2/", "requires_dist": null, "requires_python": "", "summary": "Asyncio Stripe API bindings", "version": "0.2.2" }, "last_serial": 5852323, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "18edc72a1b4414adccef79039de06dfd", "sha256": "199d03ec76637ee0c50daca681a12a8f9419a972d3e2962bb2d067203bcf1527" }, "downloads": -1, "filename": "asyncio_stripe-0.1.0.tar.gz", "has_sig": false, "md5_digest": "18edc72a1b4414adccef79039de06dfd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8891, "upload_time": "2017-04-15T17:29:26", "url": "https://files.pythonhosted.org/packages/2e/58/33086ab80e7feb3423d26e040d1a43c32a693845f4b9d1d84f1f501db110/asyncio_stripe-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f01003127d1e37be06ad3df0f5ab0df1", "sha256": "8141aec7b0c60486dff483d0bd7ccfce71872b813648200d4b1cb85cbd01eb6e" }, "downloads": -1, "filename": "asyncio_stripe-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f01003127d1e37be06ad3df0f5ab0df1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9431, "upload_time": "2017-04-20T00:13:30", "url": "https://files.pythonhosted.org/packages/f9/8a/c4d944905239ce7961677edaae477a23e2bcca9f6fbf32c0f3fb0e400f60/asyncio_stripe-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "0b9c091eca507800ac7fc8111446d17e", "sha256": "00a5f96d937e8520b893128e7f23a589cd7b4a9cedb993c9b66cba36b4b5217c" }, "downloads": -1, "filename": "asyncio_stripe-0.1.2.tar.gz", "has_sig": false, "md5_digest": "0b9c091eca507800ac7fc8111446d17e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9467, "upload_time": "2017-06-02T16:13:22", "url": "https://files.pythonhosted.org/packages/ff/70/95e643894583da22958b04c4bf4543992ee4988cb7007a8584f021141638/asyncio_stripe-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "19f768a516b0196136ad726d420ce5da", "sha256": "7584c5e1241d5662cc1b9e5268a133ea17428e1217393a8ca005fe858827d133" }, "downloads": -1, "filename": "asyncio_stripe-0.2.0.tar.gz", "has_sig": false, "md5_digest": "19f768a516b0196136ad726d420ce5da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9920, "upload_time": "2017-08-31T20:43:42", "url": "https://files.pythonhosted.org/packages/81/ab/8ffcadc7d02a3abff887dd10c30e80ff730dc352f05f1de10ab8af2c468b/asyncio_stripe-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "7a6fc08a22be6907f752bdbea3b727fc", "sha256": "5e101a8d7664564d9f9dfe022bbbcf91c43c81f45d1530c4e5e506cfaa314f98" }, "downloads": -1, "filename": "asyncio_stripe-0.2.1.tar.gz", "has_sig": false, "md5_digest": "7a6fc08a22be6907f752bdbea3b727fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10043, "upload_time": "2018-02-11T23:06:03", "url": "https://files.pythonhosted.org/packages/07/6d/36ffe834278dcbbd8ab592c585cb1e0a0f6d97ca923bcdcb66f2e76cf09c/asyncio_stripe-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "99671fda5733cb2e956aaa77dcf984a4", "sha256": "a68466fd48b2a170ed741a76c7420a45b2a45c0bd8bbce19a4522d050d7ac192" }, "downloads": -1, "filename": "asyncio_stripe-0.2.2.tar.gz", "has_sig": false, "md5_digest": "99671fda5733cb2e956aaa77dcf984a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10293, "upload_time": "2019-09-18T20:16:00", "url": "https://files.pythonhosted.org/packages/99/8c/4bbf01cfd6b4c36886fdcc293fab0adde9f120dae00176f0d36f5786f89a/asyncio_stripe-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "99671fda5733cb2e956aaa77dcf984a4", "sha256": "a68466fd48b2a170ed741a76c7420a45b2a45c0bd8bbce19a4522d050d7ac192" }, "downloads": -1, "filename": "asyncio_stripe-0.2.2.tar.gz", "has_sig": false, "md5_digest": "99671fda5733cb2e956aaa77dcf984a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10293, "upload_time": "2019-09-18T20:16:00", "url": "https://files.pythonhosted.org/packages/99/8c/4bbf01cfd6b4c36886fdcc293fab0adde9f120dae00176f0d36f5786f89a/asyncio_stripe-0.2.2.tar.gz" } ] }