myscelium-macros 0.0.1__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.
- myscelium_macros-0.0.1/PKG-INFO +32 -0
- myscelium_macros-0.0.1/README.md +15 -0
- myscelium_macros-0.0.1/pyproject.toml +32 -0
- myscelium_macros-0.0.1/setup.cfg +4 -0
- myscelium_macros-0.0.1/src/myscelium_macros/__init__.py +14 -0
- myscelium_macros-0.0.1/src/myscelium_macros/py.typed +1 -0
- myscelium_macros-0.0.1/src/myscelium_macros.egg-info/PKG-INFO +32 -0
- myscelium_macros-0.0.1/src/myscelium_macros.egg-info/SOURCES.txt +8 -0
- myscelium_macros-0.0.1/src/myscelium_macros.egg-info/dependency_links.txt +1 -0
- myscelium_macros-0.0.1/src/myscelium_macros.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: myscelium-macros
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Transparent component declarations for the Myscelium platform
|
|
5
|
+
Author-email: Cristian Camargo Filho <ccf@cdone.com.br>
|
|
6
|
+
License-Expression: MPL-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/Myscelium/myscelium
|
|
8
|
+
Project-URL: Repository, https://github.com/Myscelium/myscelium
|
|
9
|
+
Project-URL: Issues, https://github.com/Myscelium/myscelium/issues
|
|
10
|
+
Keywords: myscelium,macros,decorators,components
|
|
11
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
14
|
+
Classifier: Typing :: Typed
|
|
15
|
+
Requires-Python: >=3.10
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
|
|
18
|
+
# myscelium-macros
|
|
19
|
+
|
|
20
|
+
Transparent component declarations for the Myscelium Python platform.
|
|
21
|
+
|
|
22
|
+
The bootstrap decorator returns the declared component unchanged. Future
|
|
23
|
+
releases may attach registration metadata while preserving the component API.
|
|
24
|
+
|
|
25
|
+
```python
|
|
26
|
+
from myscelium_macros import myscelium_component
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
@myscelium_component
|
|
30
|
+
class Worker:
|
|
31
|
+
pass
|
|
32
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# myscelium-macros
|
|
2
|
+
|
|
3
|
+
Transparent component declarations for the Myscelium Python platform.
|
|
4
|
+
|
|
5
|
+
The bootstrap decorator returns the declared component unchanged. Future
|
|
6
|
+
releases may attach registration metadata while preserving the component API.
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from myscelium_macros import myscelium_component
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@myscelium_component
|
|
13
|
+
class Worker:
|
|
14
|
+
pass
|
|
15
|
+
```
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=77", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "myscelium-macros"
|
|
7
|
+
version = "0.0.1"
|
|
8
|
+
description = "Transparent component declarations for the Myscelium platform"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
license = "MPL-2.0"
|
|
12
|
+
authors = [
|
|
13
|
+
{ name = "Cristian Camargo Filho", email = "ccf@cdone.com.br" },
|
|
14
|
+
]
|
|
15
|
+
keywords = ["myscelium", "macros", "decorators", "components"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
18
|
+
"Programming Language :: Python :: 3",
|
|
19
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
20
|
+
"Typing :: Typed",
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
[project.urls]
|
|
24
|
+
Homepage = "https://github.com/Myscelium/myscelium"
|
|
25
|
+
Repository = "https://github.com/Myscelium/myscelium"
|
|
26
|
+
Issues = "https://github.com/Myscelium/myscelium/issues"
|
|
27
|
+
|
|
28
|
+
[tool.setuptools.packages.find]
|
|
29
|
+
where = ["src"]
|
|
30
|
+
|
|
31
|
+
[tool.setuptools.package-data]
|
|
32
|
+
myscelium_macros = ["py.typed"]
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"""Transparent component declarations for the Myscelium platform."""
|
|
2
|
+
|
|
3
|
+
from typing import TypeVar
|
|
4
|
+
|
|
5
|
+
Component = TypeVar("Component")
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def myscelium_component(component: Component) -> Component:
|
|
9
|
+
"""Mark a component without transforming it."""
|
|
10
|
+
return component
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
__all__ = ["myscelium_component"]
|
|
14
|
+
__version__ = "0.0.1"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: myscelium-macros
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Transparent component declarations for the Myscelium platform
|
|
5
|
+
Author-email: Cristian Camargo Filho <ccf@cdone.com.br>
|
|
6
|
+
License-Expression: MPL-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/Myscelium/myscelium
|
|
8
|
+
Project-URL: Repository, https://github.com/Myscelium/myscelium
|
|
9
|
+
Project-URL: Issues, https://github.com/Myscelium/myscelium/issues
|
|
10
|
+
Keywords: myscelium,macros,decorators,components
|
|
11
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
14
|
+
Classifier: Typing :: Typed
|
|
15
|
+
Requires-Python: >=3.10
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
|
|
18
|
+
# myscelium-macros
|
|
19
|
+
|
|
20
|
+
Transparent component declarations for the Myscelium Python platform.
|
|
21
|
+
|
|
22
|
+
The bootstrap decorator returns the declared component unchanged. Future
|
|
23
|
+
releases may attach registration metadata while preserving the component API.
|
|
24
|
+
|
|
25
|
+
```python
|
|
26
|
+
from myscelium_macros import myscelium_component
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
@myscelium_component
|
|
30
|
+
class Worker:
|
|
31
|
+
pass
|
|
32
|
+
```
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
README.md
|
|
2
|
+
pyproject.toml
|
|
3
|
+
src/myscelium_macros/__init__.py
|
|
4
|
+
src/myscelium_macros/py.typed
|
|
5
|
+
src/myscelium_macros.egg-info/PKG-INFO
|
|
6
|
+
src/myscelium_macros.egg-info/SOURCES.txt
|
|
7
|
+
src/myscelium_macros.egg-info/dependency_links.txt
|
|
8
|
+
src/myscelium_macros.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
myscelium_macros
|