Honcho: a python clone of Foreman. For managing Procfile-based applications.
Project description
___ ___ ___ ___ ___ ___ /\__\ /\ \ /\__\ /\ \ /\__\ /\ \ /:/ / /::\ \ /::| | /::\ \ /:/ / /::\ \ /:/__/ /:/\:\ \ /:|:| | /:/\:\ \ /:/__/ /:/\:\ \ /::\ \ ___ /:/ \:\ \ /:/|:| |__ /:/ \:\ \ /::\ \ ___ /:/ \:\ \ /:/\:\ /\__\ /:/__/ \:\__\ /:/ |:| /\__\ /:/__/ \:\__\ /:/\:\ /\__\ /:/__/ \:\__\ \/__\:\/:/ / \:\ \ /:/ / \/__|:|/:/ / \:\ \ \/__/ \/__\:\/:/ / \:\ \ /:/ / \::/ / \:\ /:/ / |:/:/ / \:\ \ \::/ / \:\ /:/ / /:/ / \:\/:/ / |::/ / \:\ \ /:/ / \:\/:/ / /:/ / \::/ / /:/ / \:\__\ /:/ / \::/ / \/__/ \/__/ \/__/ \/__/ \/__/ \/__/
So, uh, honcho is basically Foreman, but uh, honcho instead.
Seriously? honcho is a Python port of Foreman.
Why a port? Well, only two good reasons, and only one of which you’re going to be interested in:
I work in Python-only development environments, where installing Ruby just so I can run Procfile apps seems a bit crazy. Python, on the other hand, is part of the LSB, and so even in “Ruby-only” environments, Python will still be around.
I wanted to learn about asynchronous I/O in Python.
How to get honcho
pip install honcho
If you’re one of those sick people who’s into this kind of thing, you can probably also easy_install honcho. But please, don’t: get with the program.
How to use honcho
Run honcho -h and see which bits of Foreman I’ve got round to implementing
Or, the 30-second version:
Write a Procfile:
$ cat >Procfile <<EOM web: python serve.py redis: redis-server EOM
Optional: write a .env file to configure your app:
$ cat >.env <<EOM PORT=6000 REDIS_URI=redis://localhost:6789/0 EOM
Run the app with honcho:
$ honcho start
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file honcho-0.3.1.tar.gz
.
File metadata
- Download URL: honcho-0.3.1.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01dfa9129fb66c72274de4a46b2fc9d0aafb8501a79182aec5554aa94d61066c |
|
MD5 | 16c55160a4ce8c1e194392caf1b053fa |
|
BLAKE2b-256 | 7884d9419ff1800d9ac0ec98afa0a5b28b22c8ce8ec4054527b56c52d1cb7c60 |