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 py2 py3

Supported by

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