radixly 0.1.0.dev0__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,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 rayakame
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,17 @@
1
+ Metadata-Version: 2.4
2
+ Name: radixly
3
+ Version: 0.1.0.dev0
4
+ Summary: Fast binary-to-text codecs for code-point-limited channels: base32768 and friends
5
+ Author-email: Christopher <github.android206@passmail.net>
6
+ License-Expression: MIT
7
+ Classifier: Development Status :: 3 - Alpha
8
+ Classifier: Intended Audience :: Developers
9
+ Classifier: Programming Language :: C
10
+ Classifier: Programming Language :: Python :: Implementation :: CPython
11
+ Classifier: Topic :: Software Development :: Libraries
12
+ Requires-Python: >=3.11
13
+ Description-Content-Type: text/markdown
14
+ License-File: LICENSE
15
+ Dynamic: license-file
16
+
17
+ # radixly
@@ -0,0 +1 @@
1
+ # radixly
@@ -0,0 +1,51 @@
1
+ [project]
2
+ name = "radixly"
3
+ version = "0.1.0.dev0"
4
+ description = "Fast binary-to-text codecs for code-point-limited channels: base32768 and friends"
5
+ readme = "README.md"
6
+ authors = [
7
+ { name = "Christopher", email = "github.android206@passmail.net" }
8
+ ]
9
+ requires-python = ">=3.11"
10
+ dependencies = []
11
+ license = "MIT"
12
+ license-files = ["LICENSE"]
13
+ classifiers = [
14
+ "Development Status :: 3 - Alpha",
15
+ "Intended Audience :: Developers",
16
+ "Programming Language :: C",
17
+ "Programming Language :: Python :: Implementation :: CPython",
18
+ "Topic :: Software Development :: Libraries",
19
+ ]
20
+
21
+ [build-system]
22
+ requires = ["setuptools >= 77.0.3"]
23
+ build-backend = "setuptools.build_meta"
24
+
25
+ [dependency-groups]
26
+ dev = [
27
+ { include-group = "nox" },
28
+ { include-group = "pytest" },
29
+ { include-group = "ruff" },
30
+ ]
31
+ nox = [
32
+ "nox>=2026.8.17",
33
+ ]
34
+ pytest = [
35
+ "pytest>=9.1.1",
36
+ ]
37
+ ruff = [
38
+ "ruff>=0.16.3",
39
+ ]
40
+
41
+ [tool.setuptools]
42
+ ext-modules = [
43
+ {name = "radixly._core", sources=["src/radixly/_core.c"]}
44
+ ]
45
+
46
+ # Keep C sources out of binary wheels; sdists still include them via ext-modules.
47
+ [tool.setuptools.exclude-package-data]
48
+ radixly = ["*.c"]
49
+
50
+ [tool.pytest.ini_options]
51
+ testpaths = ["tests"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,7 @@
1
+ """Fast binary-to-text codecs for code-point-limited channels."""
2
+
3
+ from radixly._about import __author__ as __author__
4
+ from radixly._about import __copyright__ as __copyright__
5
+ from radixly._about import __license__ as __license__
6
+ from radixly._about import __url__ as __url__
7
+ from radixly._about import __version__ as __version__
@@ -0,0 +1,28 @@
1
+ # Copyright (c) 2026-present rayakame
2
+ #
3
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ # of this software and associated documentation files (the "Software"), to deal
5
+ # in the Software without restriction, including without limitation the rights
6
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ # copies of the Software, and to permit persons to whom the Software is
8
+ # furnished to do so, subject to the following conditions:
9
+ #
10
+ # The above copyright notice and this permission notice shall be included in all
11
+ # copies or substantial portions of the Software.
12
+ #
13
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ # SOFTWARE.
20
+ from __future__ import annotations
21
+
22
+ import typing
23
+
24
+ __author__: typing.Final[str] = "rayakame"
25
+ __copyright__: typing.Final[str] = "2026-present, Rayakame"
26
+ __url__: typing.Final[str] = "https://github.com/rayakame/radixly"
27
+ __version__: typing.Final[str] = "0.1.0"
28
+ __license__: typing.Final[str] = "MIT"
@@ -0,0 +1,20 @@
1
+ #define PY_SSIZE_T_CLEAN
2
+ #include <Python.h>
3
+
4
+ static PyMethodDef radixly_methods[] = {
5
+ {NULL, NULL, 0, NULL},
6
+ };
7
+
8
+ static struct PyModuleDef radixly_module = {
9
+ .m_base = PyModuleDef_HEAD_INIT,
10
+ .m_name = "radixly._core",
11
+ .m_doc = "C implementations of radixly's encode/decode routines. Private module: import radixly's public API instead! Names and signatures here may change without notice.",
12
+ .m_size = 0,
13
+ .m_methods = radixly_methods,
14
+ };
15
+
16
+ PyMODINIT_FUNC
17
+ PyInit__core(void)
18
+ {
19
+ return PyModuleDef_Init(&radixly_module);
20
+ }
@@ -0,0 +1,17 @@
1
+ Metadata-Version: 2.4
2
+ Name: radixly
3
+ Version: 0.1.0.dev0
4
+ Summary: Fast binary-to-text codecs for code-point-limited channels: base32768 and friends
5
+ Author-email: Christopher <github.android206@passmail.net>
6
+ License-Expression: MIT
7
+ Classifier: Development Status :: 3 - Alpha
8
+ Classifier: Intended Audience :: Developers
9
+ Classifier: Programming Language :: C
10
+ Classifier: Programming Language :: Python :: Implementation :: CPython
11
+ Classifier: Topic :: Software Development :: Libraries
12
+ Requires-Python: >=3.11
13
+ Description-Content-Type: text/markdown
14
+ License-File: LICENSE
15
+ Dynamic: license-file
16
+
17
+ # radixly
@@ -0,0 +1,11 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ src/radixly/__init__.py
5
+ src/radixly/_about.py
6
+ src/radixly/_core.c
7
+ src/radixly.egg-info/PKG-INFO
8
+ src/radixly.egg-info/SOURCES.txt
9
+ src/radixly.egg-info/dependency_links.txt
10
+ src/radixly.egg-info/top_level.txt
11
+ tests/test_import.py
@@ -0,0 +1 @@
1
+ radixly
@@ -0,0 +1,15 @@
1
+ from importlib.machinery import EXTENSION_SUFFIXES
2
+
3
+
4
+ def test_import() -> None:
5
+ import radixly
6
+
7
+ assert radixly.__author__ == "rayakame"
8
+ assert radixly.__url__ == "https://github.com/rayakame/radixly"
9
+ assert radixly.__license__ == "MIT"
10
+
11
+
12
+ def test_extension_import() -> None:
13
+ import radixly._core
14
+
15
+ assert radixly._core.__file__.endswith(tuple(EXTENSION_SUFFIXES))