PyLinks 0.0.0.dev48__py3-none-any.whl → 0.0.0.dev50__py3-none-any.whl

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.
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PyLinks
3
- Version: 0.0.0.dev48
3
+ Version: 0.0.0.dev50
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: requests <3,>=2.31.0
6
- Requires-Dist: ExceptionMan ==0.0.0.dev35
7
- Requires-Dist: MDit ==0.0.0.dev35
6
+ Requires-Dist: ExceptionMan ==0.0.0.dev37
7
+ Requires-Dist: MDit ==0.0.0.dev37
8
8
 
@@ -8,7 +8,7 @@ pylinks/api/__init__.py,sha256=q7hhZabjTajBYxDxzJy44y8Rx_-5sye9VnVnkytIua8,488
8
8
  pylinks/api/doi.py,sha256=7YnMqy4_Ct2sw9Wz4mQC5S4xAahwh6fMUPKAx_qqj-M,5899
9
9
  pylinks/api/github.py,sha256=sMR40PlPkPZe5HQj1cW_flrsPH6m7yaucBfwfpNdyuM,80310
10
10
  pylinks/api/orcid.py,sha256=e0DAuziq7HdGJ4BJOI28mo1emB4_7gPsLxR7VsYPYMA,1377
11
- pylinks/api/zenodo.py,sha256=ubsFYg9q9C_gTVatVccglhtPQ7lAJEQllbIMsdvRyiI,8155
11
+ pylinks/api/zenodo.py,sha256=NcWOrFM0-3hMlIzS2mN1-5addJ-A7QDAFPcZWGedquQ,8375
12
12
  pylinks/exception/__init__.py,sha256=tU-LvaYi4NsLEZeeUN-JjemhefJ6R_DG37fIMoaZ5a4,89
13
13
  pylinks/exception/api.py,sha256=cbbYOiAeREIQnt-_EWpeRzaKwEb1kGuuVrpWtZc6Bj4,6000
14
14
  pylinks/exception/base.py,sha256=dAHiss2J_Sq-4-SkFJHlYVFMw6n5BKGw2oxGFUCgmik,1504
@@ -23,7 +23,7 @@ pylinks/site/pypi.py,sha256=-NSglDo-k55bALi-aN0iF2I6z1WXsjYOIVDyjNUxuuU,1944
23
23
  pylinks/site/readthedocs.py,sha256=_s27ETa3oRoeDdQvFrrtuSh2my6cjWEIEVhwHz0yZ90,1797
24
24
  pylinks/uri/__init__.py,sha256=W38fMHGgV7mg8uPWC8IMWGgmlCQO9VHIqNpInG2NS2I,29
25
25
  pylinks/uri/data.py,sha256=uD1CipMo4oFpxH8liOY24PsxMyuR5kEH2a0XDkO1dgI,6380
26
- PyLinks-0.0.0.dev48.dist-info/METADATA,sha256=n-AUWIHH8rSCR9H3_YHgKj5sKsnGUIFk1xKHVs9hGUE,194
27
- PyLinks-0.0.0.dev48.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
28
- PyLinks-0.0.0.dev48.dist-info/top_level.txt,sha256=LlaTHnPw89VppYU3vCciF81IOSzvc16RkdNkOCqhAcs,8
29
- PyLinks-0.0.0.dev48.dist-info/RECORD,,
26
+ PyLinks-0.0.0.dev50.dist-info/METADATA,sha256=vkPGxQNjOzBeTjZuRe2mKgT9JCohue3Hgc5lPZU1YpQ,194
27
+ PyLinks-0.0.0.dev50.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
28
+ PyLinks-0.0.0.dev50.dist-info/top_level.txt,sha256=LlaTHnPw89VppYU3vCciF81IOSzvc16RkdNkOCqhAcs,8
29
+ PyLinks-0.0.0.dev50.dist-info/RECORD,,
pylinks/api/zenodo.py CHANGED
@@ -101,6 +101,14 @@ class Zenodo:
101
101
  verb="GET",
102
102
  )
103
103
 
104
+ def deposition_delete(self, deposition_id: str | int):
105
+ self.rest_query(
106
+ f"deposit/depositions/{deposition_id}",
107
+ verb="DELETE",
108
+ response_type=None
109
+ )
110
+ return
111
+
104
112
  def deposition_create(self, metadata: dict | None = None) -> dict:
105
113
  """Create a new deposition.
106
114