PyDIO 0.5.0__tar.gz → 0.5.2__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.
Files changed (113) hide show
  1. pydio-0.5.2/.readthedocs.yaml +24 -0
  2. {pydio-0.5.0 → pydio-0.5.2}/CHANGELOG.md +12 -0
  3. {pydio-0.5.0 → pydio-0.5.2}/PKG-INFO +1 -1
  4. {pydio-0.5.0 → pydio-0.5.2}/docs/source/changelog.rst +1 -1
  5. {pydio-0.5.0 → pydio-0.5.2}/docs/source/conf.py +2 -2
  6. {pydio-0.5.0 → pydio-0.5.2}/docs/source/index.rst +12 -12
  7. {pydio-0.5.0 → pydio-0.5.2}/docs/source/installation.rst +5 -5
  8. {pydio-0.5.0 → pydio-0.5.2}/docs/source/license.rst +1 -1
  9. {pydio-0.5.0 → pydio-0.5.2}/docs/source/quickstart.rst +5 -5
  10. pydio-0.5.2/docs/source/requirements.txt +4 -0
  11. {pydio-0.5.0 → pydio-0.5.2}/pydio/__init__.py +2 -2
  12. {pydio-0.5.0 → pydio-0.5.2}/pydio/_compat.py +1 -1
  13. {pydio-0.5.0 → pydio-0.5.2}/pydio/_factories.py +1 -1
  14. {pydio-0.5.0 → pydio-0.5.2}/pydio/_unbound_factories.py +1 -1
  15. {pydio-0.5.0 → pydio-0.5.2}/pydio/api.py +2 -2
  16. {pydio-0.5.0 → pydio-0.5.2}/pydio/base.py +1 -1
  17. {pydio-0.5.0 → pydio-0.5.2}/pydio/exc.py +3 -3
  18. {pydio-0.5.0 → pydio-0.5.2}/pydio/injector.py +1 -1
  19. {pydio-0.5.0 → pydio-0.5.2}/pydio/keys.py +1 -1
  20. {pydio-0.5.0 → pydio-0.5.2}/pydio/provider.py +2 -2
  21. {pydio-0.5.0 → pydio-0.5.2}/pyproject.toml +2 -2
  22. {pydio-0.5.0 → pydio-0.5.2}/scripts/licenser/licenser.py +1 -1
  23. {pydio-0.5.0 → pydio-0.5.2}/scripts/tag.py +2 -2
  24. {pydio-0.5.0 → pydio-0.5.2}/tests/__init__.py +1 -1
  25. {pydio-0.5.0 → pydio-0.5.2}/tests/examples/__init__.py +1 -1
  26. {pydio-0.5.0 → pydio-0.5.2}/tests/examples/test_database_session_management.py +1 -1
  27. {pydio-0.5.0 → pydio-0.5.2}/tests/functional/__init__.py +1 -1
  28. {pydio-0.5.0 → pydio-0.5.2}/tests/functional/conftest.py +1 -1
  29. {pydio-0.5.0 → pydio-0.5.2}/tests/functional/test_async_generator_based_provider.py +1 -1
  30. {pydio-0.5.0 → pydio-0.5.2}/tests/functional/test_basics.py +1 -1
  31. {pydio-0.5.0 → pydio-0.5.2}/tests/functional/test_coroutine_based_provider.py +1 -1
  32. {pydio-0.5.0 → pydio-0.5.2}/tests/functional/test_generator_based_provider.py +1 -1
  33. {pydio-0.5.0 → pydio-0.5.2}/tests/functional/test_provider_grouping.py +1 -1
  34. {pydio-0.5.0 → pydio-0.5.2}/tests/functional/test_provider_with_env.py +1 -1
  35. {pydio-0.5.0 → pydio-0.5.2}/tests/functional/test_scoped_injector.py +1 -1
  36. {pydio-0.5.0 → pydio-0.5.2}/tests/functional/test_using_multiple_threads.py +1 -1
  37. {pydio-0.5.0 → pydio-0.5.2}/tests/functional/test_using_variant.py +1 -1
  38. {pydio-0.5.0 → pydio-0.5.2}/tests/stubs.py +1 -1
  39. {pydio-0.5.0 → pydio-0.5.2}/tests/unit/__init__.py +1 -1
  40. {pydio-0.5.0 → pydio-0.5.2}/tests/unit/test_factories.py +1 -1
  41. {pydio-0.5.0 → pydio-0.5.2}/tests/unit/test_injector.py +1 -1
  42. {pydio-0.5.0 → pydio-0.5.2}/tests/unit/test_keys.py +1 -1
  43. {pydio-0.5.0 → pydio-0.5.2}/tests/unit/test_provider.py +1 -1
  44. {pydio-0.5.0 → pydio-0.5.2}/uv.lock +1 -1
  45. {pydio-0.5.0 → pydio-0.5.2}/.bumpify.toml +0 -0
  46. {pydio-0.5.0 → pydio-0.5.2}/.circleci/config.yml +0 -0
  47. {pydio-0.5.0 → pydio-0.5.2}/.gitignore +0 -0
  48. {pydio-0.5.0 → pydio-0.5.2}/LICENSE.txt +0 -0
  49. {pydio-0.5.0 → pydio-0.5.2}/README.md +0 -0
  50. {pydio-0.5.0 → pydio-0.5.2}/docs/source/api/index.rst +0 -0
  51. {pydio-0.5.0 → pydio-0.5.2}/docs/source/api/pydio/api.rst +0 -0
  52. {pydio-0.5.0 → pydio-0.5.2}/docs/source/api/pydio/base.rst +0 -0
  53. {pydio-0.5.0 → pydio-0.5.2}/docs/source/api/pydio/exc.rst +0 -0
  54. {pydio-0.5.0 → pydio-0.5.2}/docs/source/api/pydio/injector.rst +0 -0
  55. {pydio-0.5.0 → pydio-0.5.2}/docs/source/api/pydio/keys.rst +0 -0
  56. {pydio-0.5.0 → pydio-0.5.2}/docs/source/api/pydio/provider.rst +0 -0
  57. {pydio-0.5.0 → pydio-0.5.2}/docs/source/api/pydio/v1/api.rst +0 -0
  58. {pydio-0.5.0 → pydio-0.5.2}/docs/source/api/pydio/v1/async_backends/asyncio.rst +0 -0
  59. {pydio-0.5.0 → pydio-0.5.2}/docs/source/api/pydio/v1/async_backends.rst +0 -0
  60. {pydio-0.5.0 → pydio-0.5.2}/docs/source/api/pydio/v1/exc.rst +0 -0
  61. {pydio-0.5.0 → pydio-0.5.2}/docs/source/api/pydio/v1/helpers.rst +0 -0
  62. {pydio-0.5.0 → pydio-0.5.2}/docs/source/api/pydio/v1/injectors.rst +0 -0
  63. {pydio-0.5.0 → pydio-0.5.2}/docs/source/api/pydio/v1/interface.rst +0 -0
  64. {pydio-0.5.0 → pydio-0.5.2}/docs/source/api/pydio/v1/providers.rst +0 -0
  65. {pydio-0.5.0 → pydio-0.5.2}/docs/source/api/pydio/v1.rst +0 -0
  66. {pydio-0.5.0 → pydio-0.5.2}/invoke.yml +0 -0
  67. {pydio-0.5.0 → pydio-0.5.2}/pydio/v1/__init__.py +0 -0
  68. {pydio-0.5.0 → pydio-0.5.2}/pydio/v1/_adapters.py +0 -0
  69. {pydio-0.5.0 → pydio-0.5.2}/pydio/v1/_compat/__init__.py +0 -0
  70. {pydio-0.5.0 → pydio-0.5.2}/pydio/v1/_compat/default.py +0 -0
  71. {pydio-0.5.0 → pydio-0.5.2}/pydio/v1/_compat/py313.py +0 -0
  72. {pydio-0.5.0 → pydio-0.5.2}/pydio/v1/_export_list.py +0 -0
  73. {pydio-0.5.0 → pydio-0.5.2}/pydio/v1/_factories.py +0 -0
  74. {pydio-0.5.0 → pydio-0.5.2}/pydio/v1/_utils.py +0 -0
  75. {pydio-0.5.0 → pydio-0.5.2}/pydio/v1/api.py +0 -0
  76. {pydio-0.5.0 → pydio-0.5.2}/pydio/v1/async_backends/__init__.py +0 -0
  77. {pydio-0.5.0 → pydio-0.5.2}/pydio/v1/async_backends/asyncio.py +0 -0
  78. {pydio-0.5.0 → pydio-0.5.2}/pydio/v1/exc.py +0 -0
  79. {pydio-0.5.0 → pydio-0.5.2}/pydio/v1/helpers.py +0 -0
  80. {pydio-0.5.0 → pydio-0.5.2}/pydio/v1/injectors.py +0 -0
  81. {pydio-0.5.0 → pydio-0.5.2}/pydio/v1/interface.py +0 -0
  82. {pydio-0.5.0 → pydio-0.5.2}/pydio/v1/providers.py +0 -0
  83. {pydio-0.5.0 → pydio-0.5.2}/scripts/licenser/templates/license.txt +0 -0
  84. {pydio-0.5.0 → pydio-0.5.2}/scripts/licenser/templates/preamble.py.txt +0 -0
  85. {pydio-0.5.0 → pydio-0.5.2}/scripts/licenser/templates/preamble.rst.txt +0 -0
  86. {pydio-0.5.0 → pydio-0.5.2}/tasks.py +0 -0
  87. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/__init__.py +0 -0
  88. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/conftest.py +0 -0
  89. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/functional/__init__.py +0 -0
  90. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/functional/conftest.py +0 -0
  91. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/functional/test_async_dependency_resolving.py +0 -0
  92. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/functional/test_async_error_handling.py +0 -0
  93. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/functional/test_dependency_resolving.py +0 -0
  94. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/functional/test_error_handling.py +0 -0
  95. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/functional/test_multitask_safety.py +0 -0
  96. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/functional/test_multithread_safety.py +0 -0
  97. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/functional/test_using_annotated.py +0 -0
  98. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/functional/test_using_multiple_environments.py +0 -0
  99. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/functional/test_using_multiple_providers.py +0 -0
  100. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/functional/test_using_scopes.py +0 -0
  101. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/functional/types.py +0 -0
  102. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/unit/__init__.py +0 -0
  103. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/unit/async_backends/__init__.py +0 -0
  104. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/unit/async_backends/test_asyncio.py +0 -0
  105. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/unit/conftest.py +0 -0
  106. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/unit/stubs.py +0 -0
  107. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/unit/test_adapters.py +0 -0
  108. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/unit/test_exc.py +0 -0
  109. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/unit/test_export_list.py +0 -0
  110. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/unit/test_factories.py +0 -0
  111. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/unit/test_helpers.py +0 -0
  112. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/unit/test_injectors.py +0 -0
  113. {pydio-0.5.0 → pydio-0.5.2}/tests/v1/unit/test_providers.py +0 -0
