Elastic Framework Builder
Project description
Welcome to SPOC
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
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
spoc-0.2.3.tar.gz
(14.6 kB
view hashes)
Built Distribution
spoc-0.2.3-py3-none-any.whl
(18.7 kB
view hashes)