myscelium-core 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_core-0.0.1/PKG-INFO +30 -0
- myscelium_core-0.0.1/README.md +13 -0
- myscelium_core-0.0.1/pyproject.toml +32 -0
- myscelium_core-0.0.1/setup.cfg +4 -0
- myscelium_core-0.0.1/src/myscelium_core/__init__.py +24 -0
- myscelium_core-0.0.1/src/myscelium_core/py.typed +1 -0
- myscelium_core-0.0.1/src/myscelium_core.egg-info/PKG-INFO +30 -0
- myscelium_core-0.0.1/src/myscelium_core.egg-info/SOURCES.txt +8 -0
- myscelium_core-0.0.1/src/myscelium_core.egg-info/dependency_links.txt +1 -0
- myscelium_core-0.0.1/src/myscelium_core.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: myscelium-core
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Core identities and primitives 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,core,networking,distributed-systems
|
|
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-core
|
|
19
|
+
|
|
20
|
+
Core identities and primitives for the Myscelium Python platform.
|
|
21
|
+
|
|
22
|
+
Version `0.0.1` provides a validated package identity while the broader native
|
|
23
|
+
bindings are being developed. APIs may change before the first stable release.
|
|
24
|
+
|
|
25
|
+
```python
|
|
26
|
+
from myscelium_core import IDENTITY, PackageIdentity
|
|
27
|
+
|
|
28
|
+
integration = PackageIdentity(name="my-integration", version="1.0.0")
|
|
29
|
+
print(IDENTITY, integration)
|
|
30
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# myscelium-core
|
|
2
|
+
|
|
3
|
+
Core identities and primitives for the Myscelium Python platform.
|
|
4
|
+
|
|
5
|
+
Version `0.0.1` provides a validated package identity while the broader native
|
|
6
|
+
bindings are being developed. APIs may change before the first stable release.
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from myscelium_core import IDENTITY, PackageIdentity
|
|
10
|
+
|
|
11
|
+
integration = PackageIdentity(name="my-integration", version="1.0.0")
|
|
12
|
+
print(IDENTITY, integration)
|
|
13
|
+
```
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=77", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "myscelium-core"
|
|
7
|
+
version = "0.0.1"
|
|
8
|
+
description = "Core identities and primitives 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", "core", "networking", "distributed-systems"]
|
|
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_core = ["py.typed"]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""Core identities and primitives for the Myscelium platform."""
|
|
2
|
+
|
|
3
|
+
from dataclasses import dataclass
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
@dataclass(frozen=True, slots=True)
|
|
7
|
+
class PackageIdentity:
|
|
8
|
+
"""Immutable identity for one member of the Myscelium package family."""
|
|
9
|
+
|
|
10
|
+
name: str
|
|
11
|
+
version: str
|
|
12
|
+
|
|
13
|
+
def __post_init__(self) -> None:
|
|
14
|
+
"""Reject empty or non-string identity fields."""
|
|
15
|
+
if not isinstance(self.name, str) or not self.name.strip():
|
|
16
|
+
raise TypeError("name must be a non-empty string")
|
|
17
|
+
if not isinstance(self.version, str) or not self.version.strip():
|
|
18
|
+
raise TypeError("version must be a non-empty string")
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
IDENTITY = PackageIdentity(name="myscelium-core", version="0.0.1")
|
|
22
|
+
|
|
23
|
+
__all__ = ["IDENTITY", "PackageIdentity"]
|
|
24
|
+
__version__ = "0.0.1"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: myscelium-core
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Core identities and primitives 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,core,networking,distributed-systems
|
|
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-core
|
|
19
|
+
|
|
20
|
+
Core identities and primitives for the Myscelium Python platform.
|
|
21
|
+
|
|
22
|
+
Version `0.0.1` provides a validated package identity while the broader native
|
|
23
|
+
bindings are being developed. APIs may change before the first stable release.
|
|
24
|
+
|
|
25
|
+
```python
|
|
26
|
+
from myscelium_core import IDENTITY, PackageIdentity
|
|
27
|
+
|
|
28
|
+
integration = PackageIdentity(name="my-integration", version="1.0.0")
|
|
29
|
+
print(IDENTITY, integration)
|
|
30
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
myscelium_core
|