yapywrangler
Update 05/31/2019:
This package was initally released over a year ago in the wake of Yahoo Finance updating their backend API. At that time, the only means of retrieving data required gnarly parsing and took noticable time to process. Because of this, on the initial release, a local file system for caching parts of retrieved files was used to cut down on processing time.
Since then, Yahoo Finance has updated their API resulting in much faster response times, and negating the need for the caching system.
Due to this, yapywrangler has been revised to include just its core request functionality.
Install:
pip install yapywrangler
Usage:
from yapywrangler import get_yahoo_data
stock_ticker = "MSFT"
data = get_yahoo_data(stock_ticker, start_date='2006-03-26', end_date='2019-05-29')
msft = pd.DataFrame(data)
Default Args
start_date: 2000-01-01
end_date: now
Data Format:
{
'timestamp': [1559136600, 1559223000, 1559321620],
'date': ['2019-05-29', '2019-05-30', '2019-05-31'],
'open': [29.0, 28.399999618530273, 27.56999969482422],
'high': [29.31999969482422, 28.559999465942383, 28.360000610351562],
'low': [27.729999542236328, 27.600000381469727, 27.5],
'close': [28.09000015258789, 28.030000686645508, 27.940000534057617],
'volume': [99969600, 65072900, 40126715]
}
Metadata
Release files for yapywrangler 1.2
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 | Actions |
|---|---|---|---|---|
| yapywrangler-1.2.tar.gz | 2.7 kB | Without provenance | Details for yapywrangler-1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yapywrangler-1.2-py3-none-any.whl | Python 3 | none | any | Details for yapywrangler-1.2-py3-none-any.whl |
Total release size: 6.6 kB
Release files / yapywrangler-1.2.tar.gz
| Download URL | yapywrangler-1.2.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
949597db8727716ac928d72a3be44461f377beb57892cc6881cc4b201708a19d
|
|
BLAKE2b-256 checksum How to use checksums |
3ca794bfcec6feb74eaa1ecb016caeec4bc9076d99a15e68407260104a1ef56c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
|
Release files / yapywrangler-1.2-py3-none-any.whl
| Download URL | yapywrangler-1.2-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91833e7fc46df07b4d728c7b83687ef57958e5fcceefaaa624b3b5e50b867358
|
|
BLAKE2b-256 checksum How to use checksums |
6a408400d3324b2dbaeaa5a742001249f7d9c1ce0d29670219763b3aa59443d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
|
Security for yapywrangler 1.2
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.