pyzenodo3
Simple, clean pure Python 3 Zenodo API (upload, download).
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
Repository
Simple, clean pure Python 3 Zenodo API (upload, download).
Basic Info
Statistics
- Stars: 39
- Watchers: 1
- Forks: 5
- Open Issues: 7
- Releases: 4
Topics
Metadata Files
README.md
PyZenodo
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
- Get a Zenodo
deposit:writeAPI Token. This token must remain private, NOT uploaded to GitHub, etc.! - create a simple text file
mymeta.inicontaining title, author etc. (see the examplemeta.iniin this repo) - 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:publishAPI 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
- Repositories: 63
- Profile: https://github.com/space-physics
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
Top Committers
| Name | 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
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
- Homepage: https://github.com/space-physics/pyzenodo3
- Documentation: https://pyzenodo3.readthedocs.io/
- License: apache-2.0
-
Latest release: 1.0.2
published almost 6 years ago
Rankings
Maintainers (1)
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.
- Homepage: https://github.com/space-physics/pyzenodo3
- License: Apache-2.0
-
Latest release: 1.0.2
published over 5 years ago