Skip to main content

zenodo-deposit: A command line interface to making file deposits to Zenodo

Python tests Commit activity License

A command line interface to making file deposits to Zenoodo

Understanding the use case

Sometimes is it more convenient to make a deposit to Zenodo using a command line interface (CLI) rather than through the web interface. This is especially true when you have a large number of files to deposit, or when you want to automate the deposit process as part of a larger workflow. This script provides tools to make file deposits to Zenodo using the command line.

Installation

This can installed using pipx or uv:

$ pipx install zenodo-deposit

or

$ uv tool install zenodo-deposit

Usage

$ zd --help
Usage: zd [OPTIONS] COMMAND [ARGS]...

Options:
  --version                       Show the version and exit.
  --sandbox, --dev / --production, --prod
                                  Set Zenodo environment to sandbox or
                                  production  [default: sandbox]
  --config-file PATH              Path to the configuration file
  --log-level [DEBUG|INFO|WARNING|ERROR|CRITICAL]
                                  Set the log level
  --help                          Show this message and exit.

Commands:
  create    Create a new deposition, without uploading a file
  deposit   Deposit a file
  retrieve  Retrieve deposition details
  search    Search for depositions
  upload    Upload one or more files, with metadata, creating a new deposit

Example:

$ zd --dev --log-level DEBUG upload --title 'Testing URL with larger dataset' --type 'dataset' --keywords 'rmp, epa' --name 'Fitzgerald, Will' --affiliation 'EDGI' --description 'Location database' --metadata metadata.toml https://edg.epa.gov/EPADataCommons/public/OA/EPA_SmartLocationDatabase_V3_Jan_2021_Final.csv

Metadata

Release files for zenodo-deposit 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zenodo-deposit 0.1.5
File Size Uploaded Provenance Actions
zenodo_deposit-0.1.5.tar.gz 2.1 MB Without provenance Details for zenodo_deposit-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zenodo-deposit 0.1.5
File Interpreter ABI Platform Actions
zenodo_deposit-0.1.5-py3-none-any.whl Python 3 none any Details for zenodo_deposit-0.1.5-py3-none-any.whl

Total release size: 2.1 MB

Release files / zenodo_deposit-0.1.5.tar.gz

Download URL zenodo_deposit-0.1.5.tar.gz
Size 2.1 MB
Tags Source
SHA-256 checksum
How to use checksums
756de6aa32644bf31a40452557cc4f3382b7c6907e6820ea0059c6bb70a3dc8f
BLAKE2b-256 checksum
How to use checksums
8119bb1f3e319f21ff186dfcb3b1daefa658032bba9eca5cd4514be5b4439f17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release files / zenodo_deposit-0.1.5-py3-none-any.whl

Download URL zenodo_deposit-0.1.5-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c89945912e1840b5f9fd5181cafb9abbd19ac4d192f368b8382dec3e21ff0cbc
BLAKE2b-256 checksum
How to use checksums
e1cb648f8e0b86b29be0ec8e35b06be1951bca1100b00b612af961924546d539
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Security for zenodo-deposit 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page