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.

Files for salt-mill, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size salt_mill-1.1.0-py2.py3-none-any.whl (5.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size salt-mill-1.1.0.tar.gz (6.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page