myscelium-crypto 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.
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.4
2
+ Name: myscelium-crypto
3
+ Version: 0.0.1
4
+ Summary: Cryptographic policy boundary 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,cryptography,security,networking
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-crypto
19
+
20
+ Cryptographic policy boundary for the Myscelium Python platform.
21
+
22
+ Version `0.0.1` deliberately selects no cryptographic implementation. It gives
23
+ other packages a typed policy boundary without presenting placeholder crypto as
24
+ production security.
25
+
26
+ ```python
27
+ from myscelium_crypto import CRYPTO_POLICIES, validate_crypto_policy
28
+
29
+ print(CRYPTO_POLICIES)
30
+ validate_crypto_policy("unspecified")
31
+ ```
@@ -0,0 +1,14 @@
1
+ # myscelium-crypto
2
+
3
+ Cryptographic policy boundary for the Myscelium Python platform.
4
+
5
+ Version `0.0.1` deliberately selects no cryptographic implementation. It gives
6
+ other packages a typed policy boundary without presenting placeholder crypto as
7
+ production security.
8
+
9
+ ```python
10
+ from myscelium_crypto import CRYPTO_POLICIES, validate_crypto_policy
11
+
12
+ print(CRYPTO_POLICIES)
13
+ validate_crypto_policy("unspecified")
14
+ ```
@@ -0,0 +1,32 @@
1
+ [build-system]
2
+ requires = ["setuptools>=77", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "myscelium-crypto"
7
+ version = "0.0.1"
8
+ description = "Cryptographic policy boundary 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", "cryptography", "security", "networking"]
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_crypto = ["py.typed"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,17 @@
1
+ """Cryptographic policy boundary for the Myscelium platform."""
2
+
3
+ from typing import Final, Literal, cast
4
+
5
+ CryptoPolicy = Literal["unspecified"]
6
+ CRYPTO_POLICIES: Final[tuple[CryptoPolicy, ...]] = ("unspecified",)
7
+
8
+
9
+ def validate_crypto_policy(policy: str) -> CryptoPolicy:
10
+ """Validate and return a cryptographic policy selection."""
11
+ if policy not in CRYPTO_POLICIES:
12
+ raise ValueError("policy must be 'unspecified'")
13
+ return cast(CryptoPolicy, policy)
14
+
15
+
16
+ __all__ = ["CRYPTO_POLICIES", "CryptoPolicy", "validate_crypto_policy"]
17
+ __version__ = "0.0.1"
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.4
2
+ Name: myscelium-crypto
3
+ Version: 0.0.1
4
+ Summary: Cryptographic policy boundary 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,cryptography,security,networking
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-crypto
19
+
20
+ Cryptographic policy boundary for the Myscelium Python platform.
21
+
22
+ Version `0.0.1` deliberately selects no cryptographic implementation. It gives
23
+ other packages a typed policy boundary without presenting placeholder crypto as
24
+ production security.
25
+
26
+ ```python
27
+ from myscelium_crypto import CRYPTO_POLICIES, validate_crypto_policy
28
+
29
+ print(CRYPTO_POLICIES)
30
+ validate_crypto_policy("unspecified")
31
+ ```
@@ -0,0 +1,8 @@
1
+ README.md
2
+ pyproject.toml
3
+ src/myscelium_crypto/__init__.py
4
+ src/myscelium_crypto/py.typed
5
+ src/myscelium_crypto.egg-info/PKG-INFO
6
+ src/myscelium_crypto.egg-info/SOURCES.txt
7
+ src/myscelium_crypto.egg-info/dependency_links.txt
8
+ src/myscelium_crypto.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ myscelium_crypto