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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page