Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deepgram/sidomo
Simple Docker Python Module
https://github.com/deepgram/sidomo
Last synced: about 2 months ago
JSON representation
Simple Docker Python Module
- Host: GitHub
- URL: https://github.com/deepgram/sidomo
- Owner: deepgram
- License: unlicense
- Created: 2016-02-22T23:18:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-03-11T23:01:36.000Z (over 8 years ago)
- Last Synced: 2024-07-24T13:59:22.799Z (2 months ago)
- Language: Python
- Size: 18.6 KB
- Stars: 312
- Watchers: 22
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Sidomo
======Simple Docker Module: If you can get your software to work in a docker container, then this module will make it work in Python.
-------------------------------------------------------------------------------------------------------------------------------How to install:
^^^^^^^^^^^^^^^.. code:: bash
pip install -e git+https://github.com/deepgram/sidomo.git#egg=sidomo
How to use:
^^^^^^^^^^^.. code:: python
from sidomo import Container
with Container('ubuntu') as c:
for output_line in c.run('echo hello world'):
print(output_line)Or with the command line tool "dodo" ("docker do"):
::
dodo echo hello world --image ubuntuExamples:
^^^^^^^^^- hello\_world.py is ‘Hello, World!’ as a module
- ffmpeg.py fetches audio from a URL and transcodes it to WAV formatIdeas:
^^^^^^- Replace leaky glue code
- Run Erlang from Python
- Resurrect legacy software for use in a modern environment
- Make a Python module more portable (the only dependency is Docker
itself)