aldict 1.2.0__tar.gz → 1.2.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.
- {aldict-1.2.0 → aldict-1.2.1}/PKG-INFO +2 -2
- {aldict-1.2.0 → aldict-1.2.1}/README.md +1 -1
- aldict-1.2.1/aldict/__init__.py +8 -0
- {aldict-1.2.0 → aldict-1.2.1}/aldict/alias_dict.py +11 -1
- {aldict-1.2.0 → aldict-1.2.1}/pyproject.toml +1 -1
- aldict-1.2.0/aldict/__init__.py +0 -6
- aldict-1.2.0/aldict/exception.py +0 -6
- {aldict-1.2.0 → aldict-1.2.1}/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: aldict
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: Multi-key dictionary, supports adding and manipulating key-aliases pointing to shared values
|
|
5
5
|
Keywords: multi-key dictionary,multidict,alias-dict
|
|
6
6
|
Author-Email: kaliv0 <kaloyan.ivanov88@gmail.com>
|
|
@@ -10,7 +10,7 @@ Requires-Python: >=3.10
|
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
|
|
12
12
|
<p align="center">
|
|
13
|
-
<img src="https://github.com/kaliv0/aldict/blob/main/assets/alter-ego.jpg?raw=true" width="250" alt="Alter Ego">
|
|
13
|
+
<img src="https://github.com/kaliv0/aldict/blob/main/.github/assets/alter-ego.jpg?raw=true" width="250" alt="Alter Ego">
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
---
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://github.com/kaliv0/aldict/blob/main/assets/alter-ego.jpg?raw=true" width="250" alt="Alter Ego">
|
|
2
|
+
<img src="https://github.com/kaliv0/aldict/blob/main/.github/assets/alter-ego.jpg?raw=true" width="250" alt="Alter Ego">
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
---
|
|
@@ -2,7 +2,17 @@ from collections import UserDict
|
|
|
2
2
|
from collections.abc import Mapping
|
|
3
3
|
from itertools import chain
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
class AliasError(KeyError):
|
|
7
|
+
"""Key alias not found"""
|
|
8
|
+
|
|
9
|
+
pass
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class AliasValueError(ValueError):
|
|
13
|
+
"""Inappropriate alias value"""
|
|
14
|
+
|
|
15
|
+
pass
|
|
6
16
|
|
|
7
17
|
|
|
8
18
|
class AliasDict(UserDict):
|
aldict-1.2.0/aldict/__init__.py
DELETED
aldict-1.2.0/aldict/exception.py
DELETED
|
File without changes
|