Bootstrap Framework for immutable machines
Project description
Modo
modo is a framework for building bootstrap images for bootstrapping immutable machines by running docker containers
Table of Contents
Usage
Installation
pip install modo
for developing:
git clone git@bitbucket.org:mindcurv/modo.git
cd modo; virtualenv venv --python=python3
. venv/bin/activate
pip install -e .[dev]
python setup.py develop
Example
from modo import RoseCLI, SowRose, GrowRose
class SowExample(SowRose):
def run(self):
print(self.jinja_context)
class GrowExample(GrowRose):
def run(self):
print('@}->--')
cli = RoseCLI(SowExample, GrowExample)
if __name__ == '__main__':
cli()
for detailed workflow click here
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
modo-0.0.15.tar.gz
(4.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
modo-0.0.15-py3-none-any.whl
(5.5 kB
view details)
File details
Details for the file modo-0.0.15.tar.gz.
File metadata
- Download URL: modo-0.0.15.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25d3d3d379e3504c80993bf0f6721e177d3e337e467c0657d763ecc7c90792c0
|
|
| MD5 |
2678abc1bcd0acece1fdf4ec5a30b188
|
|
| BLAKE2b-256 |
0bb8062df4148de204088203f7ce525b0f4dad183fcda1236196dc19990eda7e
|
File details
Details for the file modo-0.0.15-py3-none-any.whl.
File metadata
- Download URL: modo-0.0.15-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
381394a183b1d3460bcdbad6a28e97951f38134e6bd00e069a7bd24ba3590737
|
|
| MD5 |
973ec74b4c874e43314e1a3df001f02b
|
|
| BLAKE2b-256 |
249b3b55e7fd00949abebabeb31d7def9de6c68fd04a9d29771bd000c8609d48
|