Metadata-Version: 2.1
Name: nameko-stripe
Version: 0.1.2
Summary: Stripe dependency for Nameko
Home-page: https://github.com/marcuspen/nameko-stripe
Author: marcuspen
Author-email: me@marcuspen.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Intended Audience :: Developers
Description-Content-Type: text/markdown
Provides-Extra: dev
Requires-Dist: nameko (>=2.0.0)
Requires-Dist: stripe (>=2.4.0)
Provides-Extra: dev
Requires-Dist: coverage (==4.5.1); extra == 'dev'
Requires-Dist: flake8 (==3.5.0); extra == 'dev'
Requires-Dist: pylint (==2.1.1); extra == 'dev'
Requires-Dist: pytest (==3.7.1); extra == 'dev'
Requires-Dist: requests (==2.19.1); extra == 'dev'

# nameko-stripe

Stripe dependency for Nameko

## Requirements

Python 3.4 - 3.7: Other versions may work but not supported.

## Installation

```
pip install nameko-stripe
```

## Usage

```python
from nameko.rpc import rpc
from nameko_stripe import Stripe


class MyService(object):
    name = "my_service"

    stripe = Stripe()

    @rpc
    def list_charges(self):
        return self.stripe.Charge.list()
```

## Setup

Simply add your api_key and log level into your config.yaml:

```yaml
AMQP_URI: 'amqp://guest:guest@localhost'
...

STRIPE:
  api_key: abc123
  log_level: info
```


