# Binypt: A Python Library for Cryptocurrency Data Retrieval and Processing
[![PyPI - Version](https://img.shields.io/pypi/v/binypt-lib?color=pink)](https://github.com/Tejaromalius/Binypt-lib/blob/main/pyproject.toml)
[![PyPI - License](https://img.shields.io/pypi/l/binypt-lib?color=blue)](https://github.com/Tejaromalius/Binypt-lib/blob/main/LICENSE)
[![PyPI - Status](https://img.shields.io/pypi/status/binypt-lib?color=%20%23239b56%20)](https://pypi.org/project/binypt-lib/)
## Overview
**Binypt** is a Python library designed for retrieving historical cryptocurrency price data from the Binance exchange. It allows you to specify trading pairs, time intervals, and date ranges to download and work with historical price data efficiently. This library is a helpful tool for anyone interested in analyzing or visualizing cryptocurrency price trends.
## Features
- Retrieve historical cryptocurrency price data from Binance.
- Specify trading pairs, time intervals, and date ranges.
- Export data in various formats such as CSV, Excel, or Pickle.
- Added human readable dates to the chart.
## Installation
You can install Binypt using `pip`:
```bash
pip install binypt-lib
```
## Usage
Here's a brief overview of how to use Binypt:
```python
from binypt import Binypt
# Initialize Binypt
binypt = Binypt()
# Set data retrieval parameters
binypt.set_arguments("BTCUSDT", "1h", "01/09/2023-00:00:00", "10/09/2023-23:59:59")
# Fetch cryptocurrency price data
binypt.retrieve_data()
# Export data to a CSV file
binypt.export("crypto_data.csv")
# Add human-readable timestamps
binypt.add_human_readable_time()
# Show progress bar and log messages
binypt.set_verbosity(show_bar=True, show_log=True)
# Access the data as a Pandas DataFrame
price_data = binypt.get_data()
# You can now perform various data analysis or visualization tasks with the price_data DataFrame
```
## Contributions
Contributions to this project are welcome. Feel free to submit bug reports, feature requests or pull requests!
## Documentation
To deep dive in on how this library functions, please refer to the [documentation](DOCUMENTATION.md)
---
[![Generated by ChatGPT](https://img.shields.io/badge/Generated%20by-ChatGPT-45b39d.svg)](https://chat.openai.com/)
Raw data
{
"_id": null,
"home_page": "https://github.com/Tejaromalius/Binypt-lib",
"name": "binypt-lib",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10,<4.0",
"maintainer_email": "",
"keywords": "crypto,binance",
"author": "ilia tayefi",
"author_email": "tayefi.ilia@protonmail.com",
"download_url": "https://files.pythonhosted.org/packages/a4/1e/6571117800e028bd575a9fcdc6e4a10d265f1b23d5b64ee3d0beae8bf16b/binypt_lib-2.3.7.tar.gz",
"platform": null,
"description": "# Binypt: A Python Library for Cryptocurrency Data Retrieval and Processing\n\n[![PyPI - Version](https://img.shields.io/pypi/v/binypt-lib?color=pink)](https://github.com/Tejaromalius/Binypt-lib/blob/main/pyproject.toml)\n[![PyPI - License](https://img.shields.io/pypi/l/binypt-lib?color=blue)](https://github.com/Tejaromalius/Binypt-lib/blob/main/LICENSE)\n[![PyPI - Status](https://img.shields.io/pypi/status/binypt-lib?color=%20%23239b56%20)](https://pypi.org/project/binypt-lib/)\n\n## Overview\n\n**Binypt** is a Python library designed for retrieving historical cryptocurrency price data from the Binance exchange. It allows you to specify trading pairs, time intervals, and date ranges to download and work with historical price data efficiently. This library is a helpful tool for anyone interested in analyzing or visualizing cryptocurrency price trends.\n\n## Features\n\n- Retrieve historical cryptocurrency price data from Binance.\n- Specify trading pairs, time intervals, and date ranges.\n- Export data in various formats such as CSV, Excel, or Pickle.\n- Added human readable dates to the chart.\n\n## Installation\n\nYou can install Binypt using `pip`:\n\n```bash\npip install binypt-lib\n```\n\n## Usage\n\nHere's a brief overview of how to use Binypt:\n\n```python\nfrom binypt import Binypt\n\n# Initialize Binypt\nbinypt = Binypt()\n\n# Set data retrieval parameters\nbinypt.set_arguments(\"BTCUSDT\", \"1h\", \"01/09/2023-00:00:00\", \"10/09/2023-23:59:59\")\n\n# Fetch cryptocurrency price data\nbinypt.retrieve_data()\n\n# Export data to a CSV file\nbinypt.export(\"crypto_data.csv\")\n\n# Add human-readable timestamps\nbinypt.add_human_readable_time()\n\n# Show progress bar and log messages\nbinypt.set_verbosity(show_bar=True, show_log=True)\n\n# Access the data as a Pandas DataFrame\nprice_data = binypt.get_data()\n\n# You can now perform various data analysis or visualization tasks with the price_data DataFrame\n```\n\n## Contributions\n\nContributions to this project are welcome. Feel free to submit bug reports, feature requests or pull requests!\n\n## Documentation\n\nTo deep dive in on how this library functions, please refer to the [documentation](DOCUMENTATION.md)\n\n---\n\n[![Generated by ChatGPT](https://img.shields.io/badge/Generated%20by-ChatGPT-45b39d.svg)](https://chat.openai.com/)",
"bugtrack_url": null,
"license": "MIT",
"summary": "Library to download data charts from Binance",
"version": "2.3.7",
"project_urls": {
"Homepage": "https://github.com/Tejaromalius/Binypt-lib",
"Repository": "https://github.com/Tejaromalius/Binypt-lib"
},
"split_keywords": [
"crypto",
"binance"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "430c1bf16e7afeee3ac5cabdd0512b2d70ed165aa68e7ff098e50e15104b159e",
"md5": "aa314079c5341c047e13e9ccbd7defd3",
"sha256": "84b6a0ddf2ee47e7846c6d771fa92e84944a17c061ef3fecfc1f9f5fad2b0687"
},
"downloads": -1,
"filename": "binypt_lib-2.3.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "aa314079c5341c047e13e9ccbd7defd3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10,<4.0",
"size": 20414,
"upload_time": "2024-01-02T11:57:09",
"upload_time_iso_8601": "2024-01-02T11:57:09.594075Z",
"url": "https://files.pythonhosted.org/packages/43/0c/1bf16e7afeee3ac5cabdd0512b2d70ed165aa68e7ff098e50e15104b159e/binypt_lib-2.3.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a41e6571117800e028bd575a9fcdc6e4a10d265f1b23d5b64ee3d0beae8bf16b",
"md5": "228e130c7798959319174c86adc1915e",
"sha256": "b77659221e03fee4be8355a78549ccd7942e3e3469ac74a58962fc816e31ff38"
},
"downloads": -1,
"filename": "binypt_lib-2.3.7.tar.gz",
"has_sig": false,
"md5_digest": "228e130c7798959319174c86adc1915e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10,<4.0",
"size": 18831,
"upload_time": "2024-01-02T11:57:11",
"upload_time_iso_8601": "2024-01-02T11:57:11.682404Z",
"url": "https://files.pythonhosted.org/packages/a4/1e/6571117800e028bd575a9fcdc6e4a10d265f1b23d5b64ee3d0beae8bf16b/binypt_lib-2.3.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-02 11:57:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Tejaromalius",
"github_project": "Binypt-lib",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "binypt-lib"
}