registry-factory


Nameregistry-factory JSON
Version 0.1.3 PyPI version JSON
download
home_pagehttps://github.com/aidd-msca/registry-factory
SummaryRegistry pattern with factory for specifications to register generic modules.
upload_time2024-06-10 14:23:35
maintainerNone
docs_urlNone
authorPeter Hartog
requires_python<4.0,>=3.8
licenseMIT
keywords registry factory codebase module registry accreditation system
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # RegistryFactory

[![PyPI version](https://badge.fury.io/py/registry-factory.svg)](https://badge.fury.io/py/registry-factory)
[![PyPI](https://img.shields.io/github/license/aidd-msca/registry-factory)](LICENSE)
![PyPI](https://img.shields.io/pypi/pyversions/registry-factory)
[![GitHub Repo stars](https://img.shields.io/github/stars/aidd-msca/registry-factory)](https://github.com/aidd-msca/registry-factory/stargazers)

An abstract implementation of the software design pattern called Registry proposed by Hartog and Svensson et. al. (2024),
providing a factory for creating registries to organize categorically similar modules.

**[Installation](#installation)**
| **[Dependencies](#dependencies)**
| **[Usage](#usage)**
| **[Citation](#citation)**

### Overview

The registry design pattern provides a way to organize modular
functionalities dynamically and achieve a unified, reusable, and interchangeable interface.
It extends the Factory design pattern without the explicit class dependency.
Additionally, the registry supports optional meta information such as versioning, accreditation,
testing, etc.
The UML diagrams show the differences between the factory and registry patterns.

<p align="center">
  <br>
  <img alt="UML diagram of the pattern" src="figures/registry_uml.png">
  <br>
<i>Created with BioRender.com</i>
 </p>

## Installation

The codebase can be installed from PyPI using `pip`, or your package manager of choice, with

```bash
$ pip install registry-factory
```

Or from a local clone, with

```bash
$ conda env create -f env-dev.yaml
$ conda activate registry_env
$ poetry install
```

## Dependencies

No third-party dependencies are required to use the minimal functionality of the RegistryFactory.

## Usage

The workflow of creating a registry is the following. 1) Identify a part of the code that can be
separated from the rest. 2) Modularize the section to be independent of the rest of the code. 3)
Create a registry from the RegistryFactory. 4) Register any modules that provide similar
functionalities. 5) Call the optional module from the registry from the main workflow. See below.

<p align="center">
  <br>
  <img alt="Workflow" src="figures/registry_creation.png" width="750">
  <br>
<i>Created with BioRender.com</i>
 </p>

Additional available options and use cases are described in the following sections. See also [examples](examples).

<!-- ### A basic registry -->
<details>
<summary> A basic registry </summary>
A simple registry is created as such.

```Python
from registry_factory.registry import Registry
```

Next, any models can be added to the registry as such.

```Python
import torch.nn as nn

@Registry.register("simple_model")
class SimpleModel(nn.Module):
    ...
```

</details>

<!-- ### Shared modules -->
<details>
<summary> Shared modules </summary>
To specify specific registries and have them share modules, we use the Factory class. Shared modules are modules that are used in multiple registries (e.g. a model and a module).

```Python
from registry_factory.factory import Factory

class Registries(Factory):
    ModelRegistry = Factory.create_registry("model_registry", shared=True)
    ModuleRegistry = Factory.create_registry("module_registry", shared=True)

@Registries.ModelRegistry.register("encoder")
class Encoder(nn.Module):
    ...

Registries.ModuleRegistry.get("encoder")
```

</details>

<!-- ### Arguments -->
<details>
<summary> Arguments </summary>
A registry can be created to store modules with arguments. The arguments can be set when registering a module.

```Python
from registry_factory.factory import Factory
from dataclasses import dataclass


class Registries(Factory):
    ModelRegistry = Factory.create_registry("model_registry", shared=True)

@Registries.ModelRegistry.register_arguments(key="simple_model")
@dataclass
class SimpleModelArguments:
    input_size: int
    output_size: int
```

Only dataclasses can be used as arguments for now.

</details>

<!-- ### Versioning and accreditation -->
<details>
<summary> Versioning and accreditation </summary>
Two examples of additional meta information that can be stored in a registry is module versioning
and accreditation regarding how and to who credit should be attributed the module.

Versioning can be used to keep track of changes in a module. The version can be set when registering a module.

```Python
from registry_factory.factory import Factory
from registry_factory.checks.versioning import Versioning

class Registries(Factory):
    ModelRegistry = Factory.create_registry(checks=[Versioning(forced=False)])

@Registries.ModelRegistry.register(call_name="simple_model", version="1.0.0")
class SimpleModel(nn.Module):
    ...

Registries.ModelRegistry.get("simple_model") # Error, version not specified.
Registries.ModelRegistry.get("simple_model", version="1.0.0") # Returns the module.
```

Accreditation can be used to keep track of how and to whom credit should be attributed for a given module.
The accreditation can be set when registering a module.

```Python
from registry_factory.factory import Factory
from registry_factory.checks.accreditation import Accreditation

class Registries(Factory):
    ModelRegistry = Factory.create_registry("model_registry", checks=[Accreditation(forced=False)])

@Registries.ModelRegistry.register(
    key="simple_model",
    author="Author name",
    credit_type="reference",
    additional_information="Reference published work in (link)."
)
class SimpleModel(nn.Module):
    ...

Registries.ModelRegistry.get("simple_model")  # Returns the module.
Registries.ModelRegistry.get_info("simple_model")  # Returns all meta information including the accreditation information.
```

The reason why the accreditation system can return an object without specification is because the accreditation system lacks "key" information.
In the versioning module, the version is the key information that is used to grab the module from the registry.
Without specifying the version the registry will not know which module to return.
Therefore, the author, credit type, and additional information are not key information in the accreditation system.
Without specifying the author, credit type, and additional information, the registry will still know which module to return.

</details>

<!-- ### Testing and Factory Patterns -->
<details>
<summary> Testing and Factory Patterns </summary>
We also provide defining tests and post-checks applied to all modules in a registry. Define test
or post checks as follows when creating the registry.

```Python
from registry_factory.factory import Factory
from registry_factory.checks.factory_pattern import FactoryPattern

class Pattern:
    """Test pattern."""

    def __init__(self):
        pass

    def hello_world(self):
        """Hello world."""
        print("Hello world")

class Registries(Factory):
    ModelRegistry = Factory.create_registry(
        "model_registry", shared=False, checks=[FactoryPattern(factory_pattern=Pattern, forced=False)]
    )

# No error, the module passes the test.
@ModelRegistry.register(key="hello_world")
class HelloWorld(Pattern):
    pass

# No error, the module passes the test.
@ModelRegistry.register(key="hello_world2")
class HelloWorld:
    def __init__(self):
        pass

    def hello_world(self):
        """Hello world."""
        print("Hello world")

# Error, the module does not pass the test.
@ModelRegistry.register(key="hello_world2")
class HelloWorld:
    def __init__(self):
        pass

    def goodday_world(self):
        """Good day world."""
        print("Good day world")
```

The factory also supports adding a callable test module to the registry. The callable test module can be specified to be called when a module is registered. The callable test module can be used to test the module when it is registered. The callable test module can be specified as follows when creating the registry.

```Python
from typing import Any
from registry_factory.factory import Factory
from registry_factory.checks.testing import Testing

class CallableTestModule:
    """Module to test."""

    def __init__(self, key: str, obj: Any, **kwargs):
        self.name = obj
        self.assert_name()

    def assert_name(self):
        assert self.name == "test", "Name is not test"



class Registries(Factory):
    ModelRegistry = Factory.create_registry(
        "model_registry", shared=False, checks=[Testing(test_module=CallableTestModule, forced=True)]
    )

Registries.ModelRegistry.register_prebuilt(key="name_test", obj="test") # No error, the module passes the test.
Registries.ModelRegistry.register_prebuilt(key="name_test", obj="not_test") # Error, the module doesn't pass the test.
```

</details>

<!-- ### Inserting hooks -->
<details>
<summary> Hooks insertions </summary>

Here we outline the use of registries in code to create hooks for outside users. The example given below contains a function unaccessible by users that have two options.

```Python
from registry_factory.registry import Registry

@Registry.register("option_1")
def option_1() -> int:
    return 1

@Registry.register("option_3")
def option_3() -> int:
    return 3

def _some_hidden_function(a: str) -> int:
    try:
        return print(Registry.get(f"option_{a}")())
    except Exception as e:
        raise RuntimeError("Error getting the option", e)
```

When a new users uses this code and selects option two, it will cause an error as it has not yet been implemented.

```Python
_some_hidden_function(1) # Returns 1
_some_hidden_function(3) # Returns 3
_some_hidden_function(2) # Error
```

Normally, this would be the end, but with registries, the user can easily create a new function that will solve the issue.

```Python
@Registry.register("option_2") # External user adds new option
def option_2() -> int:
    return 2

_some_hidden_function(2) # Returns 2
```

</details>

<!-- ### Compatibility wrapper -->

<details>
<summary> Compatibility wrapper </summary>

Another example of how to use registries, is to make two incompatible functions work through wrappers. Users can specify specific wrappers for functions and register them using the registry.

```Python
from registry_factory.factory import Factory

class Registries(Factory):
    ModelRegistry = Factory.create_registry(name="model_registry")

def func1():
    return "hello world"

def func2():
    return ["hello universe"]

def final_function(key: str) -> str:
    return Registries.ModelRegistry.get(key)()
```

Here the example will output the wrong versions if the objects are registered as is: one a string the other a list. You can easily use wrapper functions to register the objects in such a way that they output the correct types and become compatible.

```Python
# External user creates wrapper function to make both functions work with final function
def wrapper_function(func):
    def wrapper(*args, **kwargs):
        out = func(*args, **kwargs)
        if type(out) is list:
            return out[0]
        else:
            return out
    return wrapper

Registries.ModelRegistry.register_prebuilt(wrapper_function(func1), "world")
Registries.ModelRegistry.register_prebuilt(wrapper_function(func2), "universe")

print(final_function("world")) # -> Hello world
print(final_function("universe")) # -> Hello universe
```

</details>

## Citation

Our paper in which we propose the registry design pattern, on which this package is built, is currently
available as a preprint. If you use the design pattern or this package please cite our work accordingly.

[paper link]

<!-- ```
@inproceedings{hartog2023registry,
    title={Registry: a design pattern to promote code reuse in machine learning-based drug discovery},
    author={Hartog, Peter and Svensson, Emma and Mervin, Lewis and Genheden, Samuel and Engkvist, Ola and Tetko, Igor},
    year={2023},
    note={Preprint}
}
``` -->

### Funding

The work behind this package has received funding from the European Union’s Horizon 2020
research and innovation programme under the Marie Skłodowska-Curie
Actions, grant agreement “Advanced machine learning for Innovative Drug
Discovery (AIDD)” No 956832”. [Homepage](https://ai-dd.eu/).

![plot](figures/aidd.png)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/aidd-msca/registry-factory",
    "name": "registry-factory",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": null,
    "keywords": "registry, factory, codebase, module registry, accreditation system",
    "author": "Peter Hartog",
    "author_email": "peter.hartog@hotmail.nl",
    "download_url": "https://files.pythonhosted.org/packages/a4/c2/0a9e3b8821bebb6f22e67f29ab5ae6b32a7a4f4dc9a5173bac09a6d53974/registry_factory-0.1.3.tar.gz",
    "platform": null,
    "description": "# RegistryFactory\n\n[![PyPI version](https://badge.fury.io/py/registry-factory.svg)](https://badge.fury.io/py/registry-factory)\n[![PyPI](https://img.shields.io/github/license/aidd-msca/registry-factory)](LICENSE)\n![PyPI](https://img.shields.io/pypi/pyversions/registry-factory)\n[![GitHub Repo stars](https://img.shields.io/github/stars/aidd-msca/registry-factory)](https://github.com/aidd-msca/registry-factory/stargazers)\n\nAn abstract implementation of the software design pattern called Registry proposed by Hartog and Svensson et. al. (2024),\nproviding a factory for creating registries to organize categorically similar modules.\n\n**[Installation](#installation)**\n| **[Dependencies](#dependencies)**\n| **[Usage](#usage)**\n| **[Citation](#citation)**\n\n### Overview\n\nThe registry design pattern provides a way to organize modular\nfunctionalities dynamically and achieve a unified, reusable, and interchangeable interface.\nIt extends the Factory design pattern without the explicit class dependency.\nAdditionally, the registry supports optional meta information such as versioning, accreditation,\ntesting, etc.\nThe UML diagrams show the differences between the factory and registry patterns.\n\n<p align=\"center\">\n  <br>\n  <img alt=\"UML diagram of the pattern\" src=\"figures/registry_uml.png\">\n  <br>\n<i>Created with BioRender.com</i>\n </p>\n\n## Installation\n\nThe codebase can be installed from PyPI using `pip`, or your package manager of choice, with\n\n```bash\n$ pip install registry-factory\n```\n\nOr from a local clone, with\n\n```bash\n$ conda env create -f env-dev.yaml\n$ conda activate registry_env\n$ poetry install\n```\n\n## Dependencies\n\nNo third-party dependencies are required to use the minimal functionality of the RegistryFactory.\n\n## Usage\n\nThe workflow of creating a registry is the following. 1) Identify a part of the code that can be\nseparated from the rest. 2) Modularize the section to be independent of the rest of the code. 3)\nCreate a registry from the RegistryFactory. 4) Register any modules that provide similar\nfunctionalities. 5) Call the optional module from the registry from the main workflow. See below.\n\n<p align=\"center\">\n  <br>\n  <img alt=\"Workflow\" src=\"figures/registry_creation.png\" width=\"750\">\n  <br>\n<i>Created with BioRender.com</i>\n </p>\n\nAdditional available options and use cases are described in the following sections. See also [examples](examples).\n\n<!-- ### A basic registry -->\n<details>\n<summary> A basic registry </summary>\nA simple registry is created as such.\n\n```Python\nfrom registry_factory.registry import Registry\n```\n\nNext, any models can be added to the registry as such.\n\n```Python\nimport torch.nn as nn\n\n@Registry.register(\"simple_model\")\nclass SimpleModel(nn.Module):\n    ...\n```\n\n</details>\n\n<!-- ### Shared modules -->\n<details>\n<summary> Shared modules </summary>\nTo specify specific registries and have them share modules, we use the Factory class. Shared modules are modules that are used in multiple registries (e.g. a model and a module).\n\n```Python\nfrom registry_factory.factory import Factory\n\nclass Registries(Factory):\n    ModelRegistry = Factory.create_registry(\"model_registry\", shared=True)\n    ModuleRegistry = Factory.create_registry(\"module_registry\", shared=True)\n\n@Registries.ModelRegistry.register(\"encoder\")\nclass Encoder(nn.Module):\n    ...\n\nRegistries.ModuleRegistry.get(\"encoder\")\n```\n\n</details>\n\n<!-- ### Arguments -->\n<details>\n<summary> Arguments </summary>\nA registry can be created to store modules with arguments. The arguments can be set when registering a module.\n\n```Python\nfrom registry_factory.factory import Factory\nfrom dataclasses import dataclass\n\n\nclass Registries(Factory):\n    ModelRegistry = Factory.create_registry(\"model_registry\", shared=True)\n\n@Registries.ModelRegistry.register_arguments(key=\"simple_model\")\n@dataclass\nclass SimpleModelArguments:\n    input_size: int\n    output_size: int\n```\n\nOnly dataclasses can be used as arguments for now.\n\n</details>\n\n<!-- ### Versioning and accreditation -->\n<details>\n<summary> Versioning and accreditation </summary>\nTwo examples of additional meta information that can be stored in a registry is module versioning\nand accreditation regarding how and to who credit should be attributed the module.\n\nVersioning can be used to keep track of changes in a module. The version can be set when registering a module.\n\n```Python\nfrom registry_factory.factory import Factory\nfrom registry_factory.checks.versioning import Versioning\n\nclass Registries(Factory):\n    ModelRegistry = Factory.create_registry(checks=[Versioning(forced=False)])\n\n@Registries.ModelRegistry.register(call_name=\"simple_model\", version=\"1.0.0\")\nclass SimpleModel(nn.Module):\n    ...\n\nRegistries.ModelRegistry.get(\"simple_model\") # Error, version not specified.\nRegistries.ModelRegistry.get(\"simple_model\", version=\"1.0.0\") # Returns the module.\n```\n\nAccreditation can be used to keep track of how and to whom credit should be attributed for a given module.\nThe accreditation can be set when registering a module.\n\n```Python\nfrom registry_factory.factory import Factory\nfrom registry_factory.checks.accreditation import Accreditation\n\nclass Registries(Factory):\n    ModelRegistry = Factory.create_registry(\"model_registry\", checks=[Accreditation(forced=False)])\n\n@Registries.ModelRegistry.register(\n    key=\"simple_model\",\n    author=\"Author name\",\n    credit_type=\"reference\",\n    additional_information=\"Reference published work in (link).\"\n)\nclass SimpleModel(nn.Module):\n    ...\n\nRegistries.ModelRegistry.get(\"simple_model\")  # Returns the module.\nRegistries.ModelRegistry.get_info(\"simple_model\")  # Returns all meta information including the accreditation information.\n```\n\nThe reason why the accreditation system can return an object without specification is because the accreditation system lacks \"key\" information.\nIn the versioning module, the version is the key information that is used to grab the module from the registry.\nWithout specifying the version the registry will not know which module to return.\nTherefore, the author, credit type, and additional information are not key information in the accreditation system.\nWithout specifying the author, credit type, and additional information, the registry will still know which module to return.\n\n</details>\n\n<!-- ### Testing and Factory Patterns -->\n<details>\n<summary> Testing and Factory Patterns </summary>\nWe also provide defining tests and post-checks applied to all modules in a registry. Define test\nor post checks as follows when creating the registry.\n\n```Python\nfrom registry_factory.factory import Factory\nfrom registry_factory.checks.factory_pattern import FactoryPattern\n\nclass Pattern:\n    \"\"\"Test pattern.\"\"\"\n\n    def __init__(self):\n        pass\n\n    def hello_world(self):\n        \"\"\"Hello world.\"\"\"\n        print(\"Hello world\")\n\nclass Registries(Factory):\n    ModelRegistry = Factory.create_registry(\n        \"model_registry\", shared=False, checks=[FactoryPattern(factory_pattern=Pattern, forced=False)]\n    )\n\n# No error, the module passes the test.\n@ModelRegistry.register(key=\"hello_world\")\nclass HelloWorld(Pattern):\n    pass\n\n# No error, the module passes the test.\n@ModelRegistry.register(key=\"hello_world2\")\nclass HelloWorld:\n    def __init__(self):\n        pass\n\n    def hello_world(self):\n        \"\"\"Hello world.\"\"\"\n        print(\"Hello world\")\n\n# Error, the module does not pass the test.\n@ModelRegistry.register(key=\"hello_world2\")\nclass HelloWorld:\n    def __init__(self):\n        pass\n\n    def goodday_world(self):\n        \"\"\"Good day world.\"\"\"\n        print(\"Good day world\")\n```\n\nThe factory also supports adding a callable test module to the registry. The callable test module can be specified to be called when a module is registered. The callable test module can be used to test the module when it is registered. The callable test module can be specified as follows when creating the registry.\n\n```Python\nfrom typing import Any\nfrom registry_factory.factory import Factory\nfrom registry_factory.checks.testing import Testing\n\nclass CallableTestModule:\n    \"\"\"Module to test.\"\"\"\n\n    def __init__(self, key: str, obj: Any, **kwargs):\n        self.name = obj\n        self.assert_name()\n\n    def assert_name(self):\n        assert self.name == \"test\", \"Name is not test\"\n\n\n\nclass Registries(Factory):\n    ModelRegistry = Factory.create_registry(\n        \"model_registry\", shared=False, checks=[Testing(test_module=CallableTestModule, forced=True)]\n    )\n\nRegistries.ModelRegistry.register_prebuilt(key=\"name_test\", obj=\"test\") # No error, the module passes the test.\nRegistries.ModelRegistry.register_prebuilt(key=\"name_test\", obj=\"not_test\") # Error, the module doesn't pass the test.\n```\n\n</details>\n\n<!-- ### Inserting hooks -->\n<details>\n<summary> Hooks insertions </summary>\n\nHere we outline the use of registries in code to create hooks for outside users. The example given below contains a function unaccessible by users that have two options.\n\n```Python\nfrom registry_factory.registry import Registry\n\n@Registry.register(\"option_1\")\ndef option_1() -> int:\n    return 1\n\n@Registry.register(\"option_3\")\ndef option_3() -> int:\n    return 3\n\ndef _some_hidden_function(a: str) -> int:\n    try:\n        return print(Registry.get(f\"option_{a}\")())\n    except Exception as e:\n        raise RuntimeError(\"Error getting the option\", e)\n```\n\nWhen a new users uses this code and selects option two, it will cause an error as it has not yet been implemented.\n\n```Python\n_some_hidden_function(1) # Returns 1\n_some_hidden_function(3) # Returns 3\n_some_hidden_function(2) # Error\n```\n\nNormally, this would be the end, but with registries, the user can easily create a new function that will solve the issue.\n\n```Python\n@Registry.register(\"option_2\") # External user adds new option\ndef option_2() -> int:\n    return 2\n\n_some_hidden_function(2) # Returns 2\n```\n\n</details>\n\n<!-- ### Compatibility wrapper -->\n\n<details>\n<summary> Compatibility wrapper </summary>\n\nAnother example of how to use registries, is to make two incompatible functions work through wrappers. Users can specify specific wrappers for functions and register them using the registry.\n\n```Python\nfrom registry_factory.factory import Factory\n\nclass Registries(Factory):\n    ModelRegistry = Factory.create_registry(name=\"model_registry\")\n\ndef func1():\n    return \"hello world\"\n\ndef func2():\n    return [\"hello universe\"]\n\ndef final_function(key: str) -> str:\n    return Registries.ModelRegistry.get(key)()\n```\n\nHere the example will output the wrong versions if the objects are registered as is: one a string the other a list. You can easily use wrapper functions to register the objects in such a way that they output the correct types and become compatible.\n\n```Python\n# External user creates wrapper function to make both functions work with final function\ndef wrapper_function(func):\n    def wrapper(*args, **kwargs):\n        out = func(*args, **kwargs)\n        if type(out) is list:\n            return out[0]\n        else:\n            return out\n    return wrapper\n\nRegistries.ModelRegistry.register_prebuilt(wrapper_function(func1), \"world\")\nRegistries.ModelRegistry.register_prebuilt(wrapper_function(func2), \"universe\")\n\nprint(final_function(\"world\")) # -> Hello world\nprint(final_function(\"universe\")) # -> Hello universe\n```\n\n</details>\n\n## Citation\n\nOur paper in which we propose the registry design pattern, on which this package is built, is currently\navailable as a preprint. If you use the design pattern or this package please cite our work accordingly.\n\n[paper link]\n\n<!-- ```\n@inproceedings{hartog2023registry,\n    title={Registry: a design pattern to promote code reuse in machine learning-based drug discovery},\n    author={Hartog, Peter and Svensson, Emma and Mervin, Lewis and Genheden, Samuel and Engkvist, Ola and Tetko, Igor},\n    year={2023},\n    note={Preprint}\n}\n``` -->\n\n### Funding\n\nThe work behind this package has received funding from the European Union\u2019s Horizon 2020\nresearch and innovation programme under the Marie Sk\u0142odowska-Curie\nActions, grant agreement \u201cAdvanced machine learning for Innovative Drug\nDiscovery (AIDD)\u201d No 956832\u201d. [Homepage](https://ai-dd.eu/).\n\n![plot](figures/aidd.png)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Registry pattern with factory for specifications to register generic modules.",
    "version": "0.1.3",
    "project_urls": {
        "Homepage": "https://github.com/aidd-msca/registry-factory",
        "Repository": "https://github.com/aidd-msca/registry-factory"
    },
    "split_keywords": [
        "registry",
        " factory",
        " codebase",
        " module registry",
        " accreditation system"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f66f95848fb8709596f130a5f4344805256aea3a6c1d3ea9fd4b57f60d3dff97",
                "md5": "86751e45eba8b4f4af27af167ba306a7",
                "sha256": "9a8f4f43c3eb3a4b9bc8104f1a1e27e2b1765cc5a544242cab620d7c4580c4d6"
            },
            "downloads": -1,
            "filename": "registry_factory-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "86751e45eba8b4f4af27af167ba306a7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 18772,
            "upload_time": "2024-06-10T14:23:33",
            "upload_time_iso_8601": "2024-06-10T14:23:33.484354Z",
            "url": "https://files.pythonhosted.org/packages/f6/6f/95848fb8709596f130a5f4344805256aea3a6c1d3ea9fd4b57f60d3dff97/registry_factory-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a4c20a9e3b8821bebb6f22e67f29ab5ae6b32a7a4f4dc9a5173bac09a6d53974",
                "md5": "5b2887ce9877fd54706631309858d443",
                "sha256": "99c3a588aed31c636eb878a05da5bc55d79df31d7a310b82262986462f9afd7a"
            },
            "downloads": -1,
            "filename": "registry_factory-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "5b2887ce9877fd54706631309858d443",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 16048,
            "upload_time": "2024-06-10T14:23:35",
            "upload_time_iso_8601": "2024-06-10T14:23:35.345493Z",
            "url": "https://files.pythonhosted.org/packages/a4/c2/0a9e3b8821bebb6f22e67f29ab5ae6b32a7a4f4dc9a5173bac09a6d53974/registry_factory-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-10 14:23:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "aidd-msca",
    "github_project": "registry-factory",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "registry-factory"
}
        
Elapsed time: 0.25965s