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.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 | |
|---|---|---|---|
| pygst-0.0.2.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pygst-0.0.2-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 4.3 kB
Release files / pygst-0.0.2.tar.gz
| Download URL | pygst-0.0.2.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd249dbae6d33ba5c11a541a5b24cc0bde46aa180f106c3bae9253284c46d05d
|
|
BLAKE2b-256 checksum How to use checksums |
6db0f3907aca0f1d589bc2eb190886c17d9c2f41f54dd819f48e61960df52101
|
| 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.2-py2-none-any.whl
| Download URL | pygst-0.0.2-py2-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
3051d3371d101f16a1914e9aa1f2f6bc825a3344f4478e051e04af8f5614c4b3
|
|
BLAKE2b-256 checksum How to use checksums |
9d23c148c19970c93a899c655700be8ead5c970ea844547d550b08c200bef3bc
|
| 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
|