python-equilibrium


Namepython-equilibrium JSON
Version 0.7.2 PyPI version JSON
download
home_page
Summary
upload_time2023-06-29 22:37:17
maintainer
docs_urlNone
authorNiklas Rosenstein
requires_python>=3.10,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # equilibrium

> __Equilibrium__ _(noun)_: A state in which opposing forces or influences are balanced, resulting in a stable system
> that does not undergo significant changes. In a broader sense, equilibrium can refer to a state of mental or emotional
> balance, as well as the balance of forces in physical or chemical systems.

Equilibrium is a framework for implementing control loops and is heavily Kubernets-inspired. A control loop is a
system that continuously monitors the state of a system and takes action to bring the system into a desired state.
It is designed to be extensible and flexible, allowing you to implement control loops that are tailored to your
specific use case.

__Installation__

Equilibrium is available on PyPI. You need at least Python 3.10.

```bash
pip install python-equilibrium
```

__Example__

Check out the [examples/local_file/](examples/local_file/) directory for a simple example of a control loop that
monitors a local file and takes action when the file is modified.

```mermaid
graph LR
  subgraph Equilibrium
    LocalFile["Resource[LocalFile]"] --> LocalFileController
  end
  subgraph "Local filesystem"
    LocalFileController --> LocalFileModification["Local filesystem changes"]
  end
  subgraph "State Backend"
    LocalFileController --> State["Last known state"]
  end
```

__Difference to Kubernetes resources__

* Equilibrium does not currently support any key other than `spec` next to `apiVersion`, `kind`, and `metadata` in
  a resource definition. This means Equilibrium cannot be used to deserialize actual Kubernetes `Secret` of `Config`
  resources.


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "python-equilibrium",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Niklas Rosenstein",
    "author_email": "rosensteinniklas@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/5a/f5/a066e40bd8dd031ffd9b2931c4336ab5f6e434e8bcc378855694b3479a0e/python_equilibrium-0.7.2.tar.gz",
    "platform": null,
    "description": "# equilibrium\n\n> __Equilibrium__ _(noun)_: A state in which opposing forces or influences are balanced, resulting in a stable system\n> that does not undergo significant changes. In a broader sense, equilibrium can refer to a state of mental or emotional\n> balance, as well as the balance of forces in physical or chemical systems.\n\nEquilibrium is a framework for implementing control loops and is heavily Kubernets-inspired. A control loop is a\nsystem that continuously monitors the state of a system and takes action to bring the system into a desired state.\nIt is designed to be extensible and flexible, allowing you to implement control loops that are tailored to your\nspecific use case.\n\n__Installation__\n\nEquilibrium is available on PyPI. You need at least Python 3.10.\n\n```bash\npip install python-equilibrium\n```\n\n__Example__\n\nCheck out the [examples/local_file/](examples/local_file/) directory for a simple example of a control loop that\nmonitors a local file and takes action when the file is modified.\n\n```mermaid\ngraph LR\n  subgraph Equilibrium\n    LocalFile[\"Resource[LocalFile]\"] --> LocalFileController\n  end\n  subgraph \"Local filesystem\"\n    LocalFileController --> LocalFileModification[\"Local filesystem changes\"]\n  end\n  subgraph \"State Backend\"\n    LocalFileController --> State[\"Last known state\"]\n  end\n```\n\n__Difference to Kubernetes resources__\n\n* Equilibrium does not currently support any key other than `spec` next to `apiVersion`, `kind`, and `metadata` in\n  a resource definition. This means Equilibrium cannot be used to deserialize actual Kubernetes `Secret` of `Config`\n  resources.\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "",
    "version": "0.7.2",
    "project_urls": {
        "Bug Tracker": "https://github.com/NiklasRosenstein/python-equilibrium/issues",
        "Homepage": "https://github.com/NiklasRosenstein/python-equilibrium",
        "Repository": "https://github.com/NiklasRosenstein/python-equilibrium"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5cbfedcbbe5b81649cd26bdcbf104b6ce953766a72cf8ca6e4a527ce60b7e9fb",
                "md5": "245dae7e86cd22c4dfcb05dc82a1010f",
                "sha256": "749aca39216ed621ef588015ea341a1a5a560137ba4c1b030bdda4bfe9fb3310"
            },
            "downloads": -1,
            "filename": "python_equilibrium-0.7.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "245dae7e86cd22c4dfcb05dc82a1010f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 28611,
            "upload_time": "2023-06-29T22:37:15",
            "upload_time_iso_8601": "2023-06-29T22:37:15.262596Z",
            "url": "https://files.pythonhosted.org/packages/5c/bf/edcbbe5b81649cd26bdcbf104b6ce953766a72cf8ca6e4a527ce60b7e9fb/python_equilibrium-0.7.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5af5a066e40bd8dd031ffd9b2931c4336ab5f6e434e8bcc378855694b3479a0e",
                "md5": "f944b8583da863e372abfcd8d5ba4d3f",
                "sha256": "34602354b84b7321117ef5617177b9a459d0e30391044b60077dc4b94f04bbaa"
            },
            "downloads": -1,
            "filename": "python_equilibrium-0.7.2.tar.gz",
            "has_sig": false,
            "md5_digest": "f944b8583da863e372abfcd8d5ba4d3f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 21803,
            "upload_time": "2023-06-29T22:37:17",
            "upload_time_iso_8601": "2023-06-29T22:37:17.183025Z",
            "url": "https://files.pythonhosted.org/packages/5a/f5/a066e40bd8dd031ffd9b2931c4336ab5f6e434e8bcc378855694b3479a0e/python_equilibrium-0.7.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-29 22:37:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "NiklasRosenstein",
    "github_project": "python-equilibrium",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "python-equilibrium"
}
        
Elapsed time: 0.08685s