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 generated CSV 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.

License

MIT License. See LICENSE.

Metadata

Release files for polstr 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polstr 0.1.1
File Size Uploaded Provenance Actions
polstr-0.1.1.tar.gz 7.2 kB With provenance Details for polstr-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for polstr 0.1.1
File Interpreter ABI Platform Actions
polstr-0.1.1-py3-none-any.whl Python 3 none any Details for polstr-0.1.1-py3-none-any.whl

Total release size: 14.9 kB

Release files / polstr-0.1.1.tar.gz

Download URL polstr-0.1.1.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f4933ecdd6e90ca23231380bda1f7ea8a47cb0ec0c367bb361d14fb8f4697752
BLAKE2b-256 checksum
How to use checksums
4b24c6c10539b7a27800ce8c5f27a5cec4df5ef3a20b15bbfd4ee59b76ce2137
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.

Transparency log

Release files / polstr-0.1.1-py3-none-any.whl

Download URL polstr-0.1.1-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
12e4581a5d192f7e10c52368c3c47a2046f15135bd60aa00e07d162271609e07
BLAKE2b-256 checksum
How to use checksums
2d80b641c0bcbd170180325505a4c8ca83e9f0cfa180b6c2e09acbf27f296e52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.

Transparency log

Security for polstr 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for polstr-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page