Skip to main content

POLSTR data downloader

A small Python utility that downloads historical and current POLSTR index data published by GPW Benchmark and combines it into one CSV file.

The included polstr.csv contains public market-index data. It has these columns:

  • date
  • polstr
  • polstr_1m
  • polstr_3m
  • polstr_6m
  • polstr_ci

Installation

From PyPI:

python -m pip install polstr

Directly from GitHub:

python -m pip install git+https://github.com/solek13/polstr.git

From a local checkout:

python -m pip install -e .

Usage

Update polstr.csv in the project directory:

polstr

Other useful options:

polstr --start-year 2024 --out my.csv
polstr --no-pdf
polstr --latest-only
polstr --full-refresh

The script can still be run directly from a checkout with python download_polstr.py. Run polstr --help for the complete command reference.

Packaging

Build the source distribution and wheel locally:

python -m pip install -e .[dev]
python -m build
python -m twine check dist/*

Data source

The script downloads public POLSTR data from GPW Benchmark's yearly PDF files, delayed-data page, and values-and-statistics page. Please consult GPW Benchmark's website for the authoritative data and applicable terms of use.

Download files

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

Source Distribution

polstr-0.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

polstr-0.1.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file polstr-0.1.0.tar.gz.

File metadata

  • Download URL: polstr-0.1.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for polstr-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9a0d3a3890ada13774811535bf486fe52cd6f9528ee5cda4bcb5d226038be748
MD5 012ea3c849d290d6b5f3509498cd04a1
BLAKE2b-256 f50ebe28f42c32753becc207a0db6b041e7df40a94e09b13534292e5195c6dbd

See more details on using hashes here.

Provenance

The following attestation bundles were made for polstr-0.1.0.tar.gz:

Publisher: publish.yml on solek13/polstr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file polstr-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: polstr-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for polstr-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89e87a76014f0b5683bf907aa26e5936a25089daee0a0b8646f5fe54520754de
MD5 146b6c232290de8dd2e6f1ebc326ee9b
BLAKE2b-256 249e856fb8743e867566c0afc82fe7959c245b41f12ba79b8d3b2205b8603139

See more details on using hashes here.

Provenance

The following attestation bundles were made for polstr-0.1.0-py3-none-any.whl:

Publisher: publish.yml on solek13/polstr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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