Helps workloads find safe harbor.
Project description
pylighthouse
Helps workloads find safe harbor.
Free software: Apache Software License 2.0
Documentation: https://pylighthouse.readthedocs.io.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1989b79b981eb5df314eae3f1277f2a7f8840f8f564b1e06c35548b5b6e7308 |
|
MD5 | 807dca4f19cd131d27d3ea5f988d177d |
|
BLAKE2b-256 | 519afe3d6c68d0e8f0496a1475c32a5305be998046ae613a0bb278fa1141d4b2 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe9d1580ad049b87a500a81e119e079e786ae742c1fab0c5403476d196989788 |
|
MD5 | bac3c27d7713f2383665c135d985a18b |
|
BLAKE2b-256 | 6def6cee7b8b7ccb6c135ea112a456b906289ab8e6ba276e416b74ff56ad866c |