pyzenodo3

Simple, clean pure Python 3 Zenodo API (upload, download).

https://github.com/space-physics/pyzenodo3

Science Score: 28.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.2%) to scientific vocabulary

Keywords

json zenodo
Last synced: 6 months ago · JSON representation ·

Repository

Simple, clean pure Python 3 Zenodo API (upload, download).

Basic Info
  • Host: GitHub
  • Owner: space-physics
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 48.8 KB
Statistics
  • Stars: 39
  • Watchers: 1
  • Forks: 5
  • Open Issues: 7
  • Releases: 4
Topics
json zenodo
Created over 7 years ago · Last pushed over 2 years ago
Metadata Files
Readme License Citation

README.md

PyZenodo

DOI Actions Status pypi versions PyPi Download stats

Pure Python wrapper for Zenodo REST API.

Allows upload / download of data from Zenodo.

Install

sh pip install pyzenodo3

Latest development

```sh git clone https://github.com/scivision/pyzenodo3

pip install -e pyzenodo3 ```

Usage

Here are several examples of using Zenodo from Python 3. All of them assume you have first:

```python import pyzenodo3

zen = pyzenodo3.Zenodo() ```

Upload file to Zenodo

  1. Get a Zenodo deposit:write API Token. This token must remain private, NOT uploaded to GitHub, etc.!
  2. create a simple text file mymeta.ini containing title, author etc. (see the example meta.ini in this repo)
  3. upload file to Zenodo (myApiToken is the cut-n-pasted Zenodo API text token)

sh python pyzenodo3.upload myApiToken mymeta.ini myfile.zip --use-sandbox

Note the --use-sandbox is to avoid making junk uploads while testing out. Once you're sure things are working as intended, not using that flag uploads to "real" Zenodo permanently.

Find Zenodo record by Github repo

python Rec = zen.find_record__by_github_repo('scivision/lowtran') This Zenodo Record contains the metadata that can be further manipulated in a simple class containing the data in dictionaries, with a few future helper methods.

Find Zenodo records by Github username

python Recs = zen.search('scivision') Recs is a list of Zenodo Records for the GitHub username queried, as in the example above.

Notes

  • We don't use deposit:publish API token to keep a human-in-the-loop in case of hacking of sensor nodes.

Owner

  • Name: Space Physics
  • Login: space-physics
  • Kind: organization
  • Location: 1 au

Space Physics modeling and analysis

Citation (CITATION)

https://doi.org/10.5281/zenodo.3537730

GitHub Events

Total
  • Watch event: 6
Last Year
  • Watch event: 6

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 31
  • Total Committers: 3
  • Avg Commits per committer: 10.333
  • Development Distribution Score (DDS): 0.129
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Michael Hirsch, Ph.D s****n@u****m 27
Michael Hirsch, Ph.D 1****n@u****m 3
Kaspar Emanuel k****l@g****m 1

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 6
  • Total pull requests: 5
  • Average time to close issues: 2 months
  • Average time to close pull requests: 9 days
  • Total issue authors: 4
  • Total pull request authors: 4
  • Average comments per issue: 1.67
  • Average comments per pull request: 1.8
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • beniroquai (2)
  • kasbah (2)
  • Heiss (1)
  • mpariente (1)
Pull Request Authors
  • kikislater (2)
  • mrakitin (1)
  • kasbah (1)
  • abhi-glitchhg (1)
Top Labels
Issue Labels
bug (1) enhancement (1)
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 682 last-month
  • Total docker downloads: 54
  • Total dependent packages: 6
    (may contain duplicates)
  • Total dependent repositories: 3
    (may contain duplicates)
  • Total versions: 6
  • Total maintainers: 1
pypi.org: pyzenodo3

Pure Python 3 wrapper for the Zenodo REST API

  • Versions: 5
  • Dependent Packages: 4
  • Dependent Repositories: 3
  • Downloads: 682 Last month
  • Docker Downloads: 54
Rankings
Dependent packages count: 1.9%
Docker downloads count: 3.1%
Downloads: 7.1%
Average: 7.7%
Dependent repos count: 8.9%
Stargazers count: 11.0%
Forks count: 14.2%
Maintainers (1)
Last synced: 6 months ago
conda-forge.org: pyzenodo3

PyZenodo3 is a pure Python wrapper for the Zenodo REST API (http://developers.zenodo.org/). It allows upload to and download from Zenodo.

  • Versions: 1
  • Dependent Packages: 2
  • Dependent Repositories: 0
Rankings
Dependent packages count: 19.5%
Dependent repos count: 34.0%
Average: 36.7%
Stargazers count: 41.7%
Forks count: 51.6%
Last synced: 6 months ago