Skip to main content

Boilerplate-free scripting and IT automation for python programmers

Project description

Jinjamator is an automation framework built to make complex automation tasks as easy and boilerplate free as possible.

Features

Jinjamator currently has following features:

  • run tasks written in python3

  • run tasks written in jinja2

  • register functions via content plugin system for python3 and jinja2 tasks, to have the same functionality.

  • run standalone as CLI application

  • run as REST API daemon, exporting tasks via REST API

  • gathering of required user inputs, determined by code inspection

  • validation of user inputs

  • log everthing to a database (daemon mode only, CLI is on roadmap)

  • support of different (customer) environments

  • distributed operation (daemon mode only)

  • output plugin system to further process data generated by tasks (e.g.: generate excel files from everthing)

  • includes a simple single-page javascript webapp for running tasks (automatically generates wizards from the task code)

  • aaa for the API, including LDAP, local users and OpenID-Connect

Content Plugins

For a list of content plugins see the Content Plugins section.

Output Plugins

  • console (print data to stdout)

  • excel (create a xlsx from task data)

  • apic (push data to cisco ACI)

  • zabbix (stream data to zabbix)

  • textfile (write return value into a textfile)

  • json (generate formatted, optionally syntax highlighted json)

  • ssh (send output via ssh to device)

  • null (supress output)

Installation

Install jinjamator by running:

pip3 install pipx && pipx install jinjamator

After successfull installation you should run following commands to initialize aaa

export JINJAMATOR_AAA_LOCAL_ADMIN_USERNAME=admin
export JINJAMATOR_AAA_LOCAL_ADMIN_PASSWORD=SomeSecurePassword
jinjamator -t `pipx runpip jinjamator show jinjamator | grep Location | cut -d ' ' -f 2`/jinjamator/tasks/.internal/init_aaa

Contribute

Roadmap

Selected Roadmap items:
  • create more documentation

  • refactor frontend webapp

For documentation please refer to https://jinjamator.readthedocs.io/en/latest/

License

This project is licensed under the Apache License Version 2.0

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

jinjamator-0.138.4-py3-none-any.whl (10.7 MB view details)

Uploaded Python 3

File details

Details for the file jinjamator-0.138.4-py3-none-any.whl.

File metadata

  • Download URL: jinjamator-0.138.4-py3-none-any.whl
  • Upload date:
  • Size: 10.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for jinjamator-0.138.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7e6a21ab6ef36d02d162c8e13f377cdac7084bc11c98bf4dc3b94173a989ead7
MD5 8ae59ee2bca4c1b8fb69063f248da6dc
BLAKE2b-256 e3016de87affe933273ec5a4313880e5ddffff3f2d88239c31701d563d3176ad

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