Skip to main content

A simple CLI command that initialises a Kedro project from an existing Python package

Project description

kedro-init

Documentation Status Code style: ruff-format PyPI

A simple CLI command that initialises a Kedro project from an existing Python package

Installation

To install, run

(.venv) $ pip install "kedro-init @ https://github.com/astrojuanlu/kedro-init.git"

Usage

For example, from a Poetry package:

(.venv) $ poetry new --src test-project && cd test-project
(.venv) $ kedro-init .
[00:19:38] Looking for existing package directories                             cli.py:25
[00:19:45] Initialising config directories                                      cli.py:25
           Creating modules                                                     cli.py:25
           🔶 Kedro project successfully initialised!                           cli.py:26

Development

To run style checks:

(.venv) $ pip install pre-commit
(.venv) $ pre-commit run -a

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kedro_init-0.1.0.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

kedro_init-0.1.0-py3-none-any.whl (8.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page