Skip to main content

Converts amounts of any (a lot!) currency to dollars.

This will use https://openexchangerates.org/ as a backend. It will cache the rates for you and pull in the new values hourly so your data will never be older than almost 2 hours in the worst case. For that, you will be able to use the free plan.

This is how you use it:

$ pip install dollars
$ export OXR_APP_ID=...  # Your freely achieved app id
$ ipython

In [1]: from dollars import dollar

In [2]: dollar('EUR', 5)
Out[2]: 5.271147845154761

Stop worrying, start converting!

Metadata

Release files for dollars 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dollars 0.2.0
File Size Uploaded
dollars-0.2.0.tar.gz 1.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dollars 0.2.0
File Interpreter ABI Platform
dollars-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.6 kB

Release files / dollars-0.2.0.tar.gz

Download URL dollars-0.2.0.tar.gz
Size 1.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2c06f03826a6b4c06260dd56b3d4d943181c500f9c195d19321c1f65bb8eb439
BLAKE2b-256 checksum
How to use checksums
88ded6ca28a08a4696dd97aa675a23be5811551c1a4516a5d713b56b5f95115d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / dollars-0.2.0-py3-none-any.whl

Download URL dollars-0.2.0-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
449e4cc5ce973bebbbdcb75c38df721600bffb6cf059fddc6076834bd857e29a
BLAKE2b-256 checksum
How to use checksums
20f76d395881f5ab1b00b88086128f47ef8f3e752f1db70ed25c6809fad9fd6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page