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.132-py3-none-any.whl (10.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jinjamator-0.132-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.132-py3-none-any.whl
Algorithm Hash digest
SHA256 3dd57253adffdb98e5e0585cd9b1feabb9f80a549ef1ea3dd197a813711f6b25
MD5 74c58fc49b96d20d39d50ca19e727a27
BLAKE2b-256 0f0f0476a7c6233b805b6f00c7e217ab2e939f8b809f989220c51f8658c9ae2b

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