Skip to main content

Django- and fabric-based building toolkit for remote-control- and configuration-management-systems.

Project description

Run tests for django-minke Coveralls python: 3.6, 3.7, 3.8, 3.9, 3.10 django: 2.2

A framework for remote-control- and configuration-management-systems

Minke is a framework that combines the full power of djangos admin-interface with the reliability and configurability of fabric2. A pure open-source- and pure python-solution to realize the most different szenarios concerning remote- control and configuration-managment.

Imagine you just need to setup some managment-commands for a handful of servers - you can do that with minke. Imagine you have lots of servers with different setups that you need to group and address seperatly - you can do that with minke. Imagine you have servers with multiple subsystems installed on each of them and you not just want to manage those systems but also to track configurations, version-numbers, installed extensions or modules and to filter for all of those values within your backend - you can do that with minke.

Features

  • full integration with django’s admin-site

  • parrallel session-execution through celery

  • realtime monitoring of executed remote-sessions

  • command-line-api using django’s management-commands

  • session- and command-history

Concept

The main idea of minke is to define an arbitrary data-structure that represents your server- and subsystem-landscape as django-models. And then be able to run specific remote-tasks for those models right out of their changelist-sites. Now those tasks could be anything about remote-control and system-managment, but also fetching relevant data to update your django-data-structure itself.

To make this possible there are three main elements:

  • hosts,

  • minke-models,

  • and sessions.

Hosts

A Host is a django-model that is basically the database-representation of a specific ssh-config. It holds every information needed by fabric to connect to the remote-system.

Minke-Models

Minke-models now are all those models that you want to run remote-sessions with. This could be the data-representation of a server, but also of web-applications running on this server, and even something like installed extensions, patches, backups and everything else you want to track and manage in your minke-app.

Sessions

A session-class defines the code to be executed for minke-models. Sessions are similar fabric-tasks. Within a session you have access to a connection-object (as implemented by fabric) as well as to the minke-model-object you are working with. So a session could be as simple as running a single shell-command on the remote-machine, up to complex management-routines including manipulating the data of the minke-model-object itself.

Download files

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

Source Distribution

django_minke-1.3.2.dev0.tar.gz (45.3 kB view details)

Uploaded Source

Built Distribution

django_minke-1.3.2.dev0-py3-none-any.whl (60.4 kB view details)

Uploaded Python 3

File details

Details for the file django_minke-1.3.2.dev0.tar.gz.

File metadata

  • Download URL: django_minke-1.3.2.dev0.tar.gz
  • Upload date:
  • Size: 45.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for django_minke-1.3.2.dev0.tar.gz
Algorithm Hash digest
SHA256 97e373ed4f2bb43db0fbff7d719e8e6c7dfceb99d5eac1fc2bfb59d926bf3966
MD5 d280e8f319e1369005de7f2a28ea24ee
BLAKE2b-256 88ce9f520510b2daa6b494bda38652876f87808ac71f7f92886c117e1188d496

See more details on using hashes here.

File details

Details for the file django_minke-1.3.2.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_minke-1.3.2.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 cae49ce3992e2919ae7696bae23029d05a4e04a76da6d3c04bd0da97dde348d0
MD5 179962088af21dea1082f2710c853f48
BLAKE2b-256 d57b98748243863badd03212ea5deec465590d4b07dd69989811b7fa7bda6307

See more details on using hashes here.

Supported by

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