pyconvertu 1.0.1__tar.gz → 1.0.3__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.
- {pyconvertu-1.0.1 → pyconvertu-1.0.3}/PKG-INFO +2 -2
- {pyconvertu-1.0.1 → pyconvertu-1.0.3}/README.md +1 -1
- pyconvertu-1.0.3/convertu/__init__.py +8 -0
- {pyconvertu-1.0.1 → pyconvertu-1.0.3}/convertu/__main__.py +4 -4
- {pyconvertu-1.0.1 → pyconvertu-1.0.3}/pyconvertu.egg-info/PKG-INFO +2 -2
- {pyconvertu-1.0.1 → pyconvertu-1.0.3}/pyproject.toml +1 -1
- pyconvertu-1.0.1/convertu/__init__.py +0 -8
- {pyconvertu-1.0.1 → pyconvertu-1.0.3}/convertu/convertu.py +0 -0
- {pyconvertu-1.0.1 → pyconvertu-1.0.3}/pyconvertu.egg-info/SOURCES.txt +0 -0
- {pyconvertu-1.0.1 → pyconvertu-1.0.3}/pyconvertu.egg-info/dependency_links.txt +0 -0
- {pyconvertu-1.0.1 → pyconvertu-1.0.3}/pyconvertu.egg-info/entry_points.txt +0 -0
- {pyconvertu-1.0.1 → pyconvertu-1.0.3}/pyconvertu.egg-info/top_level.txt +0 -0
- {pyconvertu-1.0.1 → pyconvertu-1.0.3}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyconvertu
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.3
|
|
4
4
|
Summary: From/to Classification Converter
|
|
5
5
|
Author-email: The Economist <29724411+econcz@users.noreply.github.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -29,7 +29,7 @@ pip install pyconvertu
|
|
|
29
29
|
## Quick example
|
|
30
30
|
python:
|
|
31
31
|
```python
|
|
32
|
-
from
|
|
32
|
+
from convertu import convert
|
|
33
33
|
|
|
34
34
|
print(convert(to="iso3", text=["Czech Republic", "Slovakia"]))
|
|
35
35
|
```
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
from __future__
|
|
1
|
+
from __future__ import annotations
|
|
2
2
|
import signal
|
|
3
3
|
import sys
|
|
4
4
|
import argparse
|
|
5
|
-
from
|
|
6
|
-
from typing
|
|
7
|
-
from json
|
|
5
|
+
from convertu import convert, __version__
|
|
6
|
+
from typing import Any
|
|
7
|
+
from json import dumps
|
|
8
8
|
|
|
9
9
|
def _print_human_readable(obj: Any) -> None:
|
|
10
10
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyconvertu
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.3
|
|
4
4
|
Summary: From/to Classification Converter
|
|
5
5
|
Author-email: The Economist <29724411+econcz@users.noreply.github.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -29,7 +29,7 @@ pip install pyconvertu
|
|
|
29
29
|
## Quick example
|
|
30
30
|
python:
|
|
31
31
|
```python
|
|
32
|
-
from
|
|
32
|
+
from convertu import convert
|
|
33
33
|
|
|
34
34
|
print(convert(to="iso3", text=["Czech Republic", "Slovakia"]))
|
|
35
35
|
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|