exchangerate-client


Nameexchangerate-client JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttps://github.com/dannyp11/exchangerate-python-client
SummaryUnofficial exchangerate.host python client library
upload_time2023-10-13 07:34:48
maintainer
docs_urlNone
authorDaniel Pham
requires_python>=3.6
license
keywords exchangerate.host exchangerate client
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Introduction
This is unofficial [exchangerate.host](https://github.com/Formicka/exchangerate.host) python client library.

exchangerate.host is a simple and lightweight free service for current and historical foreign exchange rates & crypto exchange rates.

# Getting started

## Installation
- Using pip `pip install exchangerate-client`

## Usage
- Get all currency symbols
```
import exchangerate
client = exchangerate.ExchangerateClient()
print(client.symbols())
```

- Get latest rates
```
import exchangerate
client = exchangerate.ExchangerateClient()
print(client.latest())
```

# Development guide
## Testing
This package uses `tox` to run testing automation against multiple python versions, to install and run tox, use

```
pip install tox
tox
```

## Local development
- Install to local env with `pip install --editable .`
- Then this will work `python -c "import exchangerate"`

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/dannyp11/exchangerate-python-client",
    "name": "exchangerate-client",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "exchangerate.host,exchangerate,client",
    "author": "Daniel Pham",
    "author_email": "tdpham1105@yahoo.com",
    "download_url": "https://files.pythonhosted.org/packages/4a/e8/a7b46e3ca2998e76fcdc02a5f4f587fd4fb81734c581af35101ebdacf8a3/exchangerate-client-0.2.0.tar.gz",
    "platform": null,
    "description": "# Introduction\nThis is unofficial [exchangerate.host](https://github.com/Formicka/exchangerate.host) python client library.\n\nexchangerate.host is a simple and lightweight free service for current and historical foreign exchange rates & crypto exchange rates.\n\n# Getting started\n\n## Installation\n- Using pip `pip install exchangerate-client`\n\n## Usage\n- Get all currency symbols\n```\nimport exchangerate\nclient = exchangerate.ExchangerateClient()\nprint(client.symbols())\n```\n\n- Get latest rates\n```\nimport exchangerate\nclient = exchangerate.ExchangerateClient()\nprint(client.latest())\n```\n\n# Development guide\n## Testing\nThis package uses `tox` to run testing automation against multiple python versions, to install and run tox, use\n\n```\npip install tox\ntox\n```\n\n## Local development\n- Install to local env with `pip install --editable .`\n- Then this will work `python -c \"import exchangerate\"`\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Unofficial exchangerate.host python client library",
    "version": "0.2.0",
    "project_urls": {
        "Bug Reports": "https://github.com/dannyp11/exchangerate-python-client/issues",
        "Documentation": "https://github.com/dannyp11/exchangerate-python-client",
        "Homepage": "https://github.com/dannyp11/exchangerate-python-client",
        "Source Code": "https://github.com/dannyp11/exchangerate-python-client"
    },
    "split_keywords": [
        "exchangerate.host",
        "exchangerate",
        "client"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c7690fce0b037609a8fefb8e20e43fc58dbacf13ef2ce71c18b4e77de6eac162",
                "md5": "dcf6af6075b64c35353c2311b774ba5c",
                "sha256": "0b5cfee8eb54dd1cf4a8553302ac37b657d3d79440de7249851cb70f770b8113"
            },
            "downloads": -1,
            "filename": "exchangerate_client-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dcf6af6075b64c35353c2311b774ba5c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 4074,
            "upload_time": "2023-10-13T07:34:46",
            "upload_time_iso_8601": "2023-10-13T07:34:46.976916Z",
            "url": "https://files.pythonhosted.org/packages/c7/69/0fce0b037609a8fefb8e20e43fc58dbacf13ef2ce71c18b4e77de6eac162/exchangerate_client-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4ae8a7b46e3ca2998e76fcdc02a5f4f587fd4fb81734c581af35101ebdacf8a3",
                "md5": "096db07a8b0ee8e57e505c3068a13251",
                "sha256": "e54c270e05f937e21f376ca3d25c6f75537820eba7b0659d6f1709dcfe7eee1a"
            },
            "downloads": -1,
            "filename": "exchangerate-client-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "096db07a8b0ee8e57e505c3068a13251",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4157,
            "upload_time": "2023-10-13T07:34:48",
            "upload_time_iso_8601": "2023-10-13T07:34:48.377956Z",
            "url": "https://files.pythonhosted.org/packages/4a/e8/a7b46e3ca2998e76fcdc02a5f4f587fd4fb81734c581af35101ebdacf8a3/exchangerate-client-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-13 07:34:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dannyp11",
    "github_project": "exchangerate-python-client",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "exchangerate-client"
}
        
Elapsed time: 0.12483s