@@ -0,0 +1,24 @@
1
+ # .readthedocs.yaml
2
+ # Read the Docs configuration file
3
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4
+
5
+ version: 2
6
+
7
+ build:
8
+ os: ubuntu-24.04
9
+ tools:
10
+ python: "3.9"
11
+
12
+ sphinx:
13
+ configuration: docs/source/conf.py
14
+
15
+ formats:
16
+ - pdf
17
+ - epub
18
+
19
+ # Optional but recommended, declare the Python requirements required
20
+ # to build your documentation
21
+ # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
22
+ python:
23
+ install:
24
+ - requirements: docs/source/requirements.txt
@@ -1,3 +1,15 @@
1
+ ## 0.5.2 (2026-10-20)
2
+
3
+ ### Fix
4
+
5
+ - fix bug in 'hatchling' config resulting in empty wheel package
6
+
7
+ ## 0.5.1 (2026-10-20)
8
+
9
+ ### Fix
10
+
11
+ - add missing config files to unlock documentation building by ReadTheDocs
12
+
1
13
  ## 0.5.0 (2026-10-20)
2
14
 
3
15
  ### Fix
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyDIO
3
- Version: 0.5.0
3
+ Version: 0.5.2
4
4
  Summary: Lightweight and functional dependency injection library for Python
