Skip to content
Projekte

Über uns

Simple Docker Python Module

Systeme und Infrastruktur

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

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:

pip install -e git+https://github.com/deepgram/sidomo.git#egg=sidomo

How to use:

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 ubuntu

Examples:

  • hello_world.py is ‘Hello, World!’ as a module
  • ffmpeg.py fetches audio from a URL and transcodes it to WAV format

Ideas:

  • 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)

Ähnliche Projekte entdecken

Wird geladen…