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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file salt-mill-1.1.0.tar.gz.

File metadata

  • Download URL: salt-mill-1.1.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.1 setuptools/36.0.1 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/2.7.12

File hashes

Hashes for salt-mill-1.1.0.tar.gz
Algorithm Hash digest
SHA256 33f28cf4f5770846bb152f5928e2e2e8630864adb93172df5db3731ae9ee0343
MD5 c28dd637a9fe4566747ab4b3a00b0f32
BLAKE2b-256 fe914771305c46e076a8b84fa5cd5b987dd577b5b5828ea5101cb7022d071c69

See more details on using hashes here.

File details

Details for the file salt_mill-1.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: salt_mill-1.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.1 setuptools/36.0.1 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/2.7.12

File hashes

Hashes for salt_mill-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 19620357173f7a4a787a6ba18e6d8bf513b18cef60d7e0656d9a98794ccc401c
MD5 e58a2f93c3a7a4d34bd0d72273db7e7e
BLAKE2b-256 406a6ecc440325000f0460f9fcd82489d9ed8955ea5b759421b64804ade4868c

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