5
5
  Project-URL: Homepage, https://github.com/mwiatrzyk/pydio
6
6
  Project-URL: Repository, https://github.com/mwiatrzyk/pydio
@@ -3,7 +3,7 @@
3
3
  ..
4
4
  .. Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  ..
6
- .. This file is part of PyDio library documentation
6
+ .. This file is part of PyDIO library documentation
7
7
  .. and is released under the terms of the MIT license:
8
8
  .. http://opensource.org/licenses/mit-license.php.
9
9
  ..
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -28,7 +28,7 @@ import pydio # noqa
28
28
 
29
29
  # -- Project information -----------------------------------------------------
30
30
 
31
- project = "PyDio"
31
+ project = "PyDIO"
32
32
  copyright = "{}, {}".format(pydio.__released__, pydio.__author__)
33
33
  author = pydio.__author__
34
34
 
@@ -3,38 +3,38 @@
3
3
  ..
4
4
  .. Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  ..
6
- .. This file is part of PyDio library documentation
6
+ .. This file is part of PyDIO library documentation
7
7
  .. and is released under the terms of the MIT license:
8
8
  .. http://opensource.org/licenses/mit-license.php.
9
9
  ..
10
10
  .. See LICENSE.txt for details.
11
11
  .. ----------------------------------------------------------------------------
