Skip to main content

Python global stock time

Project description

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")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygst-0.0.4.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

pygst-0.0.4-py2-none-any.whl (2.4 kB view details)

Uploaded Python 2

File details

Details for the file pygst-0.0.4.tar.gz.

File metadata

  • Download URL: pygst-0.0.4.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pygst-0.0.4.tar.gz
Algorithm Hash digest
SHA256 3366875d0544aa75bf91f76df85442ad8e5c830c987f8b1006af57653f017621
MD5 a9de755909fb775aa15f25f025e0752a
BLAKE2b-256 ad8a68c871cd9edce40e7c74c374518b3cf42fd90cc48176b79c8aaccfd6a6b4

See more details on using hashes here.

File details

Details for the file pygst-0.0.4-py2-none-any.whl.

File metadata

  • Download URL: pygst-0.0.4-py2-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 2
  • Uploaded using 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

File hashes

Hashes for pygst-0.0.4-py2-none-any.whl
Algorithm Hash digest
SHA256 951476b54da88b1d51930a90e24e021be3f6725b594189dd1060f49bc8be3363
MD5 202a90735f5ed43072008b77863b6f8a
BLAKE2b-256 00fdde21e1053b66dc2497e2274b526f59a5f5b1052e5ae10114c474eb1522eb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page