bank-of-ghana-fx-rates


Namebank-of-ghana-fx-rates JSON
Version 0.1.10 PyPI version JSON
download
home_pagehttps://github.com/donwany/bank-of-ghana-fx-rates.git
SummaryA python client library used to extract the exchange rates of Bank of Ghana into CSV
upload_time2023-07-14 02:09:33
maintainer
docs_urlNone
authorTheophilus Siameh
requires_python>=3.5
licenseMIT License
keywords bank of ghana ghana ghana api bank of ghana exchange rates government of ghana finance apis
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![Python 3.7, 3.8, 3.9](https://img.shields.io/badge/Python-3.7%2C%203.8%2C%203.9-3776ab.svg?maxAge=2592000)
[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)

### Bank of Ghana Exchange Rate Python Library
  A simple unofficial python package to scrape data bank of Ghana.
  Affiliated to [GhanaNews-Scraper](https://pypi.org/project/ghananews-scraper/) and 
  [GhanaShops-Scraper](https://pypi.org/project/ghanashops-scraper/)

### Overview
The unofficial Python API client library for Bank of Ghana allows individuals to pull historical and real-time exchange rates data using the Python programming language. 
Learn more by visiting [BoG](https://www.bog.gov.gh/treasury-and-the-markets/historical-interbank-fx-rates/)


### Example Google Colab Notebook
   Click Here: [![Google Colab Notebook](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1zZUIyp9zBhwL5CqHS3Ggf5vJCr_yTYw0?usp=sharing)


### Installation
```python
pip install bank-of-ghana-fx-rates
```
### Python Usage:
```python
from bog.scraper import GhanaRates

urls = [
    'https://www.bog.gov.gh/treasury-and-the-markets/historical-interbank-fx-rates/',
    'https://www.bog.gov.gh/treasury-and-the-markets/treasury-bill-rates/',
]
for page_url in urls:
    print(f"Downloading from : {page_url}")
    fx = GhanaRates(url = page_url)
    # download data
    fx.download()

    # get info
    fx.get_info()

```

### CLI Usage:
```shell
bog-fx --url 'https://www.bog.gov.gh/treasury-and-the-markets/historical-interbank-fx-rates/'
```

BuyMeCoffee
-----------
[![Build](https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png)](https://www.buymeacoffee.com/theodondrew)

Credits
-------
-  `Theophilus Siameh`
<div>
    <a href="https://twitter.com/tsiameh"><img src="https://img.shields.io/twitter/follow/tsiameh?color=blue&logo=twitter&style=flat" alt="tsiameh twitter"></a>
</div>


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/donwany/bank-of-ghana-fx-rates.git",
    "name": "bank-of-ghana-fx-rates",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.5",
    "maintainer_email": "",
    "keywords": "Bank of Ghana,Ghana,Ghana API,Bank of Ghana Exchange Rates,government of Ghana,finance,APIs",
    "author": "Theophilus Siameh",
    "author_email": "theodondre@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/7d/e5/06acec99884e66e93782b004570bdf80630ad448c9b66661d5800945485c/bank-of-ghana-fx-rates-0.1.10.tar.gz",
    "platform": "any",
    "description": "![Python 3.7, 3.8, 3.9](https://img.shields.io/badge/Python-3.7%2C%203.8%2C%203.9-3776ab.svg?maxAge=2592000)\n[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)\n\n### Bank of Ghana Exchange Rate Python Library\n  A simple unofficial python package to scrape data bank of Ghana.\n  Affiliated to [GhanaNews-Scraper](https://pypi.org/project/ghananews-scraper/) and \n  [GhanaShops-Scraper](https://pypi.org/project/ghanashops-scraper/)\n\n### Overview\nThe unofficial Python API client library for Bank of Ghana allows individuals to pull historical and real-time exchange rates data using the Python programming language. \nLearn more by visiting [BoG](https://www.bog.gov.gh/treasury-and-the-markets/historical-interbank-fx-rates/)\n\n\n### Example Google Colab Notebook\n   Click Here: [![Google Colab Notebook](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1zZUIyp9zBhwL5CqHS3Ggf5vJCr_yTYw0?usp=sharing)\n\n\n### Installation\n```python\npip install bank-of-ghana-fx-rates\n```\n### Python Usage:\n```python\nfrom bog.scraper import GhanaRates\n\nurls = [\n    'https://www.bog.gov.gh/treasury-and-the-markets/historical-interbank-fx-rates/',\n    'https://www.bog.gov.gh/treasury-and-the-markets/treasury-bill-rates/',\n]\nfor page_url in urls:\n    print(f\"Downloading from : {page_url}\")\n    fx = GhanaRates(url = page_url)\n    # download data\n    fx.download()\n\n    # get info\n    fx.get_info()\n\n```\n\n### CLI Usage:\n```shell\nbog-fx --url 'https://www.bog.gov.gh/treasury-and-the-markets/historical-interbank-fx-rates/'\n```\n\nBuyMeCoffee\n-----------\n[![Build](https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png)](https://www.buymeacoffee.com/theodondrew)\n\nCredits\n-------\n-  `Theophilus Siameh`\n<div>\n    <a href=\"https://twitter.com/tsiameh\"><img src=\"https://img.shields.io/twitter/follow/tsiameh?color=blue&logo=twitter&style=flat\" alt=\"tsiameh twitter\"></a>\n</div>\n\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "A python client library used to extract the exchange rates of Bank of Ghana into CSV",
    "version": "0.1.10",
    "project_urls": {
        "Homepage": "https://github.com/donwany/bank-of-ghana-fx-rates.git"
    },
    "split_keywords": [
        "bank of ghana",
        "ghana",
        "ghana api",
        "bank of ghana exchange rates",
        "government of ghana",
        "finance",
        "apis"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f1934b1baf1bb5c751e4cfe99e0914cc287d97afd277be1b190f03caa405a3fa",
                "md5": "3918ea66cdf1a49b2ba5ac38017bb41b",
                "sha256": "ffe375b76d339e7e10b18cd56e71fdc4917b204cca5a7bb473c71e4365bca02f"
            },
            "downloads": -1,
            "filename": "bank_of_ghana_fx_rates-0.1.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3918ea66cdf1a49b2ba5ac38017bb41b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.5",
            "size": 6656,
            "upload_time": "2023-07-14T02:09:31",
            "upload_time_iso_8601": "2023-07-14T02:09:31.727115Z",
            "url": "https://files.pythonhosted.org/packages/f1/93/4b1baf1bb5c751e4cfe99e0914cc287d97afd277be1b190f03caa405a3fa/bank_of_ghana_fx_rates-0.1.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7de506acec99884e66e93782b004570bdf80630ad448c9b66661d5800945485c",
                "md5": "00803e4844cfd6d80f5f7a60bee7ac51",
                "sha256": "b926e0c05e73a3aa2315eae0c52f1fc8cc3994ceb3bb3eb203a06ba92d0c3863"
            },
            "downloads": -1,
            "filename": "bank-of-ghana-fx-rates-0.1.10.tar.gz",
            "has_sig": false,
            "md5_digest": "00803e4844cfd6d80f5f7a60bee7ac51",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.5",
            "size": 6174,
            "upload_time": "2023-07-14T02:09:33",
            "upload_time_iso_8601": "2023-07-14T02:09:33.552796Z",
            "url": "https://files.pythonhosted.org/packages/7d/e5/06acec99884e66e93782b004570bdf80630ad448c9b66661d5800945485c/bank-of-ghana-fx-rates-0.1.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-14 02:09:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "donwany",
    "github_project": "bank-of-ghana-fx-rates",
    "github_not_found": true,
    "lcname": "bank-of-ghana-fx-rates"
}
        
Elapsed time: 0.11495s