12
12
 
13
- Welcome to PyDio's documentation!
13
+ Welcome to PyDIO's documentation!
14
14
  =================================
15
15
 
16
- .. image:: https://img.shields.io/pypi/v/PyDio
17
- :target: https://pypi.org/project/PyDio/
18
- .. image:: https://img.shields.io/pypi/l/PyDio
19
- :target: https://pypi.org/project/PyDio/
20
- .. image:: https://img.shields.io/pypi/dm/PyDio
21
- :target: https://pypi.org/project/PyDio/
16
+ .. image:: https://img.shields.io/pypi/v/PyDIO
17
+ :target: https://pypi.org/project/PyDIO/
18
+ .. image:: https://img.shields.io/pypi/l/PyDIO
19
+ :target: https://pypi.org/project/PyDIO/
20
+ .. image:: https://img.shields.io/pypi/dm/PyDIO
21
+ :target: https://pypi.org/project/PyDIO/
22
22
  .. image:: https://codecov.io/gh/mwiatrzyk/pydio/branch/master/graph/badge.svg?token=Y6DJDSOR6M
23
23
  :target: https://codecov.io/gh/mwiatrzyk/pydio
24
24
 
25
- About PyDio
25
+ About PyDIO
26
26
  -----------
27
27
 
28
- PyDio is a dependency injection library for Python.
28
+ PyDIO is a dependency injection library for Python.
29
29
 
30
30
  It aims to be simple, yet still powerful, allowing you to feed dependencies
31
- inside your application in a flexible way. PyDio design is based on simple
31
+ inside your application in a flexible way. PyDIO design is based on simple
32
32
  assumption, that dependency injection can be achieved using simple
33
33
  **key-to-function** map, where **key** specifies **type of object** you want
34
34
  to inject and **function** is a **factory** function that creates
35
35
  **instances** of that type.
36
36
 
37
- In PyDio, this is implemented using **providers** and **injectors**. You use
37
+ In PyDIO, this is implemented using **providers** and **injectors**. You use
38
38
  providers to configure your **key-to-function** mapping, and then you use
39
39
  injectors to perform a **lookup** of a specific key and creation of the final
40
40
  object.
@@ -3,7 +3,7 @@
3
3
  ..
