Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modernise ds-cookiecutter #182

Open
sqr00t opened this issue Oct 11, 2023 · 0 comments
Open

modernise ds-cookiecutter #182

sqr00t opened this issue Oct 11, 2023 · 0 comments

Comments

@sqr00t
Copy link
Contributor

sqr00t commented Oct 11, 2023

Suggestions (command-line based control):

  1. Support command line tool frameworks such as click, eliminate Makefile *
    • Enable initiation of modular components when projects are extended, i.e.:
      • package_name init serve - generates boilerplate and folders for making a fastAPI app
      • package_name serve --port/ -p - runs app with parameters
      • package_name init poetry/ pip/ pixi - initiates poetry.toml/ requirements.txt, prioritising poetry
      • package_name init docker dev initiates dev container boilerplates
      • package_name init docker serve initiates Docker related boilerplate on top of serving scripts
  2. Switch to using Poetry/ Pixi for dependency management *
  3. Use ruff in place of flake8, + other rust alternatives *
  4. Rearrange data/ (model) artifacts folders
    • Add data cataloguing abilities i.e. with kedro
    • Move all configs, yaml, data catalogs, artifacts, explorations (notebooks), into appropriate folders at sibling level to src
    • utils, pipeline code, app (streamlit/ others), api serving code remains in src/project_name.
  5. Support for multiple languages:

General "ethos":
- No getters, use catalog configs
- package_name init some_function generates boilerplates for functionalities
- i.e. a fully extensible monorepo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant