Skip to main content

Stripe dependency for Nameko

Project description

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

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:

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

STRIPE:
  api_key: abc123
  log_level: info

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nameko-stripe-0.1.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

nameko_stripe-0.1.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file nameko-stripe-0.1.2.tar.gz.

File metadata

  • Download URL: nameko-stripe-0.1.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for nameko-stripe-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f6a49040474d22d155a670b59c0a71608e2d7877ebcc099f92beea1b77bf5bbf
MD5 716b5a9416fe7ff802c0d894c8313100
BLAKE2b-256 7138f70d02112dc65374f9abbe1d639508f6d5a222ce3109b119e06dcdeb2b92

See more details on using hashes here.

File details

Details for the file nameko_stripe-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: nameko_stripe-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for nameko_stripe-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bd325d60173b3d5f2bfdc9afedad3c8c4fd033b7f6cc27af82c1b7fc2943a3e9
MD5 e0b51738cc26c0cebdb63844fe1d6b70
BLAKE2b-256 ad5a0c2d8a1fd44a82f0d3f565045f824cf3abd69f51f955f12343675c028544

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page