Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page