Skip to main content

aioopenexchangerates

CI Status Documentation Status Test coverage percentage

uv Ruff pre-commit

PyPI Version Supported Python versions License


Documentation: https://aioopenexchangerates.readthedocs.io

Source Code: https://github.com/MartinHjelmare/aioopenexchangerates


Fetch rates from openexchangerates with aiohttp.

Installation

Install this via pip (or your favourite package manager):

pip install aioopenexchangerates

Usage

import asyncio

from aioopenexchangerates import Client, OpenExchangeRatesError


async def main() -> None:
    """Run main."""
    async with Client("your_api_key") as client:
        try:
            result = await client.get_latest()
        except OpenExchangeRatesError as err:
            print(err)
        else:
            print(result)


if __name__ == "__main__":
    asyncio.run(main())

Credits

Copier

This package was created with Copier and the browniebroke/pypackage-template project template.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aioopenexchangerates-0.7.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aioopenexchangerates-0.7.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file aioopenexchangerates-0.7.0.tar.gz.

File metadata

  • Download URL: aioopenexchangerates-0.7.0.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aioopenexchangerates-0.7.0.tar.gz
Algorithm Hash digest
SHA256 528cdb3e79d6feb264611cfe4efdfe1237d236005b2e302ced83c05966d8880e
MD5 9ca3c93c1cc4f002c08f044e9af8d677
BLAKE2b-256 8bff5037db925d5e179fa140edf6d18c08f22f0f42d929c46f896b33da1790d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for aioopenexchangerates-0.7.0.tar.gz:

Publisher: ci.yml on MartinHjelmare/aioopenexchangerates

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aioopenexchangerates-0.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aioopenexchangerates-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b3da15c8308376862561ffae6a69c099ffd4d8efc1a8ba257b3a4ee66442ff0
MD5 da0e14d3ac706fb7fe3d85c6ee9a25d1
BLAKE2b-256 95313d5ab9bfb2b484fb536bf3404f3b0ecba869ed70be267fb0ca42e212935e

See more details on using hashes here.

Provenance

The following attestation bundles were made for aioopenexchangerates-0.7.0-py3-none-any.whl:

Publisher: ci.yml on MartinHjelmare/aioopenexchangerates

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 files

0.6.21

2 files

0.6.20

2 files

0.6.19

2 files

0.6.18

2 files

0.6.17

2 files

0.6.16

2 files

0.6.15

2 files

0.6.14

2 files

0.6.13

2 files

0.6.12

2 files

0.6.11

2 files

0.6.10

2 files

0.6.9

2 files

0.6.8

2 files

0.6.7

2 files

0.6.6

2 files

0.6.5

2 files

0.6.4

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.0

2 files

0.4.16

2 files

0.4.15

2 files

0.4.14

2 files

0.4.13

2 files

0.4.12

2 files

0.4.11

2 files

0.4.10

2 files

0.4.9

2 files

0.4.8

2 files

0.4.7

2 files

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page