philipforget / catbutt

It's catbutts all the way down

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CatButt

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:

  1. 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
  1. Use it via Docker:
docker build --rm -t catbutt .

docker run --rm -it catbutt
from catbutt models import Cat
  1. 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
  1. 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

About

It's catbutts all the way down


Languages

Language:Python 88.3%Language:Dockerfile 11.7%