Skip to main content

pycnb

Project description

PyCNB

Twisted protocol for Czech National Bank daily rates.

Usage

>>> from pycnb import EUR
>>> EUR
Decimal('25.260')

You can use any currency identificator which is published by CNB instead of the EUR.

Also you can just run:

$ pycnb
('USD', Decimal('19.279'))
('EUR', Decimal('25.260'))

which is hardcoded, but trivial to fix

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

pycnb-0.0.3.tar.gz (2.4 kB view hashes)

Uploaded Source

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