Skip to main content

Saltstack API Client for Humans

Project description

https://img.shields.io/pypi/v/salt-mill.svg

Saltstack API Client for Humans

https://glasslion.github.io/salt-mill/assets/Salt%2C_sugar_and_pepper_shakers.jpg
  • Free software: BSD license

Features

  • auto login

  • auto renew auth-token

  • asynchronous polling

Usage

from saltmill import Mill

# By default, mill try to get the authentication configs from
# func kwarsg, environment variables, and ~/.pepperrc, same as pepper
mill = Mill()
mill.local('*', 'test.ping')

# Create a job with local_async and poll the result with lookup_jid
# Works well on long running tasks and unstable network conditions
mill.local_pool('*', 'test.ping')

History

0.1.0 (2015-6-25)

  • First release on PyPI.

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

salt-mill-1.1.0.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

salt_mill-1.1.0-py2.py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 2 Python 3

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