Skip to content

Super-serial python application structure / layout example.

License

Notifications You must be signed in to change notification settings

benletchford/manbearpig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

manbearpig is a super-serial python application structure / layout example.

TL;DR

/{{ project }}
|-- bin
|   -- runnable_something
|-- docs
|   -- ??
|-- {{ project }}
|   -- __init__.py
|   -- something.py
|   -- submodule
|      -- __init__.py
|-- tests
|   -- __init__.py
|   -- context.py
|   -- test_something.py
|-- Makefile
|-- LICENSE.txt
|-- README.md
|-- requirements-dev.txt
|-- requirements.txt
`-- setup.py

Find this runnable structure under {{ project }}.

{{ project }}/bin

Project executables go here 😬

{{ project }}/{{ project }}

Your reusable source code lives here.

{{ project }}/tests

Your tests live here 🔥

{{ project }}/Makefile

Handy shortcuts to get stuff done 😸 for example:

install:
	pip install -r requirements.txt

install-dev:
	pip install -r requirements-dev.txt

test:
	py.test tests

You could then do: $ make test to run your tests.

{{ project }}/LICENSE.txt

Lawyer up! Checkout choosealicense.com as a handy starting point.

{{ project }}/README.md

You're reading one now. Hopefully I don't have to explain how useful they are ☕

{{ project }}/requirements-dev.txt

All your dev requirements, try to version them when you can.

{{ project }}/requirements.txt

All your application requirements, again, try to version them when you can.

Handy tip: $ pip freeze > requirements.txt

{{ project }}/setup.py

Your setup file if you need one.

Inspired By

About

Super-serial python application structure / layout example.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published