agentprov-zenodo 0.1.1__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.
- agentprov_zenodo-0.1.1/PKG-INFO +26 -0
- agentprov_zenodo-0.1.1/README.md +13 -0
- agentprov_zenodo-0.1.1/pyproject.toml +26 -0
- agentprov_zenodo-0.1.1/pyproject.toml.orig +24 -0
- agentprov_zenodo-0.1.1/src/agentprov_zenodo/__init__.py +7 -0
- agentprov_zenodo-0.1.1/src/agentprov_zenodo/__main__.py +7 -0
- agentprov_zenodo-0.1.1/src/agentprov_zenodo/draft.py +1256 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: agentprov-zenodo
|
|
3
|
+
Version: 0.1.1
|
|
4
|
+
Summary: AgentPROV's draft-only Zenodo uploader (D-790, D-870, D-880): unpublished drafts, communities, reserved DOIs and cross-links from deposit drafts made by `agentprov package --deposit`. Never publishes. Standard library for the network; outside the agentprov package (HL H.10.1(1)).
|
|
5
|
+
Author: Nicholas Jones
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Requires-Dist: agentprov
|
|
8
|
+
Requires-Python: >=3.14
|
|
9
|
+
Project-URL: Homepage, https://w3id.org/agentprov/
|
|
10
|
+
Project-URL: Documentation, https://w3id.org/agentprov/docs/
|
|
11
|
+
Project-URL: Source, https://github.com/nickjones39/AgentPROV
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
|
|
14
|
+
# agentprov-zenodo
|
|
15
|
+
|
|
16
|
+
AgentPROV's draft-only Zenodo uploader (D-790, D-870, D-880). It turns a deposit draft made by
|
|
17
|
+
`agentprov package --deposit` into an **unpublished** Zenodo draft, and can place drafts in a community and cross-link
|
|
18
|
+
the records of a collection by their reserved DOIs. It never publishes, edits a published record or deletes anything:
|
|
19
|
+
you review each draft on Zenodo's website and press Publish yourself.
|
|
20
|
+
|
|
21
|
+
python -I -m agentprov_zenodo DEPOSIT_DIR --target sandbox --check
|
|
22
|
+
python -I -m agentprov_zenodo --help
|
|
23
|
+
|
|
24
|
+
The user guide's chapter 5 ("Creating an unpublished Zenodo draft") is the manual. It is a separate distribution so
|
|
25
|
+
that the `agentprov` package stays offline for releases (HL H.10.1(1)); install it with `pip install agentprov[zenodo]`
|
|
26
|
+
or, in a checkout, `uv sync`.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# agentprov-zenodo
|
|
2
|
+
|
|
3
|
+
AgentPROV's draft-only Zenodo uploader (D-790, D-870, D-880). It turns a deposit draft made by
|
|
4
|
+
`agentprov package --deposit` into an **unpublished** Zenodo draft, and can place drafts in a community and cross-link
|
|
5
|
+
the records of a collection by their reserved DOIs. It never publishes, edits a published record or deletes anything:
|
|
6
|
+
you review each draft on Zenodo's website and press Publish yourself.
|
|
7
|
+
|
|
8
|
+
python -I -m agentprov_zenodo DEPOSIT_DIR --target sandbox --check
|
|
9
|
+
python -I -m agentprov_zenodo --help
|
|
10
|
+
|
|
11
|
+
The user guide's chapter 5 ("Creating an unpublished Zenodo draft") is the manual. It is a separate distribution so
|
|
12
|
+
that the `agentprov` package stays offline for releases (HL H.10.1(1)); install it with `pip install agentprov[zenodo]`
|
|
13
|
+
or, in a checkout, `uv sync`.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "agentprov-zenodo"
|
|
3
|
+
version = "0.1.1"
|
|
4
|
+
description = "AgentPROV's draft-only Zenodo uploader (D-790, D-870, D-880): unpublished drafts, communities, reserved DOIs and cross-links from deposit drafts made by `agentprov package --deposit`. Never publishes. Standard library for the network; outside the agentprov package (HL H.10.1(1))."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.14"
|
|
7
|
+
license = "MIT"
|
|
8
|
+
dependencies = ["agentprov"]
|
|
9
|
+
|
|
10
|
+
[[project.authors]]
|
|
11
|
+
name = "Nicholas Jones"
|
|
12
|
+
|
|
13
|
+
[project.scripts]
|
|
14
|
+
agentprov-zenodo-draft = "agentprov_zenodo.draft:main"
|
|
15
|
+
|
|
16
|
+
[project.urls]
|
|
17
|
+
Homepage = "https://w3id.org/agentprov/"
|
|
18
|
+
Documentation = "https://w3id.org/agentprov/docs/"
|
|
19
|
+
Source = "https://github.com/nickjones39/AgentPROV"
|
|
20
|
+
|
|
21
|
+
[build-system]
|
|
22
|
+
requires = ["uv_build>=0.12.18,<0.13"]
|
|
23
|
+
build-backend = "uv_build"
|
|
24
|
+
|
|
25
|
+
[tool.uv.sources.agentprov]
|
|
26
|
+
workspace = true
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "agentprov-zenodo"
|
|
3
|
+
version = "0.1.1"
|
|
4
|
+
description = "AgentPROV's draft-only Zenodo uploader (D-790, D-870, D-880): unpublished drafts, communities, reserved DOIs and cross-links from deposit drafts made by `agentprov package --deposit`. Never publishes. Standard library for the network; outside the agentprov package (HL H.10.1(1))."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.14"
|
|
7
|
+
license = "MIT"
|
|
8
|
+
authors = [{ name = "Nicholas Jones" }]
|
|
9
|
+
dependencies = ["agentprov"] # verify, ingest and the keychain client; agentprov never imports this package
|
|
10
|
+
|
|
11
|
+
[project.scripts]
|
|
12
|
+
agentprov-zenodo-draft = "agentprov_zenodo.draft:main"
|
|
13
|
+
|
|
14
|
+
[project.urls]
|
|
15
|
+
Homepage = "https://w3id.org/agentprov/"
|
|
16
|
+
Documentation = "https://w3id.org/agentprov/docs/"
|
|
17
|
+
Source = "https://github.com/nickjones39/AgentPROV"
|
|
18
|
+
|
|
19
|
+
[build-system]
|
|
20
|
+
requires = ["uv_build>=0.12.18,<0.13"]
|
|
21
|
+
build-backend = "uv_build"
|
|
22
|
+
|
|
23
|
+
[tool.uv.sources]
|
|
24
|
+
agentprov = { workspace = true }
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"""AgentPROV's draft-only Zenodo uploader (D-790, D-870, D-880), a distribution of its own (``agentprov-zenodo``).
|
|
2
|
+
|
|
3
|
+
It lives outside the ``agentprov`` package because HL H.10.1(1) keeps every network library and every upload call out
|
|
4
|
+
of ``agentprov.release``, and D-790 keeps the uploader out of the ``agentprov`` command. ``agentprov`` never imports it
|
|
5
|
+
(``tests/boundary/test_import_boundary.py``). The tool is :mod:`agentprov_zenodo.draft`; run it as
|
|
6
|
+
``python -I -m agentprov_zenodo``, ``agentprov-zenodo-draft`` or, in a checkout, ``tools/zenodo_draft.py``.
|
|
7
|
+
"""
|