RecSys
Overview
This is your new Kedro project with Kedro-Viz setup, which was generated using kedro 0.19.10.
Take a look at the Kedro documentation to get started.
Rules and guidelines
In order to get the best out of the template:
- Don't remove any lines from the
.gitignorefile we provide - Make sure your results can be reproduced by following a data engineering convention
- Don't commit data to your repository
- Don't commit any credentials or your local configuration to your repository. Keep all your credentials and local configuration in
conf/local/
How to install dependencies
Declare any dependencies in requirements.txt for pip installation.
To install them, run:
pip install -r requirements.txt
Initial configurations
If you want to make further changes to the source code, install the develpoment dependencies by first running:
pip install -e ."[dev]"
Install ruff VSCode extension
If you use VSCode as your code editor, install the ruff extension
Install nbstripout
To automatically strip out all output cell contents before committing to git, install nbstripout with the following command:
nbstripout --install
This will run nbstripout before anything is committed to git.
Note: Your output cells will be retained locally.
Install pre-commit hook scripts¶
pre-commit is a framework for managing and maintaining multi-language pre-commit hooks. The hooks are configured in .pre-commit-config.yaml file. In order to enable them, run:
pre-commit install
How to run your Kedro pipeline
You can run your Kedro project with:
kedro run
How to test your Kedro project
Have a look at the files src/tests/test_run.py and src/tests/pipelines/data_science/test_pipeline.py for instructions on how to write your tests. Run the tests as follows:
pytest
To configure the coverage threshold, look at the .coveragerc file.
Project dependencies
To see and update the dependency requirements for your project use requirements.txt. Install the project requirements with pip install -r requirements.txt.
Further information about project dependencies
How to work with Kedro and notebooks
Note: Using
kedro jupyterorkedro ipythonto run your notebook provides these variables in scope:catalog,context,pipelinesandsession.Jupyter, JupyterLab, and IPython are already included in the project requirements by default, so once you have run
pip install -r requirements.txtyou will not need to take any extra steps before you use them.
Jupyter
To use Jupyter notebooks in your Kedro project, you need to install Jupyter:
pip install jupyter
After installing Jupyter, you can start a local notebook server:
kedro jupyter notebook
JupyterLab
To use JupyterLab, you need to install it:
pip install jupyterlab
You can also start JupyterLab:
kedro jupyter lab
IPython
And if you want to run an IPython session:
kedro ipython
Further information about using notebooks for experiments within Kedro projects.
Package your Kedro project
Further information about building project documentation and packaging your project.
Metadata
Release files for recsys-wizos 0.1.3
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 |
|---|---|---|---|---|
| recsys_wizos-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Release files / recsys_wizos-0.1.3-py3-none-any.whl
| Download URL | recsys_wizos-0.1.3-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5eb6730acc0a4a698daf9e396f2ff57098f8b903d1baa0c647445fbe8c39aeec
|
|
BLAKE2b-256 checksum How to use checksums |
9a65a39e439ef9a69465f7d1a48908d85a07d93fa56409280ee604da021a3eca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.10
|