pygst (Python global stock time)
This lib will tell you what is current market status of your stock.
Holiday is coming soon.
Example
from pygst import get_market_status, MarketStatus
status = get_market_status("AAPL")
if status == MarketStatus.PRE or status == MarketStatus.POST:
print("Extended time")
else:
print(f"{status.name.lower()} time")
Metadata
Release files for pygst 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pygst-0.0.4.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pygst-0.0.4-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 4.3 kB
Release files / pygst-0.0.4.tar.gz
| Download URL | pygst-0.0.4.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3366875d0544aa75bf91f76df85442ad8e5c830c987f8b1006af57653f017621
|
|
BLAKE2b-256 checksum How to use checksums |
ad8a68c871cd9edce40e7c74c374518b3cf42fd90cc48176b79c8aaccfd6a6b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / pygst-0.0.4-py2-none-any.whl
| Download URL | pygst-0.0.4-py2-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
951476b54da88b1d51930a90e24e021be3f6725b594189dd1060f49bc8be3363
|
|
BLAKE2b-256 checksum How to use checksums |
00fdde21e1053b66dc2497e2274b526f59a5f5b1052e5ae10114c474eb1522eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|