Skip to main content

Elastic Framework Builder

Project description

Welcome to SPOC

title-image

License: MIT Language GitHub PyPI Downloads


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


Example

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

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

spoc-0.2.3.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

spoc-0.2.3-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file spoc-0.2.3.tar.gz.

File metadata

  • Download URL: spoc-0.2.3.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.18.1 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for spoc-0.2.3.tar.gz
Algorithm Hash digest
SHA256 17c31dfd9925b4836ebd074ea1417b4c589bdefbe665215be90b49da7138e5b6
MD5 99d745f67db9d23c836ae9b67a97877c
BLAKE2b-256 f5e45dcabd500546f673d713bdeba544b478f580b497c9429bf8172f17cb780a

See more details on using hashes here.

File details

Details for the file spoc-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: spoc-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.18.1 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for spoc-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 35b1bc8860785b65f0d158e77c1b09ebf9775a75869faf1bea07ef9031a3cf5d
MD5 4a5e891b080d4e3540a43f086d4f9bdd
BLAKE2b-256 a1c9534fccdfd75e2370b7907db614b98c37b2654888f8b4abf3fecbca2b5b05

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