Skip to main content

Complete solution for extracting currency pair quotes data

Project description

currency-quote-wrapper: Complete solution for extracting currency pair quotes data

PyPI - Status

PyPI - Downloads

PyPI - Version

PyPI - Python Version

CI CD

Codecov

Project Stack

Python  Docker  Poetry  GitHub Actions  CodeCov  pypi  pandas  pytest 

Project description

  • Complete solution for extracting currency pair quotes data

Contributing

See the following docs:

Project Highlights:

  • Comprehensive Testing: Development of tests to ensure the quality and robustness of the code

  • Parameter Validation: Sending valid parameters based on the request data source itself, ensuring the integrity and accuracy of the information processed.

  • Configuration Management: Use of a configuration module to manage endpoints, retry times and number of attempts, providing flexibility and ease of adjustment.

How to use it

## Importing library
from currency_quote CurrencyQuote

# For get the last quote of one currency
client = CurrencyQuote(['USD-BRL'])
# or get quotes of multiple currencies
client = CurrencyQuote(['USD-BRL', 'EUR-BRL'])

# Get the last quote
last_quote = client.get_last_quote()
# Get history quote of currency
history_quote = client.get_history_quote(reference_date=20240626)

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

currency_quote-1.0.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

currency_quote-1.0.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file currency_quote-1.0.0.tar.gz.

File metadata

  • Download URL: currency_quote-1.0.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.6 Darwin/23.5.0

File hashes

Hashes for currency_quote-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e89679825ebb95afc076775e847c98058452fdb6d715f77b3db9ea30f0387a62
MD5 0281c79248ac40ec0912c6b73792bb06
BLAKE2b-256 3b6620e90e0be69394a0e56125bfde384323a2824fb00ec2dd5e29751634cdd7

See more details on using hashes here.

File details

Details for the file currency_quote-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: currency_quote-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.6 Darwin/23.5.0

File hashes

Hashes for currency_quote-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97fe3a865418488ece87541e9d8987b7c3aefafdb0d071c58d594c84a3333b46
MD5 8cc681bbe0ef8d25cc3317bf415ffd78
BLAKE2b-256 cc731688f6e67ab8e2f56f133c6e03e4b2ee17735546d06ba62e8d6d38c65dcb

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