mycelium-hypha 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.
- mycelium_hypha-0.0.1/PKG-INFO +22 -0
- mycelium_hypha-0.0.1/README.md +6 -0
- mycelium_hypha-0.0.1/pyproject.toml +28 -0
- mycelium_hypha-0.0.1/setup.cfg +4 -0
- mycelium_hypha-0.0.1/src/mycelium_hypha/__init__.py +19 -0
- mycelium_hypha-0.0.1/src/mycelium_hypha/py.typed +0 -0
- mycelium_hypha-0.0.1/src/mycelium_hypha.egg-info/PKG-INFO +22 -0
- mycelium_hypha-0.0.1/src/mycelium_hypha.egg-info/SOURCES.txt +8 -0
- mycelium_hypha-0.0.1/src/mycelium_hypha.egg-info/dependency_links.txt +1 -0
- mycelium_hypha-0.0.1/src/mycelium_hypha.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mycelium-hypha
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Hypha networking-engine configuration primitives for Mycelium
|
|
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
|
+
Keywords: mycelium,hypha,networking,distributed-systems
|
|
10
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
|
+
Classifier: Typing :: Typed
|
|
14
|
+
Requires-Python: >=3.10
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
|
|
17
|
+
# mycelium-hypha
|
|
18
|
+
|
|
19
|
+
Typed configuration primitives for Hypha, Mycelium's planned networking engine.
|
|
20
|
+
|
|
21
|
+
Version `0.0.1` provides a small, usable network-profile facade while native
|
|
22
|
+
bindings are being developed. It does not start network services.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=77", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "mycelium-hypha"
|
|
7
|
+
version = "0.0.1"
|
|
8
|
+
description = "Hypha networking-engine configuration primitives for Mycelium"
|
|
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 = ["mycelium", "hypha", "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
|
+
|
|
27
|
+
[tool.setuptools.packages.find]
|
|
28
|
+
where = ["src"]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""Hypha networking-engine configuration primitives for Mycelium."""
|
|
2
|
+
|
|
3
|
+
from dataclasses import dataclass
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
@dataclass(frozen=True, slots=True)
|
|
7
|
+
class HyphaProfile:
|
|
8
|
+
"""Named network configuration exposed by one Hypha networking filament."""
|
|
9
|
+
|
|
10
|
+
network: str = "default"
|
|
11
|
+
|
|
12
|
+
def __post_init__(self) -> None:
|
|
13
|
+
"""Require a non-empty network profile name."""
|
|
14
|
+
if not self.network.strip():
|
|
15
|
+
raise ValueError("network must not be empty")
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
__all__ = ["HyphaProfile"]
|
|
19
|
+
__version__ = "0.0.1"
|
|
File without changes
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mycelium-hypha
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Hypha networking-engine configuration primitives for Mycelium
|
|
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
|
+
Keywords: mycelium,hypha,networking,distributed-systems
|
|
10
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
|
+
Classifier: Typing :: Typed
|
|
14
|
+
Requires-Python: >=3.10
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
|
|
17
|
+
# mycelium-hypha
|
|
18
|
+
|
|
19
|
+
Typed configuration primitives for Hypha, Mycelium's planned networking engine.
|
|
20
|
+
|
|
21
|
+
Version `0.0.1` provides a small, usable network-profile facade while native
|
|
22
|
+
bindings are being developed. It does not start network services.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
mycelium_hypha
|