Skip to main content

A Python package for generating secure docker and k8s resources

Project description

gensec

gensec is a command-line tool designed to simplify the process of generating scure configuration files such as Dockerfiles and Helm charts. The CLI prompts users for input as needed and includes interactive options to customize configurations effectively.

Features

  • Generate Dockerfiles: Create secure and customizable Dockerfiles for different programming languages.
  • Generate Helm charts: Create Helm chart templates for Kubernetes deployments.
  • List available commands: Display the available commands and their descriptions.

Installation

You can install the gensec package directly from PyPI:


bash pip install gensec

Usage

After installing the package, you can use the following commands:

List Available Commands

To list all available commands, run:

gensec list

Generate a Dockerfile

To generate a Dockerfile, use the dockerfile command:

gensec dockerfile --language <programming_language> --port <port_number> --entrypoint <entry_point>

If the details are not provided, the tool will prompt you to select the language, port, and entrypoint interactively.

Generate a Helm Chart

To generate a Helm chart, use the helmchart command:

gensec helmchart --name <service_name>

If the details are not provided, the tool will prompt you to enter the service name interactively.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gensec-0.0.5.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gensec-0.0.5-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file gensec-0.0.5.tar.gz.

File metadata

  • Download URL: gensec-0.0.5.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for gensec-0.0.5.tar.gz
Algorithm Hash digest
SHA256 b43adb6764781fc51f70ad3fea750095ab670f950be05d262b997f0d2da08ec7
MD5 f52fb3db38ca6d141d75517a787b0e1a
BLAKE2b-256 80b1f9e9f0f9ca550acd8a6e150174feaaed099b482df24c488a642f146f2808

See more details on using hashes here.

File details

Details for the file gensec-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: gensec-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for gensec-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cdee201bbb4f421ef881071e58181b96e563bc345335d8a2bbaed74aa6d773d2
MD5 1ab82cf12b443ab2637aad3b490376f7
BLAKE2b-256 6edd25a8459f8ba495a7eef3289b8e082134e59b0b0189ab94333ac1a7ae551d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page