Basic utility to manage index or portfolio constituent data
Utility library to fetch lists of symbols/constituents as managed by the user. The constituents are to be stored as parquet dataframes in a local or remote location, via the fsdata package. The tickers are extracted from the index column.
Configuration
Create a consdata entry in the fsdata.ini config file. The config is resolved by fsdata, in order: the FSDATA_CONFIG environment variable, then upward search from the current directory (a repo-local config), then the XDG_CONFIG_HOME folder (default ~/.config).
# fsdata.ini
[consdata]
path = s3://my-bucket/consdata
Usage
To list available universes
import consdata
consdata.items()
To get a dataframe of constituents
consdata.load(name)
To get a list of tickers
consdata.get_tickers(name)
Related projects and Resources
- fsdata Simple data catalog library for python
- FinanceDataBase Database of 300.000+ symbols containing Equities, ETFs, Funds, Indices, Currencies, Cryptocurrencies and Money Markets
- index-constituents Get the current and historical constituents of popular stock indices.
Metadata
Release files for consdata 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| consdata-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / consdata-0.1.0-py3-none-any.whl
| Download URL | consdata-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8b193f0b4a98357d4457628d3f0edb444dc6bcf74d3891db170edd21c50e83d
|
|
BLAKE2b-256 checksum How to use checksums |
659bb69ce397bbcd534dfb9cf53398fae67257a710582ad30d1f06eb78459eaa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.04","id":"plucky","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for consdata 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.