
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
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.
You can install Binypt using pip
:
pip install binypt-lib
Here's a brief overview of how to use Binypt:
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 to this project are welcome. Feel free to submit bug reports, feature requests or pull requests!
To deep dive in on how this library functions, please refer to the documentation
FAQs
Library to download data charts from Binance
We found that binypt-lib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.