regorator 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.
regorator-0.1/PKG-INFO ADDED
@@ -0,0 +1,22 @@
1
+ Metadata-Version: 2.1
2
+ Name: regorator
3
+ Version: 0.1
4
+ Summary: A Python Registry and Decorator System
5
+ Author-email: Pedro Henrique Coimbra <pedro-henrique.herig-coimbra@inrae.fr>
6
+ License: EUPL-1.2
7
+ Project-URL: Homepage, https://github.com/pedrohenriquecoimbra/regorator
8
+ Keywords: register,registry,decorator
9
+ Classifier: License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Environment :: Other Environment
12
+ Classifier: Framework :: Jupyter
13
+ Classifier: Intended Audience :: Science/Research
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.8
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Topic :: Other/Nonlisted Topic
@@ -0,0 +1,20 @@
1
+ # Regorator: A Python Registry and Decorator System
2
+
3
+ **Regorator** is a lightweight Python module for creating and managing registries of functions and methods using decorators. It simplifies dynamic method registration, retrieval, and application, making it ideal for plugin systems, correction routines, or extensible architectures.
4
+
5
+ ---
6
+
7
+ ## Features
8
+
9
+ - **Dynamic Registration**: Register functions or methods with custom names and descriptions.
10
+ - **Decorator-Based**: Use Python decorators for clean, intuitive syntax.
11
+ - **Flexible Retrieval**: Retrieve registered methods by name.
12
+ - **Extensible**: Easily add methods dynamically to classes or instances.
13
+ - **Self-Documenting**: Supports custom descriptions for registered items.
14
+
15
+ ---
16
+
17
+ ## Installation
18
+
19
+ ```bash
20
+ pip install regorator
@@ -0,0 +1,45 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "regorator"
7
+ dynamic = ["version"]
8
+ description = "A Python Registry and Decorator System"
9
+ authors = [
10
+ { name = "Pedro Henrique Coimbra", email = "pedro-henrique.herig-coimbra@inrae.fr" }
11
+ ]
12
+ keywords = ["register", "registry", "decorator"]
13
+ license = { text = "EUPL-1.2" }
14
+ classifiers = [
15
+ "License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)",
16
+ "Development Status :: 4 - Beta",
17
+ "Environment :: Other Environment",
18
+ "Framework :: Jupyter",
19
+ "Intended Audience :: Science/Research",
20
+ "Programming Language :: Python",
21
+ "Programming Language :: Python :: 3",
22
+ "Programming Language :: Python :: 3.8",
23
+ "Programming Language :: Python :: 3.9",
24
+ "Programming Language :: Python :: 3.10",
25
+ "Programming Language :: Python :: 3.11",
26
+ "Programming Language :: Python :: 3.12",
27
+ "Programming Language :: Python :: 3.13",
28
+ "Topic :: Other/Nonlisted Topic",
29
+ ]
30
+ # requires-python = ">=3.8"
31
+ # dependencies = [
32
+ # ]
33
+
34
+ [project.urls]
35
+ Homepage = "https://github.com/pedrohenriquecoimbra/regorator"
36
+
37
+ [tool.setuptools]
38
+ packages = ["regorator"]
39
+ exclude-package-data = { "regorator" = ["deprecated*"] }
40
+ include-package-data = true
41
+
42
+ [tool.setuptools.dynamic]
43
+ version = { attr = "regorator.version.__version__" }
44
+ description = { file = "README.md" }
45
+ # long_description = { file = "README.md", content-type = "text/markdown" }
@@ -0,0 +1,2 @@
1
+ from .core.main import *
2
+ from . import version
@@ -0,0 +1,6 @@
1
+ version = "0.1"
2
+ __version__ = version
3
+ full_version = version
4
+
5
+ release = 'dev' not in version and '+' not in version
6
+ short_version = version.split("+")[0]
@@ -0,0 +1,22 @@
1
+ Metadata-Version: 2.1
2
+ Name: regorator
3
+ Version: 0.1
4
+ Summary: A Python Registry and Decorator System
5
+ Author-email: Pedro Henrique Coimbra <pedro-henrique.herig-coimbra@inrae.fr>
6
+ License: EUPL-1.2
7
+ Project-URL: Homepage, https://github.com/pedrohenriquecoimbra/regorator
8
+ Keywords: register,registry,decorator
9
+ Classifier: License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Environment :: Other Environment
12
+ Classifier: Framework :: Jupyter
13
+ Classifier: Intended Audience :: Science/Research
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.8
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Topic :: Other/Nonlisted Topic
@@ -0,0 +1,8 @@
1
+ README.md
2
+ pyproject.toml
3
+ regorator/__init__.py
4
+ regorator/version.py
5
+ regorator.egg-info/PKG-INFO
6
+ regorator.egg-info/SOURCES.txt
7
+ regorator.egg-info/dependency_links.txt
8
+ regorator.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ regorator
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+