Shinigami is an open source package allowing the user to generate and build Dockerfiles during runtime
Project description
Shinigami
Shinigami was created to be simplistic and maintainable
Shinigami is an open source Python module allowing the user to generate and build a Dockerfile during runtime. This module is built out using vanilla Python with no external modules, so you won't have to download any external resources to actually to run this library.
Usage
You can install Shinigami via pip:
pip install shinigami
Quick Example
from shinigami.shinigami import Shinigami
def create_file():
Shinigami(lang_os="python", version="3.9", build=True).generate_dockerfile()
if __name__ == '__main__':
create_file()
If you just want to generate the Dockerfile without building the container, you can do that too. Just remove the build
parameter from the class and you should see a Dockerfile populate in your current directory within seconds.
There are currently 3 seperate parameters you can choose from:
lang_os
(str
) - The language or operating system you should like to pull from Docker Hub (Example:ubuntu
)version
(str
) - The version of the language or operating system (Example:22.04
)build
(bool
) - This allows you to choose if you would like to build the Docker container or just pull the Dockerfile without building
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
Built Distribution
Hashes for shinigami-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f180d400f350a37a308bbfbfb625eeb0d22fb424121c26707a2ffb3066608c3 |
|
MD5 | 7444fa19314c9792e0a8be1a17cd3a64 |
|
BLAKE2b-256 | a3f83f494c13979a2e6cff89d92254b446b2098f97b6444e284a41b0dfea8c36 |