4
4
  .. Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  ..
6
- .. This file is part of PyDio library documentation
6
+ .. This file is part of PyDIO library documentation
7
7
  .. and is released under the terms of the MIT license:
8
8
  .. http://opensource.org/licenses/mit-license.php.
9
9
  ..
@@ -13,16 +13,16 @@
13
13
  Installation
14
14
  ============
15
15
 
16
- You can install PyDio using one of following methods:
16
+ You can install PyDIO using one of following methods:
17
17
 
18
18
  1) From PyPI (for stable releases)::
19
19
 
20
- $ pip install PyDio
20
+ $ pip install PyDIO
21
21
 
22
22
  2) From test PyPI (for stable and development releases)::
23
23
 
24
- $ pip install -i https://test.pypi.org/simple/ PyDio
24
+ $ pip install -i https://test.pypi.org/simple/ PyDIO
25
25
 
26
26
  3) Directly from source code repository (for all releases)::
27
27
 
28
- $ pip install git+https://gitlab.com/zef1r/PyDio.git@[branch-or-tag]
28
+ $ pip install git+https://gitlab.com/zef1r/PyDIO.git@[branch-or-tag]
@@ -3,7 +3,7 @@
3
3
  ..
4
4
  .. Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  ..
6
- .. This file is part of PyDio library documentation
6
+ .. This file is part of PyDIO library documentation
7
7
  .. and is released under the terms of the MIT license:
8
8
  .. http://opensource.org/licenses/mit-license.php.
9
9
  ..
@@ -3,7 +3,7 @@
3
3
  ..
4
4
  .. Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  ..
6
- .. This file is part of PyDio library documentation
6
+ .. This file is part of PyDIO library documentation
7
7
  .. and is released under the terms of the MIT license:
8
8
  .. http://opensource.org/licenses/mit-license.php.
9
9
  ..
@@ -324,7 +324,7 @@ Introducing providers
324
324
 
325
325
  As you can see, when implementing additional storages, our business logic was
326
326
  not affected at all, however configuration part of our application was
327
- getting more complicated. Now let's do some refactoring with PyDio.
327
+ getting more complicated. Now let's do some refactoring with PyDIO.
328
328
 
329
329
  First, we need to create **providers**. Providers are used to wrap
330
330
  user-defined factory functions and give it a key that can be referenced
@@ -354,7 +354,7 @@ to anything you like. The only requirement is to use same name later.
354
354
  Introducing injectors
355
355
  ---------------------
356
356
 
357
- Now let me introduce second element of PyDio library - the **injector**.
357
+ Now let me introduce second element of PyDIO library - the **injector**.
358
358
  Here's our TODO application from earlier example refactored to use injector:
359
359
 
360
360
  .. testcode::
@@ -562,7 +562,7 @@ have to call it (the constructor) again for every method call - otherwise we
562
562
  would start sharing our objects between API calls, and that may not be
563
563
  expected behavior.
564
564
 
565
- To solve this issue, PyDio provides **scopes**. Scopes are implemented by
565
+ To solve this issue, PyDIO provides **scopes**. Scopes are implemented by
566
566
  creating new injector from given one, and giving the new one access to
567
567
  user-defined scope, plus its ancestors. Such created injectors can have
568
568
  shorter lifetime than the root one.
@@ -685,7 +685,7 @@ Using generator-based object factories
685
685
  We are still missing one important thing in our application - database
686
686
  sessions. Of course, that is not needed for a in-memory storage, but
687
687
  definitely will have to be used for SQL-based storage. And the session scope
688
- should be limited only to actions. How to do that using PyDio? Here's a
688
+ should be limited only to actions. How to do that using PyDIO? Here's a
689
689
  solution:
690
690
 
691
691
  .. testcode::
@@ -0,0 +1,4 @@
1
+ # Requirements for ReadTheDocs
2
+
3
+ sphinx-rtd-theme>=3.1.0
4
+ myst-parser>=3.0.1
@@ -3,11 +3,11 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2026 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
10
10
  # ---------------------------------------------------------------------------
