Skip to main content

CLI for the GP 300 Geopolitics Uncertainty Index

Project description

gp300

CLI for the GP 300 Geopolitics Uncertainty Index — a real-time index tracking geopolitical uncertainty using prediction market data from Polymarket.

Install

pip install gp300

Usage

# Current index value
gp300

# Historical data (1D, 1W, 1M, 3M, YTD, 1Y, MAX)
gp300 history 1W
gp300 history MAX --limit 10

# List constituents
gp300 constituents
gp300 constituents --top 10 --sort entropy

# JSON output (for piping to jq, scripts, etc.)
gp300 current --json
gp300 constituents --json

Commands

Command Description
gp300 Show current index value (default)
gp300 current Same as bare gp300
gp300 history [RANGE] Historical data. Options: --limit N
gp300 constituents List constituents. Options: --top N, --sort [weight|entropy|volume|name]

All commands support --json for raw JSON output and -h for help.

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

gp300-0.1.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gp300-0.1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file gp300-0.1.1.tar.gz.

File metadata

  • Download URL: gp300-0.1.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for gp300-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7f4621990045c1f341c549a53b3742d9e27ddaa893cca64138ab48803ece1769
MD5 31a640fbdd3f7e834b55a455f358080e
BLAKE2b-256 36f8d2ad37832311bc7003e6be7726a9ae462462a5063886d4a401d82547dc32

See more details on using hashes here.

File details

Details for the file gp300-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gp300-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for gp300-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 975dcc94567cd3931103a5c49b18062755e8d6d2b3d0b12625987e09798d50fc
MD5 7b3d58f4e031aeeb599c4efdbc6a7faf
BLAKE2b-256 f264fc2899fb92e3cdeda1f8bc1d0aa2f779b9fad8adf6a4fc14a710218d16c4

See more details on using hashes here.

Supported by

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