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

Uploaded Source

Built Distribution

pylighthouse-0.1.0-py2.py3-none-any.whl (5.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pylighthouse-0.1.0.tar.gz.

File metadata

  • Download URL: pylighthouse-0.1.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for pylighthouse-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a1989b79b981eb5df314eae3f1277f2a7f8840f8f564b1e06c35548b5b6e7308
MD5 807dca4f19cd131d27d3ea5f988d177d
BLAKE2b-256 519afe3d6c68d0e8f0496a1475c32a5305be998046ae613a0bb278fa1141d4b2

See more details on using hashes here.

File details

Details for the file pylighthouse-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pylighthouse-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for pylighthouse-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fe9d1580ad049b87a500a81e119e079e786ae742c1fab0c5403476d196989788
MD5 bac3c27d7713f2383665c135d985a18b
BLAKE2b-256 6def6cee7b8b7ccb6c135ea112a456b906289ab8e6ba276e416b74ff56ad866c

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