Skip to main content

Get rates from the Polish National Bank (Narodowy Bank Polski)

Project description

pln_fx | Get Rates from the National Bank of Poland

So the ECB (European Central Bank) publishes PLN (Zloty) rates but for accounting purposes in Poland there is a requirement to use the rate directly from the Polish National Bank instead of the ECB. Therefore I wrote this library because I am sure other people will need this and I havent found any library. So I dit it.

How To Use

from pln_fx import PLN_FX

fx = PLN_FX()



year_rate = fx.get_year('2022')

print('\n year_rate: ', year_rate)



day_rate = fx.get_date('2022-01-03')

print('\n day_rate: ', day_rate)

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

pln_fx-0.0.9.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

pln_fx-0.0.9-py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 3

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