Quantile Data Kit 🔍
Publish to pypi
How to deploy a new version of the QDK?
- Update the package version in
setup.py. - Run the Makefile
make publish
Components
There are four types of base components in the QDK.
LoadComponent. Takes nothing as input and outputs a DataFrame.TransformComponent. Takes a DataFrame as input and outputs a DataFrame.TrainingComponent. Takes data and a model as input and outputs a trained model.InferenceComponent. Takes data and a model as input and ouputs prediction data.
Adding a new component?
Adding a new component to the QDK requires the following steps:
- Type of component: Decide which type of the four components above you are adding.
- Add component: Once you decide which type of component you are adding, add in the corresponding folder (e.g.
qdk/loader) a new Python file that inherits from the parent component. In this file you can optionally overwriteinput_defs,output_defsandconfig_schema. When adding a new component, you are required to add a classmethod with the same name as thecompute_functionattribute on the parent class. The keys in theconfig_schemaare injected into the parameters of the compute function. Lastly, you need to import the new component toqdk/__init__.py. This allows you to import it from top-level. - Write tests: To continuously check the robustness of the components, we highly encourage you to add tests using
pytest. The tests can be added atqdk/tests. Reminder to prefix the folder, files and functions withtest_. One is able to test the components using either VScode testing or the terminal (e.g. withpytest -s qdk/tests/test_loaders).
Metadata
Release files for quantile-data-kit 0.0.48
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quantile-data-kit-0.0.48.tar.gz | 24.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quantile_data_kit-0.0.48-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 59.6 kB
Release files / quantile-data-kit-0.0.48.tar.gz
| Download URL | quantile-data-kit-0.0.48.tar.gz |
|---|---|
| Size | 24.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd38b360ff2b2ec62e2f8298bae1b8b5a239a5caa7b51ff4266de116f5b428d2
|
|
BLAKE2b-256 checksum How to use checksums |
768bc4f62e5cf5f004297e045c7b0954d92cd73006457c929439a9f11093d0a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.7
|
Release files / quantile_data_kit-0.0.48-py3-none-any.whl
| Download URL | quantile_data_kit-0.0.48-py3-none-any.whl |
|---|---|
| Size | 35.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
24539afe70ff512da32356642084d97130d3c36eb6808e41773611f8b09a6820
|
|
BLAKE2b-256 checksum How to use checksums |
40e7bfb09bda85a2c584e5351a778206367b71d98c70c2fdffcd95db79619358
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.7
|