Skip to content
/ python-seed Public template

Python Seed, template python structure to get started

License

Notifications You must be signed in to change notification settings

sylhare/python-seed

Repository files navigation

Python Seed App

Inspired by MarshalJoe

This is a simple skeleton for a generic Python app. It comes loaded with:

As well a .gitignore, .pylintrc config file, and simple directory structure.

Get Started

You can fork the project and start your own with it. You need to install tox pip install tox then run tox to install the dependencies.

The source files represents a hello world and can be removed / modified.

Setup

Using Docker:

# build the image:
docker build -t seed-app .
# Run image:
docker run -it seed-app

Testing

To find out more info about the testing configuration, check out the tox.ini file. Use the requirements-dev.txt for libraries only used for tests or dev.

# Run the test suite
tox
# Run the linter:
tox -e lint
# Run the coverage on the src module
tox -e coverage

Misc Notes

  • Make sure and edit the package title in setup.py to reflect your app name
  • If you have issue with tox and ModuleNotFoundError, try set recreate to True in tox.ini.

About

Python Seed, template python structure to get started

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published