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:
datepolstrpolstr_1mpolstr_3mpolstr_6mpolstr_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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file polstr-0.1.1.tar.gz.
File metadata
- Download URL: polstr-0.1.1.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4933ecdd6e90ca23231380bda1f7ea8a47cb0ec0c367bb361d14fb8f4697752
|
|
| MD5 |
317c607cfcf54623d1b93f8e767147f5
|
|
| BLAKE2b-256 |
4b24c6c10539b7a27800ce8c5f27a5cec4df5ef3a20b15bbfd4ee59b76ce2137
|
Provenance
The following attestation bundles were made for polstr-0.1.1.tar.gz:
Publisher:
publish.yml on solek13/polstr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
polstr-0.1.1.tar.gz -
Subject digest:
f4933ecdd6e90ca23231380bda1f7ea8a47cb0ec0c367bb361d14fb8f4697752 - Sigstore transparency entry: 2343998989
- Sigstore integration time:
-
Permalink:
solek13/polstr@da38edea67d6e5cb6b8aa741309651bba50130b9 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/solek13
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@da38edea67d6e5cb6b8aa741309651bba50130b9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file polstr-0.1.1-py3-none-any.whl.
File metadata
- Download URL: polstr-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12e4581a5d192f7e10c52368c3c47a2046f15135bd60aa00e07d162271609e07
|
|
| MD5 |
0406ec7cad5267850209637b4c269ad2
|
|
| BLAKE2b-256 |
2d80b641c0bcbd170180325505a4c8ca83e9f0cfa180b6c2e09acbf27f296e52
|
Provenance
The following attestation bundles were made for polstr-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on solek13/polstr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
polstr-0.1.1-py3-none-any.whl -
Subject digest:
12e4581a5d192f7e10c52368c3c47a2046f15135bd60aa00e07d162271609e07 - Sigstore transparency entry: 2343999120
- Sigstore integration time:
-
Permalink:
solek13/polstr@da38edea67d6e5cb6b8aa741309651bba50130b9 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/solek13
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@da38edea67d6e5cb6b8aa741309651bba50130b9 -
Trigger Event:
push
-
Statement type: