venezuela-dollar-price


Namevenezuela-dollar-price JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/Carlososuna11/Venezuela-dollar-price
SummaryA package to get the dollar price in Venezuela
upload_time2023-09-13 03:53:26
maintainer
docs_urlNone
authorCarlos Osuna
requires_python>=3.8
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Venezuela Dollar Price

`venezuela_dollar_price` is a Python library created to retrieve the current dollar price in Venezuela. It is simple to use and requires minimal setup.

## Features

- Get the latest dollar price in Venezuelan Bolivars.
- Retrieve historical dollar prices.
- User-friendly and intuitive to use.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install `venezuela-dollar-price`.

```bash
pip install venezuela-dollar-price
```

## Usage

```python
import venezuela_dollar_price as vdp

# get the latest dollar price (BCV)
latest_price = vdp.get_latest_price("bcv")
print(latest_price.rate)

# get the latest dollar price ("binance")
latest_price = vdp.get_latest_price("binance")
print(latest_price.rate)

# get the latest dollar price ("parallel")
latest_price = vdp.get_latest_price("prom_epv")
print(latest_price.rate)
# get historical prices of the dollar (BCV)
# Note: only works for the BCV and EPV
# minimum date: 2020-12-14
historical_prices = vdp.get_historical_prices(start_date="2020-01-01", end_date="2023-01-31")
for price in historical_prices:
    print(price.date, price.rate)
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Carlososuna11/Venezuela-dollar-price",
    "name": "venezuela-dollar-price",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Carlos Osuna",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/cc/a8/a9fcda6477eed6300af04a0ae48f39a604f0180bc7c295fc0708ebb7a352/venezuela-dollar-price-0.1.0.tar.gz",
    "platform": null,
    "description": "# Venezuela Dollar Price\n\n`venezuela_dollar_price` is a Python library created to retrieve the current dollar price in Venezuela. It is simple to use and requires minimal setup.\n\n## Features\n\n- Get the latest dollar price in Venezuelan Bolivars.\n- Retrieve historical dollar prices.\n- User-friendly and intuitive to use.\n\n## Installation\n\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install `venezuela-dollar-price`.\n\n```bash\npip install venezuela-dollar-price\n```\n\n## Usage\n\n```python\nimport venezuela_dollar_price as vdp\n\n# get the latest dollar price (BCV)\nlatest_price = vdp.get_latest_price(\"bcv\")\nprint(latest_price.rate)\n\n# get the latest dollar price (\"binance\")\nlatest_price = vdp.get_latest_price(\"binance\")\nprint(latest_price.rate)\n\n# get the latest dollar price (\"parallel\")\nlatest_price = vdp.get_latest_price(\"prom_epv\")\nprint(latest_price.rate)\n# get historical prices of the dollar (BCV)\n# Note: only works for the BCV and EPV\n# minimum date: 2020-12-14\nhistorical_prices = vdp.get_historical_prices(start_date=\"2020-01-01\", end_date=\"2023-01-31\")\nfor price in historical_prices:\n    print(price.date, price.rate)\n```\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\nPlease make sure to update tests as appropriate.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A package to get the dollar price in Venezuela",
    "version": "0.1.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/Carlososuna11/Venezuela-dollar-price/issues",
        "Homepage": "https://github.com/Carlososuna11/Venezuela-dollar-price",
        "repository": "https://github.com/Carlososuna11/Venezuela-dollar-price"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d2799423a48feb92c20aec4b2fdccb6c54956b86b40c34dc71cfdd54e558583e",
                "md5": "9b50b7391f8cd7263a9393544e1a8f6c",
                "sha256": "c31491324ade6b907b1fc9a9580ec2e83f185fa69d38951b8dc36e2332ea1164"
            },
            "downloads": -1,
            "filename": "venezuela_dollar_price-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9b50b7391f8cd7263a9393544e1a8f6c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 5187,
            "upload_time": "2023-09-13T03:53:24",
            "upload_time_iso_8601": "2023-09-13T03:53:24.493156Z",
            "url": "https://files.pythonhosted.org/packages/d2/79/9423a48feb92c20aec4b2fdccb6c54956b86b40c34dc71cfdd54e558583e/venezuela_dollar_price-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cca8a9fcda6477eed6300af04a0ae48f39a604f0180bc7c295fc0708ebb7a352",
                "md5": "f921b440bc67e07ba62a4302867fb734",
                "sha256": "3ebe540acb53b5ab891ef8c95a66b2d7d460771c99160051db4c169d662c1157"
            },
            "downloads": -1,
            "filename": "venezuela-dollar-price-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "f921b440bc67e07ba62a4302867fb734",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 4887,
            "upload_time": "2023-09-13T03:53:26",
            "upload_time_iso_8601": "2023-09-13T03:53:26.319984Z",
            "url": "https://files.pythonhosted.org/packages/cc/a8/a9fcda6477eed6300af04a0ae48f39a604f0180bc7c295fc0708ebb7a352/venezuela-dollar-price-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-13 03:53:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Carlososuna11",
    "github_project": "Venezuela-dollar-price",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "venezuela-dollar-price"
}
        
Elapsed time: 0.12411s