xloft 0.1.10__py3-none-any.whl → 0.1.12__py3-none-any.whl
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.
Potentially problematic release.
This version of xloft might be problematic. Click here for more details.
xloft/namedtuple.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
"""NamedTuple.
|
|
1
|
+
"""This module contains the implementation of the `NamedTuple` class.
|
|
2
2
|
|
|
3
|
-
This module contains the implementation of the `NamedTuple` class.
|
|
4
3
|
`NamedTuple` class imitates the behavior of the _named tuple_.
|
|
5
4
|
|
|
6
5
|
Examples:
|
|
@@ -96,11 +95,11 @@ class NamedTuple:
|
|
|
96
95
|
return self.__dict__[name]
|
|
97
96
|
|
|
98
97
|
def __setattr__(self, name: str, value: Any) -> None:
|
|
99
|
-
"""
|
|
98
|
+
"""Blocked Setter."""
|
|
100
99
|
raise AttributeDoesNotSetValue(name)
|
|
101
100
|
|
|
102
101
|
def __delattr__(self, name: str) -> None:
|
|
103
|
-
"""
|
|
102
|
+
"""Blocked Deleter."""
|
|
104
103
|
raise AttributeCannotBeDelete(name)
|
|
105
104
|
|
|
106
105
|
def get(self, key: str) -> Any:
|
|
@@ -129,7 +128,7 @@ class NamedTuple:
|
|
|
129
128
|
Attention: This is an uncharacteristic action for the type `tuple`.
|
|
130
129
|
|
|
131
130
|
Args:
|
|
132
|
-
|
|
131
|
+
key: Key name.
|
|
133
132
|
value: Value of key.
|
|
134
133
|
|
|
135
134
|
Examples:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: xloft
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.12
|
|
4
4
|
Summary: (XLOFT) X-Library of tools
|
|
5
5
|
Project-URL: Homepage, https://github.com/kebasyaty/xloft
|
|
6
6
|
Project-URL: Repository, https://github.com/kebasyaty/xloft
|
|
@@ -11,7 +11,7 @@ Author-email: kebasyaty <kebasyaty@gmail.com>
|
|
|
11
11
|
License-Expression: MIT
|
|
12
12
|
License-File: LICENSE
|
|
13
13
|
Keywords: collection,namedtuple,tools,xloft
|
|
14
|
-
Classifier: Development Status ::
|
|
14
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
15
15
|
Classifier: Intended Audience :: Developers
|
|
16
16
|
Classifier: License :: OSI Approved :: MIT License
|
|
17
17
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
@@ -66,6 +66,10 @@ Description-Content-Type: text/markdown
|
|
|
66
66
|
|
|
67
67
|
##
|
|
68
68
|
|
|
69
|
+
## Documentation
|
|
70
|
+
|
|
71
|
+
Online browsable documentation is available at [https://kebasyaty.github.io/xloft/](https://kebasyaty.github.io/xloft/ "Documentation").
|
|
72
|
+
|
|
69
73
|
## Requirements
|
|
70
74
|
|
|
71
75
|
[View the list of requirements.](https://github.com/kebasyaty/xloft/blob/main/REQUIREMENTS.md "View the list of requirements.")
|
|
@@ -141,4 +145,4 @@ del nt.y # => raise: AttributeCannotBeDelete
|
|
|
141
145
|
|
|
142
146
|
## License
|
|
143
147
|
|
|
144
|
-
|
|
148
|
+
This project is licensed under the **[MIT](https://github.com/kebasyaty/xloft/blob/main/LICENSE "MIT")**.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
xloft/__init__.py,sha256=YtzkovVqW8hLxBXxM0U7K_qqfU8XBJ1pzX6tAgTUNFw,215
|
|
2
|
+
xloft/errors.py,sha256=GYXvi2l01VUDQSs6skiOfQsKLF6tFuUhJMqNkL7BJNI,857
|
|
3
|
+
xloft/namedtuple.py,sha256=SFiiw_i5XyKADSZQovPyvXCixXssVM6NwwLXqPEjSwA,6732
|
|
4
|
+
xloft/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
xloft-0.1.12.dist-info/METADATA,sha256=4k4GslVqK4_frKZIlM-lSFfgzMPM930ZkIGvqLHXUic,5843
|
|
6
|
+
xloft-0.1.12.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
7
|
+
xloft-0.1.12.dist-info/licenses/LICENSE,sha256=2zZINd6m_jNYlowdQImlEizyhSui5cBAJZRhWQURcEc,1095
|
|
8
|
+
xloft-0.1.12.dist-info/RECORD,,
|
xloft-0.1.10.dist-info/RECORD
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
xloft/__init__.py,sha256=YtzkovVqW8hLxBXxM0U7K_qqfU8XBJ1pzX6tAgTUNFw,215
|
|
2
|
-
xloft/errors.py,sha256=GYXvi2l01VUDQSs6skiOfQsKLF6tFuUhJMqNkL7BJNI,857
|
|
3
|
-
xloft/namedtuple.py,sha256=yVeP4UayzPaxi0NmpB__ILmw9sZbZpy9v5hEps1bv7E,6740
|
|
4
|
-
xloft/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
-
xloft-0.1.10.dist-info/METADATA,sha256=7ckc9ufBvrltvJA5Y4fC3YPI3BS6NbESt6-UoR0vk00,5678
|
|
6
|
-
xloft-0.1.10.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
7
|
-
xloft-0.1.10.dist-info/licenses/LICENSE,sha256=2zZINd6m_jNYlowdQImlEizyhSui5cBAJZRhWQURcEc,1095
|
|
8
|
-
xloft-0.1.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|