pyprocessors-iptc_mapper 1.6.53__tar.gz → 1.8.45__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.
Potentially problematic release.
This version of pyprocessors-iptc_mapper might be problematic. Click here for more details.
- pyprocessors_iptc_mapper-1.8.45/.pre-commit-config.yaml +7 -0
- {pyprocessors_iptc_mapper-1.6.53 → pyprocessors_iptc_mapper-1.8.45}/PKG-INFO +13 -6
- {pyprocessors_iptc_mapper-1.6.53 → pyprocessors_iptc_mapper-1.8.45}/README.md +12 -5
- {pyprocessors_iptc_mapper-1.6.53 → pyprocessors_iptc_mapper-1.8.45}/src/pyprocessors_iptc_mapper/__init__.py +1 -1
- pyprocessors_iptc_mapper-1.6.53/tox.ini +0 -49
- {pyprocessors_iptc_mapper-1.6.53 → pyprocessors_iptc_mapper-1.8.45}/.gitignore +0 -0
- {pyprocessors_iptc_mapper-1.6.53 → pyprocessors_iptc_mapper-1.8.45}/AUTHORS.md +0 -0
- {pyprocessors_iptc_mapper-1.6.53 → pyprocessors_iptc_mapper-1.8.45}/CHANGELOG.md +0 -0
- {pyprocessors_iptc_mapper-1.6.53 → pyprocessors_iptc_mapper-1.8.45}/LICENSE +0 -0
- {pyprocessors_iptc_mapper-1.6.53 → pyprocessors_iptc_mapper-1.8.45}/RELEASE.md +0 -0
- {pyprocessors_iptc_mapper-1.6.53 → pyprocessors_iptc_mapper-1.8.45}/pyproject.toml +0 -0
- {pyprocessors_iptc_mapper-1.6.53 → pyprocessors_iptc_mapper-1.8.45}/src/pyprocessors_iptc_mapper/IPTC-MediaTopic-NewsCodes.xlsx +0 -0
- {pyprocessors_iptc_mapper-1.6.53 → pyprocessors_iptc_mapper-1.8.45}/src/pyprocessors_iptc_mapper/iptc_mapper.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyprocessors-iptc_mapper
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.8.45
|
|
4
4
|
Summary: Sherpa IPTC category mapper
|
|
5
5
|
Author-email: Olivier Terrier <olivier.terrier@kairntech.com>
|
|
6
6
|
License: MIT
|
|
@@ -60,10 +60,10 @@ You can simply `pip install pyprocessors_iptc_mapper`.
|
|
|
60
60
|
|
|
61
61
|
### Pre-requesites
|
|
62
62
|
|
|
63
|
-
You will need to install `
|
|
63
|
+
You will need to install `uv` (for managing the package and running tests):
|
|
64
64
|
|
|
65
65
|
```
|
|
66
|
-
|
|
66
|
+
pip install uv
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
Clone the repository:
|
|
@@ -74,10 +74,17 @@ git clone https://github.com/oterrier/pyprocessors_iptc_mapper
|
|
|
74
74
|
|
|
75
75
|
### Running the test suite
|
|
76
76
|
|
|
77
|
-
You can run the full test suite
|
|
77
|
+
You can run the full test suite with:
|
|
78
78
|
|
|
79
79
|
```
|
|
80
|
-
|
|
80
|
+
uv run pytest
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Linting
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+
uv run ruff check .
|
|
87
|
+
uv run ruff format --check .
|
|
81
88
|
```
|
|
82
89
|
|
|
83
90
|
### Building the documentation
|
|
@@ -85,7 +92,7 @@ tox
|
|
|
85
92
|
You can build the HTML documentation with:
|
|
86
93
|
|
|
87
94
|
```
|
|
88
|
-
|
|
95
|
+
uv run --extra docs sphinx-build docs docs/_build
|
|
89
96
|
```
|
|
90
97
|
|
|
91
98
|
The built documentation is available at `docs/_build/index.html`.
|
|
@@ -17,10 +17,10 @@ You can simply `pip install pyprocessors_iptc_mapper`.
|
|
|
17
17
|
|
|
18
18
|
### Pre-requesites
|
|
19
19
|
|
|
20
|
-
You will need to install `
|
|
20
|
+
You will need to install `uv` (for managing the package and running tests):
|
|
21
21
|
|
|
22
22
|
```
|
|
23
|
-
|
|
23
|
+
pip install uv
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
Clone the repository:
|
|
@@ -31,10 +31,17 @@ git clone https://github.com/oterrier/pyprocessors_iptc_mapper
|
|
|
31
31
|
|
|
32
32
|
### Running the test suite
|
|
33
33
|
|
|
34
|
-
You can run the full test suite
|
|
34
|
+
You can run the full test suite with:
|
|
35
35
|
|
|
36
36
|
```
|
|
37
|
-
|
|
37
|
+
uv run pytest
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Linting
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
uv run ruff check .
|
|
44
|
+
uv run ruff format --check .
|
|
38
45
|
```
|
|
39
46
|
|
|
40
47
|
### Building the documentation
|
|
@@ -42,7 +49,7 @@ tox
|
|
|
42
49
|
You can build the HTML documentation with:
|
|
43
50
|
|
|
44
51
|
```
|
|
45
|
-
|
|
52
|
+
uv run --extra docs sphinx-build docs docs/_build
|
|
46
53
|
```
|
|
47
54
|
|
|
48
55
|
The built documentation is available at `docs/_build/index.html`.
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
[tox]
|
|
2
|
-
isolated_build = True
|
|
3
|
-
envlist = clean,py38,report
|
|
4
|
-
|
|
5
|
-
[gh-actions]
|
|
6
|
-
python =
|
|
7
|
-
3.8: clean,py38,report
|
|
8
|
-
|
|
9
|
-
[pytest]
|
|
10
|
-
addopts =
|
|
11
|
-
--durations=5
|
|
12
|
-
--flake8
|
|
13
|
-
norecursedirs =
|
|
14
|
-
docs
|
|
15
|
-
|
|
16
|
-
filterwarnings =
|
|
17
|
-
ignore:<class '.*'> is not using a cooperative constructor:pytest.PytestDeprecationWarning
|
|
18
|
-
ignore:The \(fspath. py.path.local\) argument to .* is deprecated.:pytest.PytestDeprecationWarning
|
|
19
|
-
ignore:.* is an Item subclass and should not be a collector.*:pytest.PytestWarning
|
|
20
|
-
|
|
21
|
-
[testenv]
|
|
22
|
-
deps = .[test]
|
|
23
|
-
commands = pytest --junit-xml={env:TEST_REPORT_DIR:.}/{env:TEST_REPORT_FILE:results.xml}
|
|
24
|
-
passenv = *
|
|
25
|
-
depends =
|
|
26
|
-
report: py38
|
|
27
|
-
|
|
28
|
-
[testenv:docs]
|
|
29
|
-
changedir=docs
|
|
30
|
-
deps = .[docs]
|
|
31
|
-
commands = sphinx-build . _build
|
|
32
|
-
|
|
33
|
-
[flake8]
|
|
34
|
-
max-line-length = 100
|
|
35
|
-
ignore =
|
|
36
|
-
E203,
|
|
37
|
-
E266,
|
|
38
|
-
E501,
|
|
39
|
-
W503,
|
|
40
|
-
C901
|
|
41
|
-
per-file-ignores =
|
|
42
|
-
__init__.py: F401
|
|
43
|
-
max-complexity = 18
|
|
44
|
-
select = B, C, E, F, W, T4, B9
|
|
45
|
-
exclude =
|
|
46
|
-
.git,
|
|
47
|
-
.tox,
|
|
48
|
-
__pycache__,
|
|
49
|
-
dist,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|