spoc


Namespoc JSON
Version 0.2.3 PyPI version JSON
download
home_pageNone
SummaryElastic Framework Builder
upload_time2024-09-03 05:53:41
maintainerNone
docs_urlNone
authorNone
requires_python>=3.12
licenseMIT
keywords modular design python framework extensible framework plugin management
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Welcome to **SPOC**

<img src="https://raw.githubusercontent.com/hlop3z/spoc/main/docs/docs/assets/images/title.png" alt="title-image" width="100%" />

---

![License: MIT](https://img.shields.io/badge/License-MIT-purple.svg)
![Language](https://img.shields.io/github/languages/top/hlop3z/spoc)
![GitHub](https://img.shields.io/github/v/tag/hlop3z/spoc?label=github)
![PyPI](https://img.shields.io/pypi/v/spoc?color=blue)
![Downloads](https://img.shields.io/pypi/dm/spoc?color=darkgreen)

---

**SPOC** is a foundational framework designed to create dynamic and adaptable **`frameworks`**. It involves defining a schema for your **project**(s) and building upon that schema to create a flexible and powerful Application.

---

## Links

- [PyPi](https://pypi.org/project/spoc)
- [Github](https://github.com/hlop3z/spoc)
- [Read the Documents](https://hlop3z.github.io/spoc/)

---

## Example

```python
from typing import Any
import spoc

MODULES = ["models", "views"]

class MyFramework(spoc.Base):
    components: Any
    plugins: Any

    def init(self):
        """__init__ Replacement"""
        app = spoc.init(MODULES)

        # Assign components and plugins from the initialized app
        self.components = app.components
        self.plugins = app.plugins

    @staticmethod
    def keys():
        """Define a list of keys relevant to the framework"""
        return ("components", "plugins")
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "spoc",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "modular design, python framework, extensible framework, plugin management",
    "author": null,
    "author_email": "hlop3z <23062270+hlop3z@users.noreply.github.com>",
    "download_url": "https://files.pythonhosted.org/packages/f5/e4/5dcabd500546f673d713bdeba544b478f580b497c9429bf8172f17cb780a/spoc-0.2.3.tar.gz",
    "platform": null,
    "description": "# Welcome to **SPOC**\n\n<img src=\"https://raw.githubusercontent.com/hlop3z/spoc/main/docs/docs/assets/images/title.png\" alt=\"title-image\" width=\"100%\" />\n\n---\n\n![License: MIT](https://img.shields.io/badge/License-MIT-purple.svg)\n![Language](https://img.shields.io/github/languages/top/hlop3z/spoc)\n![GitHub](https://img.shields.io/github/v/tag/hlop3z/spoc?label=github)\n![PyPI](https://img.shields.io/pypi/v/spoc?color=blue)\n![Downloads](https://img.shields.io/pypi/dm/spoc?color=darkgreen)\n\n---\n\n**SPOC** is a foundational framework designed to create dynamic and adaptable **`frameworks`**. It involves defining a schema for your **project**(s) and building upon that schema to create a flexible and powerful Application.\n\n---\n\n## Links\n\n- [PyPi](https://pypi.org/project/spoc)\n- [Github](https://github.com/hlop3z/spoc)\n- [Read the Documents](https://hlop3z.github.io/spoc/)\n\n---\n\n## Example\n\n```python\nfrom typing import Any\nimport spoc\n\nMODULES = [\"models\", \"views\"]\n\nclass MyFramework(spoc.Base):\n    components: Any\n    plugins: Any\n\n    def init(self):\n        \"\"\"__init__ Replacement\"\"\"\n        app = spoc.init(MODULES)\n\n        # Assign components and plugins from the initialized app\n        self.components = app.components\n        self.plugins = app.plugins\n\n    @staticmethod\n    def keys():\n        \"\"\"Define a list of keys relevant to the framework\"\"\"\n        return (\"components\", \"plugins\")\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Elastic Framework Builder",
    "version": "0.2.3",
    "project_urls": {
        "Documentation": "https://hlop3z.github.io/spoc/",
        "Homepage": "https://github.com/hlop3z/spoc/",
        "Repository": "https://github.com/hlop3z/spoc/"
    },
    "split_keywords": [
        "modular design",
        " python framework",
        " extensible framework",
        " plugin management"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a1c9534fccdfd75e2370b7907db614b98c37b2654888f8b4abf3fecbca2b5b05",
                "md5": "4a5e891b080d4e3540a43f086d4f9bdd",
                "sha256": "35b1bc8860785b65f0d158e77c1b09ebf9775a75869faf1bea07ef9031a3cf5d"
            },
            "downloads": -1,
            "filename": "spoc-0.2.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4a5e891b080d4e3540a43f086d4f9bdd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 18689,
            "upload_time": "2024-09-03T05:53:40",
            "upload_time_iso_8601": "2024-09-03T05:53:40.682357Z",
            "url": "https://files.pythonhosted.org/packages/a1/c9/534fccdfd75e2370b7907db614b98c37b2654888f8b4abf3fecbca2b5b05/spoc-0.2.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f5e45dcabd500546f673d713bdeba544b478f580b497c9429bf8172f17cb780a",
                "md5": "99d745f67db9d23c836ae9b67a97877c",
                "sha256": "17c31dfd9925b4836ebd074ea1417b4c589bdefbe665215be90b49da7138e5b6"
            },
            "downloads": -1,
            "filename": "spoc-0.2.3.tar.gz",
            "has_sig": false,
            "md5_digest": "99d745f67db9d23c836ae9b67a97877c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 14627,
            "upload_time": "2024-09-03T05:53:41",
            "upload_time_iso_8601": "2024-09-03T05:53:41.940769Z",
            "url": "https://files.pythonhosted.org/packages/f5/e4/5dcabd500546f673d713bdeba544b478f580b497c9429bf8172f17cb780a/spoc-0.2.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-03 05:53:41",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hlop3z",
    "github_project": "spoc",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "spoc"
}
        
Elapsed time: 0.32003s