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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file kedro_init-0.1.0.tar.gz.

File metadata

  • Download URL: kedro_init-0.1.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for kedro_init-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b0875b5d8619005437349c5061d778498af9b611e54e5331d06dc3c3e12d4203
MD5 9fc2e0208ed42a1db23f11f225fa31d5
BLAKE2b-256 c85670b87c2d83dcf83c32753206887197cf3eda2a90cf93e8e3856f2933bdcb

See more details on using hashes here.

File details

Details for the file kedro_init-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: kedro_init-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for kedro_init-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8b37ea0ab0519ff83909456f3ebfd8e18aa93b6684a173aa1998957734b258d
MD5 b30d0f3a5f431fbc975897f8ace6a463
BLAKE2b-256 8277cb9d3441329adcee36644357f380d65b29ee4b655e7123940c07aafac3c0

See more details on using hashes here.

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