11
11
  __released__ = 2021
12
12
  __author__ = "Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>"
13
- __version__ = "0.5.0"
13
+ __version__ = "0.5.2"
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -11,7 +11,7 @@
11
11
  """An all-in-one module for making imports easier.
12
12
 
13
13
  You can use this in your code to create one-line imports. For example,
14
- instead of adding multiple PyDio imports to your application, you can do
14
+ instead of adding multiple PyDIO imports to your application, you can do
15
15
  this instead:
16
16
 
17
17
  .. testcode::
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,18 +3,18 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
10
10
  # ---------------------------------------------------------------------------
11
- """Base exception classes for PyDio."""
11
+ """Base exception classes for PyDIO."""
12
12
 
13
13
  import abc
14
14
 
15
15
 
16
16
  class Base(Exception, abc.ABC):
17
- """Common base class for all PyDio exceptions.
17
+ """Common base class for all PyDIO exceptions.
18
18
 
19
19
  You can use this class to catch all exceptions that this library may
20
20
  raise.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -93,7 +93,7 @@ class Provider(IUnboundFactoryRegistry):
93
93
  objects.
94
94
 
95
95
  If your application has some global configuration data you want to
96
- inject using PyDio - that's the method you should use.
96
+ inject using PyDIO - that's the method you should use.
97
97
  """
98
98
  with self._lock:
99
99
  self._check_key_availability(key, env)
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "PyDIO"
3
- version = "0.5.0"
3
+ version = "0.5.2"
4
4
  description = "Lightweight and functional dependency injection library for Python"
5
5
  authors = [
6
6
  { name = "Maciej Wiatrzyk", email = "maciej.wiatrzyk@gmail.com" }
@@ -44,7 +44,7 @@ requires = ["hatchling"]
44
44
  build-backend = "hatchling.build"
45
45
 
46
46
  [tool.hatch.build.targets.wheel]
47
- packages = ["modelity"]
47
+ packages = ["pydio"]
48
48
 
49
49
  [tool.ruff]
50
50
  line-length = 120
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
6
6
  #
7
- # This file is part of PyDio library and is released under the terms of the
7
+ # This file is part of PyDIO library and is released under the terms of the
8
8
  # MIT license: http://opensource.org/licenses/mit-license.php.
9
9
  #
10
10
  # See LICENSE.txt for details.
@@ -4,7 +4,7 @@
4
4
  #
5
5
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
6
6
  #
7
- # This file is part of PyDio library and is released under the terms of the
7
+ # This file is part of PyDIO library and is released under the terms of the
8
8
  # MIT license: http://opensource.org/licenses/mit-license.php.
9
9
  #
10
10
  # See LICENSE.txt for details.
@@ -173,7 +173,7 @@ def check(args):
173
173
 
174
174
 
175
175
  def parse_args(argv):
176
- parser = argparse.ArgumentParser(description="A tool for updating tag info in PyDio")
176
+ parser = argparse.ArgumentParser(description="A tool for updating tag info in PyDIO")
177
177
  parser.add_argument("tag_or_version", metavar="TAG_OR_VERSION", help="tag name or version string")
178
178
  parser.add_argument(
179
179
  "-c",
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -3,7 +3,7 @@
3
3
  #
4
4
  # Copyright (C) 2021 - 2025 Maciej Wiatrzyk <maciej.wiatrzyk@gmail.com>
5
5
  #
6
- # This file is part of PyDio library and is released under the terms of the
6
+ # This file is part of PyDIO library and is released under the terms of the
7
7
  # MIT license: http://opensource.org/licenses/mit-license.php.
8
8
  #
9
9
  # See LICENSE.txt for details.
@@ -1098,7 +1098,7 @@ wheels = [
1098
1098
 
1099
1099
  [[package]]
1100
1100
  name = "pydio"
1101
- version = "0.5.0"
1101
+ version = "0.5.2"
1102
1102
  source = { editable = "." }
1103
1103
  dependencies = [
1104
1104
  { name = "typing-extensions" },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes