arxglue


Namearxglue JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/jobsbka/gluecore
SummaryMinimalistic component composition interface
upload_time2025-08-01 00:07:46
maintainerNone
docs_urlNone
authorVKB Arcghitector
requires_python>=3.7
licenseApache 2.0
keywords composition components glue minimal architecture
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # arxglue

Minimalistic Component Composition Interface

[![Apache License 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Python Versions](https://img.shields.io/pypi/pyversions/arxglue.svg)](https://pypi.org/project/arxglue/)
[![GitHub]](https://github.com/Jobsbka/arxglue)

```bash
pip install arxglue

Why arxglue?
Minimal Core: Only essential primitives (Component, Connection)

Zero Dependencies: Pure Python, no external packages

Framework Agnostic: Works with any Python code

Extremely Flexible: From simple scripts to complex systems

Apache 2.0 Licensed: Permissive for commercial use

Core Concepts
python
from arxglue import connect, execute_linear

# Any callable is a component
def uppercase(text: str) -> str:
    return text.upper()

# Create connections
connection = connect(uppercase, print)

# Execute sequentially
execute_linear([uppercase, print], "hello")
Advanced Patterns
python
# Group connections
def sensor1(): return 10
def sensor2(): return 20
def processor(data): return sum(data)

connect(
    source=(sensor1, sensor2),
    target=processor,
    transformer=lambda x, y: [x, y]
)

# Stateful processing
class ProcessingContext:
    def __init__(self, data):
        self.input = data
        self.output = None
        self.state = {}
        
    def __call__(self):
        self.output = process(self.input)
        self.state["processed"] = True



License
Apache License 2.0 - See LICENSE for details.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/jobsbka/gluecore",
    "name": "arxglue",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "composition, components, glue, minimal, architecture",
    "author": "VKB Arcghitector",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/aa/bf/eea58b2855c0dee196dc50b9c5a641a51a02e6816cb41b7793881f25c44b/arxglue-1.0.1.tar.gz",
    "platform": null,
    "description": "# arxglue\r\n\r\nMinimalistic Component Composition Interface\r\n\r\n[![Apache License 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\r\n[![Python Versions](https://img.shields.io/pypi/pyversions/arxglue.svg)](https://pypi.org/project/arxglue/)\r\n[![GitHub]](https://github.com/Jobsbka/arxglue)\r\n\r\n```bash\r\npip install arxglue\r\n\r\nWhy arxglue?\r\nMinimal Core: Only essential primitives (Component, Connection)\r\n\r\nZero Dependencies: Pure Python, no external packages\r\n\r\nFramework Agnostic: Works with any Python code\r\n\r\nExtremely Flexible: From simple scripts to complex systems\r\n\r\nApache 2.0 Licensed: Permissive for commercial use\r\n\r\nCore Concepts\r\npython\r\nfrom arxglue import connect, execute_linear\r\n\r\n# Any callable is a component\r\ndef uppercase(text: str) -> str:\r\n    return text.upper()\r\n\r\n# Create connections\r\nconnection = connect(uppercase, print)\r\n\r\n# Execute sequentially\r\nexecute_linear([uppercase, print], \"hello\")\r\nAdvanced Patterns\r\npython\r\n# Group connections\r\ndef sensor1(): return 10\r\ndef sensor2(): return 20\r\ndef processor(data): return sum(data)\r\n\r\nconnect(\r\n    source=(sensor1, sensor2),\r\n    target=processor,\r\n    transformer=lambda x, y: [x, y]\r\n)\r\n\r\n# Stateful processing\r\nclass ProcessingContext:\r\n    def __init__(self, data):\r\n        self.input = data\r\n        self.output = None\r\n        self.state = {}\r\n        \r\n    def __call__(self):\r\n        self.output = process(self.input)\r\n        self.state[\"processed\"] = True\r\n\r\n\r\n\r\nLicense\r\nApache License 2.0 - See LICENSE for details.\r\n",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "Minimalistic component composition interface",
    "version": "1.0.1",
    "project_urls": {
        "Homepage": "https://github.com/jobsbka/gluecore",
        "Source": "https://github.com/jobsbka/gluecore"
    },
    "split_keywords": [
        "composition",
        " components",
        " glue",
        " minimal",
        " architecture"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6b1919831ca158982f67717513d03132306e6d45a090897a238e349dec6ab8e9",
                "md5": "fbe51307b5f2e89ef00c7fdaeb5a2005",
                "sha256": "d4eafc5b9f2e3a12810a73438d4cbada0ed3f50f49de50ede7be62f96cd0bc3b"
            },
            "downloads": -1,
            "filename": "arxglue-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fbe51307b5f2e89ef00c7fdaeb5a2005",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 7508,
            "upload_time": "2025-08-01T00:07:45",
            "upload_time_iso_8601": "2025-08-01T00:07:45.349130Z",
            "url": "https://files.pythonhosted.org/packages/6b/19/19831ca158982f67717513d03132306e6d45a090897a238e349dec6ab8e9/arxglue-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "aabfeea58b2855c0dee196dc50b9c5a641a51a02e6816cb41b7793881f25c44b",
                "md5": "d2469ba9ce28676eaeb00fd3b4806e2a",
                "sha256": "1a1926a85ee54a27eb0bfd9c743dd567a50202760069c834f3ac08918bbd7223"
            },
            "downloads": -1,
            "filename": "arxglue-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "d2469ba9ce28676eaeb00fd3b4806e2a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 12861,
            "upload_time": "2025-08-01T00:07:46",
            "upload_time_iso_8601": "2025-08-01T00:07:46.603241Z",
            "url": "https://files.pythonhosted.org/packages/aa/bf/eea58b2855c0dee196dc50b9c5a641a51a02e6816cb41b7793881f25c44b/arxglue-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-01 00:07:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jobsbka",
    "github_project": "gluecore",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "arxglue"
}
        
Elapsed time: 1.59597s