pyRegRep 10__tar.gz → 11__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.
- {pyregrep-10 → pyregrep-11}/PKG-INFO +6 -5
- {pyregrep-10 → pyregrep-11}/README.md +3 -4
- {pyregrep-10 → pyregrep-11}/pyRegRep.egg-info/PKG-INFO +6 -5
- {pyregrep-10 → pyregrep-11}/pyRegRep.egg-info/SOURCES.txt +1 -0
- pyregrep-11/pyRegRep.egg-info/requires.txt +2 -0
- {pyregrep-10 → pyregrep-11}/pyRegRep4/RIMParsing.py +11 -3
- {pyregrep-10 → pyregrep-11}/pyRegRep4/__init__.py +1 -1
- {pyregrep-10 → pyregrep-11}/pyproject.toml +5 -2
- {pyregrep-10 → pyregrep-11}/setup.py +5 -2
- {pyregrep-10 → pyregrep-11}/LICENSE +0 -0
- {pyregrep-10 → pyregrep-11}/pyRegRep.egg-info/dependency_links.txt +0 -0
- {pyregrep-10 → pyregrep-11}/pyRegRep.egg-info/top_level.txt +0 -0
- {pyregrep-10 → pyregrep-11}/pyRegRep4/NS.py +0 -0
- {pyregrep-10 → pyregrep-11}/pyRegRep4/RIMElement.py +0 -0
- {pyregrep-10 → pyregrep-11}/setup.cfg +0 -0
- {pyregrep-10 → pyregrep-11}/tests/test_get_slot_simple.py +0 -0
- {pyregrep-10 → pyregrep-11}/tests/test_rim_element.py +0 -0
- {pyregrep-10 → pyregrep-11}/tests/test_rim_parsing.py +0 -0
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyRegRep
|
|
3
|
-
Version:
|
|
3
|
+
Version: 11
|
|
4
4
|
Summary: Your package description
|
|
5
5
|
Author: Andrey Shapovalov
|
|
6
6
|
Author-email: mt.andrey@gmail.com
|
|
7
7
|
Requires-Python: >=3.10
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
9
|
License-File: LICENSE
|
|
10
|
+
Requires-Dist: lxml>=5.2.1
|
|
11
|
+
Requires-Dist: xmltodict>=0.13.0
|
|
10
12
|
Dynamic: author-email
|
|
11
13
|
Dynamic: license-file
|
|
12
14
|
|
|
@@ -44,11 +46,10 @@ pip install pyRegRep
|
|
|
44
46
|
|
|
45
47
|
# З локального джерела (editable)
|
|
46
48
|
pip install -e .
|
|
47
|
-
|
|
48
|
-
# Залежності вручну
|
|
49
|
-
pip install -r requirements.txt
|
|
50
49
|
```
|
|
51
50
|
|
|
51
|
+
Під час встановлення через `pip install pyRegRep` або `pip install -e .` runtime-залежності (`lxml`, `xmltodict`) встановлюються автоматично.
|
|
52
|
+
|
|
52
53
|
## Швидкий старт
|
|
53
54
|
|
|
54
55
|
### Парсування XML документу
|
|
@@ -290,4 +291,4 @@ MIT License — див. файл [LICENSE](LICENSE)
|
|
|
290
291
|
|
|
291
292
|
---
|
|
292
293
|
|
|
293
|
-
**Версія:**
|
|
294
|
+
**Версія:** 11 · **Оновлено:** 2026-03-11
|
|
@@ -32,11 +32,10 @@ pip install pyRegRep
|
|
|
32
32
|
|
|
33
33
|
# З локального джерела (editable)
|
|
34
34
|
pip install -e .
|
|
35
|
-
|
|
36
|
-
# Залежності вручну
|
|
37
|
-
pip install -r requirements.txt
|
|
38
35
|
```
|
|
39
36
|
|
|
37
|
+
Під час встановлення через `pip install pyRegRep` або `pip install -e .` runtime-залежності (`lxml`, `xmltodict`) встановлюються автоматично.
|
|
38
|
+
|
|
40
39
|
## Швидкий старт
|
|
41
40
|
|
|
42
41
|
### Парсування XML документу
|
|
@@ -278,4 +277,4 @@ MIT License — див. файл [LICENSE](LICENSE)
|
|
|
278
277
|
|
|
279
278
|
---
|
|
280
279
|
|
|
281
|
-
**Версія:**
|
|
280
|
+
**Версія:** 11 · **Оновлено:** 2026-03-11
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyRegRep
|
|
3
|
-
Version:
|
|
3
|
+
Version: 11
|
|
4
4
|
Summary: Your package description
|
|
5
5
|
Author: Andrey Shapovalov
|
|
6
6
|
Author-email: mt.andrey@gmail.com
|
|
7
7
|
Requires-Python: >=3.10
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
9
|
License-File: LICENSE
|
|
10
|
+
Requires-Dist: lxml>=5.2.1
|
|
11
|
+
Requires-Dist: xmltodict>=0.13.0
|
|
10
12
|
Dynamic: author-email
|
|
11
13
|
Dynamic: license-file
|
|
12
14
|
|
|
@@ -44,11 +46,10 @@ pip install pyRegRep
|
|
|
44
46
|
|
|
45
47
|
# З локального джерела (editable)
|
|
46
48
|
pip install -e .
|
|
47
|
-
|
|
48
|
-
# Залежності вручну
|
|
49
|
-
pip install -r requirements.txt
|
|
50
49
|
```
|
|
51
50
|
|
|
51
|
+
Під час встановлення через `pip install pyRegRep` або `pip install -e .` runtime-залежності (`lxml`, `xmltodict`) встановлюються автоматично.
|
|
52
|
+
|
|
52
53
|
## Швидкий старт
|
|
53
54
|
|
|
54
55
|
### Парсування XML документу
|
|
@@ -290,4 +291,4 @@ MIT License — див. файл [LICENSE](LICENSE)
|
|
|
290
291
|
|
|
291
292
|
---
|
|
292
293
|
|
|
293
|
-
**Версія:**
|
|
294
|
+
**Версія:** 11 · **Оновлено:** 2026-03-11
|
|
@@ -73,12 +73,20 @@ class Parsing:
|
|
|
73
73
|
# Витягування основних елементів
|
|
74
74
|
try:
|
|
75
75
|
self.query = self.doc.find(".//query:Query", namespaces=self._ns)
|
|
76
|
-
|
|
77
|
-
self.objects = self.doc.findall(".//rim:RegistryObject", namespaces=self._ns)
|
|
78
|
-
except KeyError as e:
|
|
76
|
+
except Exception as e:
|
|
79
77
|
_logger.warning(f"Namespace не знайдено: {e}")
|
|
80
78
|
self.query = None
|
|
79
|
+
|
|
80
|
+
try:
|
|
81
|
+
self.exception = self.doc.find(".//rs:Exception", namespaces=self._ns)
|
|
82
|
+
except Exception as e:
|
|
83
|
+
_logger.warning(f"Namespace не знайдено: {e}")
|
|
81
84
|
self.exception = None
|
|
85
|
+
|
|
86
|
+
try:
|
|
87
|
+
self.objects = self.doc.findall(".//rim:RegistryObject", namespaces=self._ns)
|
|
88
|
+
except Exception as e:
|
|
89
|
+
_logger.warning(f"Namespace не знайдено: {e}")
|
|
82
90
|
self.objects = []
|
|
83
91
|
|
|
84
92
|
# Кешований результат
|
|
@@ -4,12 +4,15 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pyRegRep"
|
|
7
|
-
version = "
|
|
7
|
+
version = "11"
|
|
8
8
|
description = "Your package description"
|
|
9
9
|
authors = [{ name="Andrey Shapovalov" }]
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
requires-python = ">=3.10"
|
|
12
|
-
dependencies = [
|
|
12
|
+
dependencies = [
|
|
13
|
+
"lxml>=5.2.1",
|
|
14
|
+
"xmltodict>=0.13.0",
|
|
15
|
+
]
|
|
13
16
|
|
|
14
17
|
[tool.pytest.ini_options]
|
|
15
18
|
pythonpath = ["."]
|
|
@@ -2,12 +2,15 @@ from setuptools import setup, find_packages
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name="pyRegRep",
|
|
5
|
-
version="
|
|
5
|
+
version="11",
|
|
6
6
|
description="Бібліотека для роботи з реєстрами та репозитаріями в Україні",
|
|
7
7
|
packages=find_packages(),
|
|
8
8
|
license="MIT",
|
|
9
9
|
author="Andrii Shapovalov",
|
|
10
10
|
author_email="mt.andrey@gmail.com",
|
|
11
11
|
include_package_data=True,
|
|
12
|
-
install_requires=[
|
|
12
|
+
install_requires=[
|
|
13
|
+
"lxml>=5.2.1",
|
|
14
|
+
"xmltodict>=0.13.0",
|
|
15
|
+
],
|
|
13
16
|
)
|
|
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
|