KaxaNuk Data Curator
Tool for building a structured database for market, fundamental and alternative data obtained from different financial data provider web services.
Allows for easy creation of additional calculated feature functions.
Requirements
The system can run either on your local Python, or on Docker.
Requirements for Running on Local Python
- Python
3.12or3.13
Supported Data Providers
- Financial Modeling Prep
- Yahoo Finance (requires installing a separate extension package, and doesn't support most data types)
Running on Python
Installation
-
Make sure you're running the required version of Python, preferably in its own virtual environment.
-
Open a terminal and run:
pip install --upgrade pip pip install kaxanuk.data_curator -
If you want to use the Yahoo Finance data provider, install the extension package:
pip install kaxanuk.data_curator_extensions.yahoo_finance
Configuration
- Open a terminal in any directory and run the following command:
This should create 2 subdirectories,kaxanuk.data_curator init excelConfigandOutput, as well as the entry script__main__.pyin the current directory. - Open the
Config/parameters_datacurator.xlsxfile in Excel, fill out the fields in all the sheets, save the file and close it. - If your data provider requires an API key, open the
Config/.envfile in a text editor, and paste the key after the=sign of the provider's correspondingAPI_KEYvariable. Don't add any quotes or spaces before or after the key.
*If on MacOS, the .env file will be hidden in Finder by default. Just use the keys Command + Shift + . to toggle
the visibility of hidden files.
Usage
Now you can run the entry script with either:
kaxanuk.data_curator run
or by executing the __main__.py script directly with Python:
python __main__.py
The system will download the data for the tickers configured in the file, and save the data to the Output folder.
Running on Docker
Pull the Docker image:
docker pull ghcr.io/kaxanuk/data-curator:latest
Docker Configuration
Volumes
You need to mount the following volume to the container:
- Path on the host: (select the directory on your PC where you want the Data Curator configuration and output files to be created)
- Path inside the container:
/app
Environment Variables
If your data provider requires an API key, you need to pass it as an environment variable when running the container.
- Name:
KNDC_API_KEY_FMP - Value: API key for the Financial Modeling Prep data provider, as a string.
Running the Container
- On the first run, the container will create the
ConfigandOutputsubdirectories in the mounted volume, as well as the entry script__main__.py. - Open the
Config/parameters_datacurator.xlsxfile in Excel, fill out the fields in all the sheets, save the file and close it.
Now that the configuration is set up, each time you run the container again, it will download the data for the tickers/identifiers
as configured in the parameters file, and save it to the Output folder.
Customization
The __main__.py entry script is customizable, so you can implement your own data providers and configuration and output
handlers, and inject them from there.
You can also create your own calculated feature functions by adding them to the Config/custom_calculations.py file, and
adding the function's name (which start with the c_ prefix) to the Columns sheet in the Config/parameters_datacurator.xlsx file.
Check the API Reference to learn how to easily implement your own calculated features.
Metadata
Release files for kaxanuk.data-curator 0.41.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kaxanuk_data_curator-0.41.0.tar.gz | 618.9 kB | Without provenance | Details for kaxanuk_data_curator-0.41.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kaxanuk_data_curator-0.41.0-py3-none-any.whl | Python 3 | none | any | Details for kaxanuk_data_curator-0.41.0-py3-none-any.whl |
Total release size: 727.6 kB
Release files / kaxanuk_data_curator-0.41.0.tar.gz
| Download URL | kaxanuk_data_curator-0.41.0.tar.gz |
|---|---|
| Size | 618.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4775b4d7389fef792c5812d26edf89def295fd59d751f3a7e6f2f82429d2efb6
|
|
BLAKE2b-256 checksum How to use checksums |
718fe081d45fd1f78defd45b8117a7d1fd5ae3628a808483b395251a3917e5cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Release files / kaxanuk_data_curator-0.41.0-py3-none-any.whl
| Download URL | kaxanuk_data_curator-0.41.0-py3-none-any.whl |
|---|---|
| Size | 108.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
917867c7b2bb0487bd24c179dfab7b12198c7f5ab604bded055670c3ba096bd7
|
|
BLAKE2b-256 checksum How to use checksums |
06c1cfd8120a2e1bd8fecee667b29b8ab6c1100c8cefa4c9c097856e813a60d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Security for kaxanuk.data-curator 0.41.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.