Stocklib
Stocklib is a library for getting stock data!
Installation:
pip install stocklib
Usage:
>>> from stocklib import get_stock_price
>>> get_stock_price(ticker="AAPl")
146.5
What's New?
Bug fixes and performance improvements
Stocklib now has ticker types. Ticker types are for getting new types of assets, like cryptocurrencies. To use a ticker type:
>>> from stocklib import get_stock_price
>>> get_stock_price(ticker="BTC", tickerType="crypto")
28942.4
>>> # NOTE: tickerType is defaulted to "stock"
NOTE: Stocklib is new, so there are very few features
Release files for stocklib 2.1.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 | |
|---|---|---|---|
| stocklib-2.1.1.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stocklib-2.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.5 kB
Release files / stocklib-2.1.1.tar.gz
| Download URL | stocklib-2.1.1.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7167a3d0c3addecc6f26210d55f999901ab181b726cbff2c1a24f515f3245eef
|
|
BLAKE2b-256 checksum How to use checksums |
682e47a5eb993f6628e2c145f315012584cf8b15d0768062a2be8c88a49f9e2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / stocklib-2.1.1-py3-none-any.whl
| Download URL | stocklib-2.1.1-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ad1d5fbbc753bea4a27e320b3312c88347a7891ee562b68c179240e93d8aff6
|
|
BLAKE2b-256 checksum How to use checksums |
3e9cda1c0cf94d562831d6fabb2f9147ae1514a17bc5dc815011e9958203a8c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|