spoc 0.2.0__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- spoc-0.2.2/PKG-INFO +31 -0
- spoc-0.2.2/pyproject.toml +84 -0
- spoc-0.2.2/src/spoc/__about__.py +5 -0
- {spoc-0.2.0 → spoc-0.2.2}/src/spoc/__init__.py +0 -3
- spoc-0.2.0/.github/workflows/release.yml +0 -43
- spoc-0.2.0/.gitignore +0 -132
- spoc-0.2.0/.prettierignore +0 -1
- spoc-0.2.0/.pylintrc +0 -638
- spoc-0.2.0/MANIFEST.in +0 -5
- spoc-0.2.0/PKG-INFO +0 -19
- spoc-0.2.0/README-DEVS.md +0 -31
- spoc-0.2.0/docs/.gitignore +0 -1
- spoc-0.2.0/docs/custom_theme/css/extra.css +0 -57
- spoc-0.2.0/docs/custom_theme/main.html +0 -14
- spoc-0.2.0/docs/docs/api/framework.md +0 -31
- spoc-0.2.0/docs/docs/api/utils.md +0 -19
- spoc-0.2.0/docs/docs/api/workers.md +0 -19
- spoc-0.2.0/docs/docs/assets/images/logo.png +0 -0
- spoc-0.2.0/docs/docs/assets/images/title.png +0 -0
- spoc-0.2.0/docs/docs/constants.md +0 -91
- spoc-0.2.0/docs/docs/getting-started/component.md +0 -53
- spoc-0.2.0/docs/docs/getting-started/framework.md +0 -65
- spoc-0.2.0/docs/docs/getting-started/overview.md +0 -49
- spoc-0.2.0/docs/docs/getting-started/plugins.md +0 -21
- spoc-0.2.0/docs/docs/getting-started/project.md +0 -223
- spoc-0.2.0/docs/docs/getting-started/testing.md +0 -21
- spoc-0.2.0/docs/docs/index.md +0 -156
- spoc-0.2.0/docs/macros.py +0 -50
- spoc-0.2.0/docs/mkdocs.yml +0 -145
- spoc-0.2.0/pyproject.toml +0 -46
- spoc-0.2.0/scripts/docs.py +0 -84
- spoc-0.2.0/scripts/linter.py +0 -125
- spoc-0.2.0/scripts/tests.py +0 -59
- spoc-0.2.0/tests/__init__.py +0 -0
- spoc-0.2.0/tests/apps/demo/__init__.py +0 -0
- spoc-0.2.0/tests/apps/demo/commands.py +0 -16
- spoc-0.2.0/tests/apps/demo/middleware.py +0 -9
- spoc-0.2.0/tests/apps/demo/views.py +0 -6
- spoc-0.2.0/tests/config/__init__.py +0 -4
- spoc-0.2.0/tests/config/settings.py +0 -17
- spoc-0.2.0/tests/config/spoc.toml +0 -15
- spoc-0.2.0/tests/framework/__init__.py +0 -12
- spoc-0.2.0/tests/framework/components.py +0 -39
- spoc-0.2.0/tests/framework/framework.py +0 -65
- spoc-0.2.0/tests/main.py +0 -92
- spoc-0.2.0/uv.lock +0 -857
- {spoc-0.2.0 → spoc-0.2.2}/LICENSE +0 -0
- {spoc-0.2.0 → spoc-0.2.2}/README.md +0 -0
- {spoc-0.2.0 → spoc-0.2.2}/src/spoc/components.py +0 -0
- {spoc-0.2.0 → spoc-0.2.2}/src/spoc/framework.py +0 -0
- {spoc-0.2.0 → spoc-0.2.2}/src/spoc/importer/__init__.py +0 -0
- {spoc-0.2.0 → spoc-0.2.2}/src/spoc/importer/base.py +0 -0
- {spoc-0.2.0 → spoc-0.2.2}/src/spoc/importer/frozendict.py +0 -0
- {spoc-0.2.0 → spoc-0.2.2}/src/spoc/importer/get_spoc.py +0 -0
- {spoc-0.2.0 → spoc-0.2.2}/src/spoc/importer/tools.py +0 -0
- {spoc-0.2.0 → spoc-0.2.2}/src/spoc/importer/types.py +0 -0
- {spoc-0.2.0 → spoc-0.2.2}/src/spoc/inject.py +0 -0
- {spoc-0.2.0 → spoc-0.2.2}/src/spoc/installer.py +0 -0
- {spoc-0.2.0 → spoc-0.2.2}/src/spoc/py.typed +0 -0
- {spoc-0.2.0 → spoc-0.2.2}/src/spoc/singleton.py +0 -0
- {spoc-0.2.0 → spoc-0.2.2}/src/spoc/toml_core.py +0 -0
- {spoc-0.2.0 → spoc-0.2.2}/src/spoc/workers.py +0 -0
spoc-0.2.2/PKG-INFO
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: spoc
|
|
3
|
+
Version: 0.2.2
|
|
4
|
+
Summary: Elastic Framework Builder
|
|
5
|
+
Keywords: modular design,python framework,extensible framework,plugin management
|
|
6
|
+
Author-Email: hlop3z <23062270+hlop3z@users.noreply.github.com>
|
|
7
|
+
License: MIT
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Intended Audience :: Information Technology
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Topic :: Internet
|
|
15
|
+
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
16
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
17
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
18
|
+
Classifier: Topic :: Software Development
|
|
19
|
+
Classifier: Typing :: Typed
|
|
20
|
+
Project-URL: Homepage, https://github.com/hlop3z/spoc/
|
|
21
|
+
Project-URL: Documentation, https://hlop3z.github.io/spoc/
|
|
22
|
+
Requires-Python: >=3.12
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
|
|
25
|
+
# Welcome to **Spoc**
|
|
26
|
+
|
|
27
|
+
## Links
|
|
28
|
+
|
|
29
|
+
- ### [PyPi](https://pypi.org/project/spoc)
|
|
30
|
+
- ### [Github](https://github.com/hlop3z/spoc)
|
|
31
|
+
- ### [Read the Documents](https://hlop3z.github.io/spoc/)
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = [
|
|
3
|
+
"pdm-backend",
|
|
4
|
+
]
|
|
5
|
+
build-backend = "pdm.backend"
|
|
6
|
+
|
|
7
|
+
[project]
|
|
8
|
+
name = "spoc"
|
|
9
|
+
dynamic = []
|
|
10
|
+
description = "Elastic Framework Builder"
|
|
11
|
+
requires-python = ">=3.12"
|
|
12
|
+
readme = "README.md"
|
|
13
|
+
authors = [
|
|
14
|
+
{ name = "hlop3z", email = "23062270+hlop3z@users.noreply.github.com" },
|
|
15
|
+
]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 4 - Beta",
|
|
18
|
+
"Intended Audience :: Developers",
|
|
19
|
+
"Intended Audience :: Information Technology",
|
|
20
|
+
"License :: OSI Approved :: MIT License",
|
|
21
|
+
"Operating System :: OS Independent",
|
|
22
|
+
"Programming Language :: Python :: 3.12",
|
|
23
|
+
"Topic :: Internet",
|
|
24
|
+
"Topic :: Software Development :: Libraries :: Application Frameworks",
|
|
25
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
26
|
+
"Topic :: Software Development :: Libraries",
|
|
27
|
+
"Topic :: Software Development",
|
|
28
|
+
"Typing :: Typed",
|
|
29
|
+
]
|
|
30
|
+
keywords = [
|
|
31
|
+
"modular design",
|
|
32
|
+
"python framework",
|
|
33
|
+
"extensible framework",
|
|
34
|
+
"plugin management",
|
|
35
|
+
]
|
|
36
|
+
dependencies = []
|
|
37
|
+
version = "0.2.2"
|
|
38
|
+
|
|
39
|
+
[project.license]
|
|
40
|
+
text = "MIT"
|
|
41
|
+
|
|
42
|
+
[project.urls]
|
|
43
|
+
Homepage = "https://github.com/hlop3z/spoc/"
|
|
44
|
+
Documentation = "https://hlop3z.github.io/spoc/"
|
|
45
|
+
|
|
46
|
+
[project.scripts]
|
|
47
|
+
spoc-init = "spoc:start_project"
|
|
48
|
+
|
|
49
|
+
[tool.pdm]
|
|
50
|
+
distribution = true
|
|
51
|
+
|
|
52
|
+
[tool.pdm.version]
|
|
53
|
+
source = "file"
|
|
54
|
+
path = "src/spoc/__about__.py"
|
|
55
|
+
|
|
56
|
+
[tool.pdm.build]
|
|
57
|
+
excludes = [
|
|
58
|
+
"tests",
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
[tool.pdm.dev-dependencies]
|
|
62
|
+
lint = [
|
|
63
|
+
"pyright>=1.1.377",
|
|
64
|
+
"mypy>=1.11.1",
|
|
65
|
+
"isort>=5.13.2",
|
|
66
|
+
"black>=24.8.0",
|
|
67
|
+
"pylint>=3.2.6",
|
|
68
|
+
"ruff>=0.6.2",
|
|
69
|
+
"bandit>=1.7.9",
|
|
70
|
+
"watchdog>=4.0.2",
|
|
71
|
+
"ssort>=0.13.0",
|
|
72
|
+
]
|
|
73
|
+
docs = [
|
|
74
|
+
"mkdocs>=1.6.0",
|
|
75
|
+
"mkdocs-material>=9.5.32",
|
|
76
|
+
"mkdocs-macros-plugin>=1.0.5",
|
|
77
|
+
"mkdocstrings[python]>=0.25.2",
|
|
78
|
+
"termynal>=0.12.1",
|
|
79
|
+
]
|
|
80
|
+
test = [
|
|
81
|
+
"pytest>=7.1.2",
|
|
82
|
+
"pytest-asyncio>=0.19.0",
|
|
83
|
+
"pytest-json-report>=1.5.0",
|
|
84
|
+
]
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
name: Upload Release to PyPI
|
|
2
|
-
|
|
3
|
-
# on: workflow_dispatch
|
|
4
|
-
on:
|
|
5
|
-
workflow_dispatch: # Manually triggered
|
|
6
|
-
push:
|
|
7
|
-
tags:
|
|
8
|
-
- v* # Automatically triggered on tags that match the pattern
|
|
9
|
-
|
|
10
|
-
permissions:
|
|
11
|
-
contents: read
|
|
12
|
-
|
|
13
|
-
jobs:
|
|
14
|
-
pypi-publish:
|
|
15
|
-
name: Publish to PyPI
|
|
16
|
-
runs-on: ubuntu-latest
|
|
17
|
-
|
|
18
|
-
environment:
|
|
19
|
-
name: pypi
|
|
20
|
-
url: https://pypi.org/p/spoc
|
|
21
|
-
|
|
22
|
-
permissions:
|
|
23
|
-
contents: read # Required for accessing repository contents
|
|
24
|
-
id-token: write # Required for GitHub Actions OIDC authentication
|
|
25
|
-
|
|
26
|
-
steps:
|
|
27
|
-
- name: Checkout Repository
|
|
28
|
-
uses: actions/checkout@v4
|
|
29
|
-
|
|
30
|
-
- name: Set up Python Environment
|
|
31
|
-
uses: actions/setup-python@v5
|
|
32
|
-
with:
|
|
33
|
-
python-version-file: "pyproject.toml"
|
|
34
|
-
|
|
35
|
-
- name: Install UV
|
|
36
|
-
run: curl -LsSf https://astral.sh/uv/0.3.5/install.sh | sh
|
|
37
|
-
|
|
38
|
-
- name: Build Python Package
|
|
39
|
-
run: uvx --from build pyproject-build --installer uv
|
|
40
|
-
|
|
41
|
-
- name: Publish to PyPI
|
|
42
|
-
uses: pypa/gh-action-pypi-publish@release/v1
|
|
43
|
-
# run: uvx twine upload dist/*
|
spoc-0.2.0/.gitignore
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
# Byte-compiled / optimized / DLL files
|
|
2
|
-
__pycache__/
|
|
3
|
-
*.py[cod]
|
|
4
|
-
*$py.class
|
|
5
|
-
|
|
6
|
-
# C extensions
|
|
7
|
-
*.so
|
|
8
|
-
|
|
9
|
-
# Distribution / packaging
|
|
10
|
-
.Python
|
|
11
|
-
build/
|
|
12
|
-
develop-eggs/
|
|
13
|
-
dist/
|
|
14
|
-
downloads/
|
|
15
|
-
eggs/
|
|
16
|
-
.eggs/
|
|
17
|
-
lib/
|
|
18
|
-
lib64/
|
|
19
|
-
parts/
|
|
20
|
-
sdist/
|
|
21
|
-
var/
|
|
22
|
-
wheels/
|
|
23
|
-
pip-wheel-metadata/
|
|
24
|
-
share/python-wheels/
|
|
25
|
-
*.egg-info/
|
|
26
|
-
.installed.cfg
|
|
27
|
-
*.egg
|
|
28
|
-
MANIFEST
|
|
29
|
-
|
|
30
|
-
# PyInstaller
|
|
31
|
-
# Usually these files are written by a python script from a template
|
|
32
|
-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
33
|
-
*.manifest
|
|
34
|
-
*.spec
|
|
35
|
-
|
|
36
|
-
# Installer logs
|
|
37
|
-
pip-log.txt
|
|
38
|
-
pip-delete-this-directory.txt
|
|
39
|
-
|
|
40
|
-
# Unit test / coverage reports
|
|
41
|
-
htmlcov/
|
|
42
|
-
.tox/
|
|
43
|
-
.nox/
|
|
44
|
-
.coverage
|
|
45
|
-
.coverage.*
|
|
46
|
-
.cache
|
|
47
|
-
nosetests.xml
|
|
48
|
-
coverage.xml
|
|
49
|
-
*.cover
|
|
50
|
-
*.py,cover
|
|
51
|
-
.hypothesis/
|
|
52
|
-
.pytest_cache/
|
|
53
|
-
|
|
54
|
-
# Translations
|
|
55
|
-
*.mo
|
|
56
|
-
*.pot
|
|
57
|
-
|
|
58
|
-
# Django stuff:
|
|
59
|
-
*.log
|
|
60
|
-
local_settings.py
|
|
61
|
-
db.sqlite3
|
|
62
|
-
db.sqlite3-journal
|
|
63
|
-
|
|
64
|
-
# Flask stuff:
|
|
65
|
-
instance/
|
|
66
|
-
.webassets-cache
|
|
67
|
-
|
|
68
|
-
# Scrapy stuff:
|
|
69
|
-
.scrapy
|
|
70
|
-
|
|
71
|
-
# Sphinx documentation
|
|
72
|
-
docs/_build/
|
|
73
|
-
|
|
74
|
-
# PyBuilder
|
|
75
|
-
target/
|
|
76
|
-
|
|
77
|
-
# Jupyter Notebook
|
|
78
|
-
.ipynb_checkpoints
|
|
79
|
-
|
|
80
|
-
# IPython
|
|
81
|
-
profile_default/
|
|
82
|
-
ipython_config.py
|
|
83
|
-
|
|
84
|
-
# pyenv
|
|
85
|
-
.python-version
|
|
86
|
-
|
|
87
|
-
# pipenv
|
|
88
|
-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
89
|
-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
90
|
-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
91
|
-
# install all needed dependencies.
|
|
92
|
-
#Pipfile.lock
|
|
93
|
-
|
|
94
|
-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
95
|
-
__pypackages__/
|
|
96
|
-
|
|
97
|
-
# Celery stuff
|
|
98
|
-
celerybeat-schedule
|
|
99
|
-
celerybeat.pid
|
|
100
|
-
|
|
101
|
-
# SageMath parsed files
|
|
102
|
-
*.sage.py
|
|
103
|
-
|
|
104
|
-
# Environments
|
|
105
|
-
.env
|
|
106
|
-
.venv
|
|
107
|
-
env/
|
|
108
|
-
venv/
|
|
109
|
-
ENV/
|
|
110
|
-
env.bak/
|
|
111
|
-
venv.bak/
|
|
112
|
-
|
|
113
|
-
# Spyder project settings
|
|
114
|
-
.spyderproject
|
|
115
|
-
.spyproject
|
|
116
|
-
|
|
117
|
-
# Rope project settings
|
|
118
|
-
.ropeproject
|
|
119
|
-
|
|
120
|
-
# mkdocs documentation
|
|
121
|
-
/site
|
|
122
|
-
|
|
123
|
-
# mypy
|
|
124
|
-
.mypy_cache/
|
|
125
|
-
.dmypy.json
|
|
126
|
-
dmypy.json
|
|
127
|
-
|
|
128
|
-
# Pyre type checker
|
|
129
|
-
.pyre/
|
|
130
|
-
.pdm-python
|
|
131
|
-
.pdm.toml
|
|
132
|
-
pdm.lock
|
spoc-0.2.0/.prettierignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
docs/docs/api/**/*.md
|