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.3
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.3.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pygst-0.0.3-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 4.3 kB
Release files / pygst-0.0.3.tar.gz
| Download URL | pygst-0.0.3.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2900defa8b656a59e7d019b9ff3a383b25af583082e18f1ee489d94b16f7434
|
|
BLAKE2b-256 checksum How to use checksums |
64243c4979c869a3a59cab1853b847cad288ef4c75f6d2ecd8aece347803958b
|
| 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.3-py2-none-any.whl
| Download URL | pygst-0.0.3-py2-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
65c407a0447ea44461cd175b40359ee85a6f3e56d500fcabaf61aa795f911e8a
|
|
BLAKE2b-256 checksum How to use checksums |
82f28103abe8c7c4f1fe8f009d8aa953c7baa3a675398734e4df194c09c60908
|
| 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
|