abysshub 1.0.1.dev2__tar.gz → 1.0.1.dev3__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.
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/PKG-INFO +10 -4
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/README.md +5 -1
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/pyproject.toml +16 -3
- abysshub-1.0.1.dev3/tests/test_package.py +16 -0
- abysshub-1.0.1.dev2/tests/test_package.py +0 -9
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/.gitignore +0 -0
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/LICENSE +0 -0
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/src/abysshub/__init__.py +0 -0
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/src/abysshub/_async_client.py +0 -0
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/src/abysshub/_client.py +0 -0
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/src/abysshub/_error.py +0 -0
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/src/abysshub/_files.py +0 -0
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/src/abysshub/_http.py +0 -0
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/src/abysshub/_run.py +0 -0
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/src/abysshub/_types.py +0 -0
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/src/abysshub/py.typed +0 -0
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/tests/caller.py +0 -0
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/tests/conftest.py +0 -0
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/tests/fake_server.py +0 -0
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/tests/test_client.py +0 -0
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/tests/test_files.py +0 -0
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/tests/test_http.py +0 -0
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/tests/test_replay.py +0 -0
- {abysshub-1.0.1.dev2 → abysshub-1.0.1.dev3}/tests/test_timeout.py +0 -0
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: abysshub
|
|
3
|
-
Version: 1.0.1.
|
|
4
|
-
Summary: The official
|
|
5
|
-
Project-URL: Homepage, https://abysshub.com
|
|
3
|
+
Version: 1.0.1.dev3
|
|
4
|
+
Summary: Run a hosted tool, an Abyss Widget, from your own Python code and get its result and files. The official library for the Abyss API.
|
|
5
|
+
Project-URL: Homepage, https://abysshub.com/docs#api
|
|
6
|
+
Project-URL: Documentation, https://abysshub.com/docs
|
|
6
7
|
Project-URL: Source, https://github.com/Abysshub/abysshub-sdk
|
|
7
8
|
Project-URL: Issues, https://github.com/Abysshub/abysshub-sdk/issues
|
|
8
9
|
License-Expression: MIT
|
|
9
10
|
License-File: LICENSE
|
|
11
|
+
Keywords: abyss,abysshub,api client,automation,file upload,hosted tools,python tools,run,sdk,widget
|
|
10
12
|
Classifier: Programming Language :: Python :: 3
|
|
11
13
|
Classifier: Typing :: Typed
|
|
12
14
|
Requires-Python: >=3.9
|
|
@@ -17,7 +19,11 @@ Description-Content-Type: text/markdown
|
|
|
17
19
|
|
|
18
20
|
# abysshub
|
|
19
21
|
|
|
20
|
-
|
|
22
|
+
Run a hosted tool, an [Abyss](https://abysshub.com) Widget, from your own Python code and get its result and files. This is the official Python library for the Abyss API.
|
|
23
|
+
|
|
24
|
+
- **Docs:** [abysshub.com/docs](https://abysshub.com/docs)
|
|
25
|
+
- **For coding agents:** [abysshub.com/llms.txt](https://abysshub.com/llms.txt)
|
|
26
|
+
- **To make a Widget:** the [`abyss-widget` agent skill](https://github.com/Abysshub/abysshub-sdk/tree/main/skills/abyss-widget)
|
|
21
27
|
|
|
22
28
|
```python
|
|
23
29
|
from abysshub import Abyss, AbyssError
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# abysshub
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Run a hosted tool, an [Abyss](https://abysshub.com) Widget, from your own Python code and get its result and files. This is the official Python library for the Abyss API.
|
|
4
|
+
|
|
5
|
+
- **Docs:** [abysshub.com/docs](https://abysshub.com/docs)
|
|
6
|
+
- **For coding agents:** [abysshub.com/llms.txt](https://abysshub.com/llms.txt)
|
|
7
|
+
- **To make a Widget:** the [`abyss-widget` agent skill](https://github.com/Abysshub/abysshub-sdk/tree/main/skills/abyss-widget)
|
|
4
8
|
|
|
5
9
|
```python
|
|
6
10
|
from abysshub import Abyss, AbyssError
|
|
@@ -4,8 +4,20 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "abysshub"
|
|
7
|
-
version = "1.0.1.
|
|
8
|
-
description = "The official
|
|
7
|
+
version = "1.0.1.dev3"
|
|
8
|
+
description = "Run a hosted tool, an Abyss Widget, from your own Python code and get its result and files. The official library for the Abyss API."
|
|
9
|
+
keywords = [
|
|
10
|
+
"abyss",
|
|
11
|
+
"abysshub",
|
|
12
|
+
"widget",
|
|
13
|
+
"run",
|
|
14
|
+
"hosted tools",
|
|
15
|
+
"python tools",
|
|
16
|
+
"automation",
|
|
17
|
+
"file upload",
|
|
18
|
+
"api client",
|
|
19
|
+
"sdk",
|
|
20
|
+
]
|
|
9
21
|
readme = "README.md"
|
|
10
22
|
license = "MIT"
|
|
11
23
|
license-files = ["LICENSE"]
|
|
@@ -20,7 +32,8 @@ classifiers = [
|
|
|
20
32
|
dev = ["pytest"]
|
|
21
33
|
|
|
22
34
|
[project.urls]
|
|
23
|
-
Homepage = "https://abysshub.com"
|
|
35
|
+
Homepage = "https://abysshub.com/docs#api"
|
|
36
|
+
Documentation = "https://abysshub.com/docs"
|
|
24
37
|
Source = "https://github.com/Abysshub/abysshub-sdk"
|
|
25
38
|
Issues = "https://github.com/Abysshub/abysshub-sdk/issues"
|
|
26
39
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from importlib.metadata import metadata, requires
|
|
2
|
+
|
|
3
|
+
from packaging.requirements import Requirement
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def test_httpx_is_the_only_runtime_dependency():
|
|
7
|
+
reqs = [Requirement(r) for r in requires("abysshub") or []]
|
|
8
|
+
runtime = {r.name for r in reqs if r.marker is None or "extra" not in str(r.marker)}
|
|
9
|
+
assert runtime <= {"httpx"}
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def test_pypi_page_says_the_job_carries_keywords_and_links_to_the_docs():
|
|
13
|
+
meta = metadata("abysshub")
|
|
14
|
+
assert "Abyss Widget" in meta["Summary"]
|
|
15
|
+
assert {"abyss", "abysshub", "widget"} <= set(meta["Keywords"].split(","))
|
|
16
|
+
assert "Homepage, https://abysshub.com/docs#api" in meta.get_all("Project-URL")
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
from importlib.metadata import requires
|
|
2
|
-
|
|
3
|
-
from packaging.requirements import Requirement
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
def test_httpx_is_the_only_runtime_dependency():
|
|
7
|
-
reqs = [Requirement(r) for r in requires("abysshub") or []]
|
|
8
|
-
runtime = {r.name for r in reqs if r.marker is None or "extra" not in str(r.marker)}
|
|
9
|
-
assert runtime <= {"httpx"}
|
|
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
|
|
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
|
|
File without changes
|