This repo contains a sample python project which contains a namespace,
catbutt
, and a series of libraries and utilities within it.
This repo is structured to work in a few ways:
- Locally! Just drop into python / ipython from the root of this repo and relative imports Just Work™. Or use it as a namespace and call modules directly:
python3 -m catbutt.doakickflip
# > nah
- Use it via Docker:
docker build --rm -t catbutt .
docker run --rm -it catbutt
from catbutt models import Cat
- From docker-compose with a volume mount for keeping the code in the container in sync with your local copy:
docker-compose run --rm catbutt
# This will drop you into a python shell like above
- Install into a virtualenv using the github url or a file path:
pip install git+https://github.com/philipforget/catbutt.git
# Now you can use `catbutt` in your imports as usual