Skip to main content

Helps workloads find safe harbor.

Project description

pylighthouse

https://img.shields.io/pypi/v/pylighthouse.svg https://img.shields.io/travis/djhaskin987/pylighthouse.svg Documentation Status

Helps workloads find safe harbor.

Features

  • Scheduling-as-a-library, in pure python
  • Schedule workloads onto nodes
  • Flexible definition of requirements needed by workloads and resources offered by nodes
  • Tag nodes simply by adding a zero-quantity resource
  • “Taints and Tolerations”-like behavior supported through the use of Wards and Immunitites
  • Anti-affinity-group-like behavior supported through the use of Aversion Groups

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Changelog

All notable changes to this project will be documented here.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Unreleased

Added

Changed

Fixed

v0.1.0

Added

  • Node class
  • Workload class
  • Distributor base class
  • PrioritizedDistributor class
  • RoundRobinDistributor class
  • BinPackDistributor class
  • distributor classes have a method called attempt_attach_workloads, the primary use case of this library

Changed

Fixed

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

pylighthouse-0.1.0.tar.gz (18.9 kB view hashes)

Uploaded source

Built Distribution

pylighthouse-0.1.0-py2.py3-none-any.whl (5.4 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