Historic Crypto
An open source Python library for scraping Historical Cryptocurrency data.
This library scrapes coinmarketcap.com to collect historical Cryptocurrency data, returning a Pandas DataFrame.
Installation
From Python:
pip install Historic-Crypto
from Historic_Crypto import HistoricalData
Usage
If you are unsure of the correct 'ticker' to scrape:
pip install Historic-Crypto
from Historic_Crypto import HistoricalData
HistoricalData(start_date = '', ticker = '').find_all_tickers()
Returns a Pandas DataFrame containing the columns "Name" and "Symbol", which indicate the Name - Symbol pairs of available cryptocurrencies. The "Symbol" is required as the corresponding 'ticker' input argument of other class methods:
pip install Historic-Crypto
from Historic_Crypto import HistoricalData
dataset = HistoricalData(start_date = '2013-06-06',
end_date = '2015-01-01',
ticker = 'BTC').retrieve_data()
Returns a Pandas DataFrame 'dataset', which contains the Open, Close, High, Low, Volume and Market Capitalisation of Bitcoin between 2013-06-06 and 2015-01-01, indexed by Date.
pip install Historic-Crypto
from Historic_Crypto import HistoricalData
dataset = HistoricalData(start_date = '2013-06-06',
ticker = 'BTC').retrieve_data()
Returns a Pandas DataFrame 'dataset', which contains the Open, Close, High, Low, Volume and Market Capitalisation of Bitcoin between 2013-06-06 and today, indexed by Date.
Input Arguments
| Argument | Description |
|---|---|
| ticker | information for which the user would like to return (str). |
| start_date | a string in the format YYYY-MM-DD (str). [optional] |
| end_date | a string in the format YYYY-MM-DD (str). [optional] |
Metadata
Release files for Historic-Crypto 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| Historic_Crypto-0.0.1.tar.gz | 3.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Historic_Crypto-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / Historic_Crypto-0.0.1.tar.gz
| Download URL | Historic_Crypto-0.0.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37123fd7d8bd36bff11969673fabc8a713f338829a5820e0abbed11c64c2c3c0
|
|
BLAKE2b-256 checksum How to use checksums |
101d4b4a6dfcd19a70a333725683feac259ad9bff675dfabb021a941c466ff07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Release files / Historic_Crypto-0.0.1-py3-none-any.whl
| Download URL | Historic_Crypto-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef8db79616176fe89261e28ef6dd5d560747e38f684f878628ff78472feac0b0
|
|
BLAKE2b-256 checksum How to use checksums |
0b4236bfff1d19b0148dcc53d4fb9837046348c00dc15d3afaab8800e917775c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Security for Historic-Crypto 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.