dump-things-pyclient 0.1.2__tar.gz → 0.1.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.
- {dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/PKG-INFO +5 -2
- {dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/dump_things_pyclient/commands/json2ttl.py +11 -4
- {dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/dump_things_pyclient/commands/read_pages.py +1 -0
- {dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/dump_things_pyclient.egg-info/PKG-INFO +5 -2
- {dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/dump_things_pyclient.egg-info/requires.txt +6 -1
- {dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/pyproject.toml +5 -3
- {dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/README.md +0 -0
- {dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/dump_things_pyclient/__init__.py +0 -0
- {dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/dump_things_pyclient/commands/__init__.py +0 -0
- {dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/dump_things_pyclient/commands/auto_curate.py +0 -0
- {dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/dump_things_pyclient/commands/get_records.py +0 -0
- {dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/dump_things_pyclient/commands/post_records.py +0 -0
- {dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/dump_things_pyclient/communicate.py +0 -0
- {dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/dump_things_pyclient.egg-info/SOURCES.txt +0 -0
- {dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/dump_things_pyclient.egg-info/dependency_links.txt +0 -0
- {dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/dump_things_pyclient.egg-info/entry_points.txt +0 -0
- {dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/dump_things_pyclient.egg-info/top_level.txt +0 -0
- {dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/setup.cfg +0 -0
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dump-things-pyclient
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: A client library and some CLI command for dump-things-services
|
|
5
5
|
Author-email: Christian Mönch <christian.moench@web.de>
|
|
6
6
|
Requires-Python: >=3.11
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
|
-
Requires-Dist: dump-things-service>=5.3.0
|
|
9
8
|
Requires-Dist: requests>=2.32.5
|
|
9
|
+
Provides-Extra: ttl
|
|
10
|
+
Requires-Dist: dump-things-service>=5.3.0; extra == "ttl"
|
|
11
|
+
Provides-Extra: tests
|
|
12
|
+
Requires-Dist: pytest>=9.0.1; extra == "tests"
|
|
10
13
|
|
|
11
14
|
# Dump Things Python Client
|
|
12
15
|
|
{dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/dump_things_pyclient/commands/json2ttl.py
RENAMED
|
@@ -5,10 +5,17 @@ import json
|
|
|
5
5
|
import re
|
|
6
6
|
import sys
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
# The try-except clause is required because marking scripts as optional does
|
|
9
|
+
# not work. That means, even scripts marked as optional are always installed
|
|
10
|
+
# (see <https://stackoverflow.com/questions/77501716/pyproject-toml-setuptools-how-can-i-specify-optional-scripts-and-modules>)
|
|
11
|
+
try:
|
|
12
|
+
from dump_things_service.converter import (
|
|
13
|
+
Format,
|
|
14
|
+
FormatConverter,
|
|
15
|
+
)
|
|
16
|
+
except ImportError:
|
|
17
|
+
print(f"Please install 'dump-things-pyclient[ttl]' to use this command.")
|
|
18
|
+
sys.exit(0)
|
|
12
19
|
|
|
13
20
|
|
|
14
21
|
description = f"""Read JSON records from stdin and convert them to TTL
|
{dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/dump_things_pyclient.egg-info/PKG-INFO
RENAMED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dump-things-pyclient
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: A client library and some CLI command for dump-things-services
|
|
5
5
|
Author-email: Christian Mönch <christian.moench@web.de>
|
|
6
6
|
Requires-Python: >=3.11
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
|
-
Requires-Dist: dump-things-service>=5.3.0
|
|
9
8
|
Requires-Dist: requests>=2.32.5
|
|
9
|
+
Provides-Extra: ttl
|
|
10
|
+
Requires-Dist: dump-things-service>=5.3.0; extra == "ttl"
|
|
11
|
+
Provides-Extra: tests
|
|
12
|
+
Requires-Dist: pytest>=9.0.1; extra == "tests"
|
|
10
13
|
|
|
11
14
|
# Dump Things Python Client
|
|
12
15
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "dump-things-pyclient"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.3"
|
|
4
4
|
description = "A client library and some CLI command for dump-things-services"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11"
|
|
@@ -8,11 +8,13 @@ authors = [
|
|
|
8
8
|
{name="Christian Mönch", email="christian.moench@web.de"},
|
|
9
9
|
]
|
|
10
10
|
dependencies = [
|
|
11
|
-
"dump-things-service>=5.3.0",
|
|
12
11
|
"requests>=2.32.5",
|
|
13
12
|
]
|
|
14
13
|
|
|
15
|
-
[
|
|
14
|
+
[project.optional-dependencies]
|
|
15
|
+
ttl = [
|
|
16
|
+
"dump-things-service>=5.3.0",
|
|
17
|
+
]
|
|
16
18
|
tests = [
|
|
17
19
|
"pytest>=9.0.1",
|
|
18
20
|
]
|
|
File without changes
|
|
File without changes
|
{dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/dump_things_pyclient/commands/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/dump_things_pyclient/communicate.py
RENAMED
|
File without changes
|
{dump_things_pyclient-0.1.2 → dump_things_pyclient-0.1.3}/dump_things_pyclient.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|