Skip to content

epogrebnyak/impression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Note: this is an early version of the template, structure and workflow are to be improved.

Minimal cookiecutter for Poetry, Sphinx and Streamlit

This is a minimal setup to work with Poetry, Sphinx and Streamlit out of the box.

How to run

Install cookiecutter if you do not have it yet:

pip install cookiecutter

Run at prompt and answer several questions about your new package:

cookiecutter https://github.com/epogrebnyak/impression

or, equivalently:

cookiecutter gh:epogrebnyak/impression

The way you may anwser questions is similar to this:

λ cookiecutter https://github.com/epogrebnyak/impression
package_name [pkg]: foo
author_name [Evgeniy Pogrebnyak]: Gino Forchione
author_email [e.pogrebnyak@gmail.com]: keep.it.a@secret.com

The project from example answers above will be created at foo folder.

Customisation

Please refer to Cookiecutter documentation for customisation.

Features

How I test the created package

I test the created package manually, maybe there can be a clever script for that.

Command Status
poetry run pytest ok
just docs needs poetry install
just show ok
just app ok

Ideas for other features

  • badges (streamlit, test results)
  • Read the docs compatibility
  • git init and set origin in the script
  • command line wrapper

Alternatives and inspiration

Modern packaging:

Data pipleine coockiecutter

Streamlit forum:

About

Minimal setup to work with Poetry, Sphinx and Streamlit out of the box

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages