oampy is a Python package and command line tool that allows to access data from the Open Access Monitor (OAM), which is run by Forschungszentrum Jülich.
Installation
… via PyPI
pip install oampy
Prerequisite
Create an environment variable OAM_EMAIL with your email address. If the variable isn’t created before using this package, your username@hostname will be used to populate the user agent field in the request headers instead. Since version 2.1 you need a token to use the API. Therefore, you must create an environment variable OAM_TOKEN with your token. See also Usage Terms below.
Usage Examples
Command Line
# set environment variable OAM_EMAIL
export OAM_EMAIL="researcher@institution.org"
# set environment variable OAM_TOKEN
export OAM_TOKEN="YOUR_SECRET_OAM_API_TOKEN"
# fetch metadata of journal given by ISSN
oampy journal "0360-4012"
# fetch metadata of publication given by DOI
oampy publication "10.1007/s11263-011-0505-4"
Interpreter
# import package os
import os
# set environment variable OAM_EMAIL
os.environ["OAM_EMAIL"] = "researcher@institution.org"
# set environment variable OAM_TOKEN
os.environ["OAM_TOKEN"] = "YOUR_SECRET_OAM_API_TOKEN"
# import package oampy
import oampy
# fetch metadata of journal
journal = oampy.get_journal("0360-4012")
# fetch metadata of publication
publication = oampy.get_publication("10.1007/s11263-011-0505-4")
Usage Terms
Open Access Monitor
The database of the Open Access Monitor Germany is published under the Open Database License 1.0.
The data can be reused under the following conditions:
Reuse of larger amounts of data and use of the API: please contact us.
Reuse of the data by download via the OAM application: CC BY 4.0
Metadata
Release files for oampy 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oampy-0.3.0.tar.gz | 44.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oampy-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 77.4 kB
Release files / oampy-0.3.0.tar.gz
| Download URL | oampy-0.3.0.tar.gz |
|---|---|
| Size | 44.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78521ad554006743a00619caef058b9a43a18da47907b75b3c176b47acfa33a1
|
|
BLAKE2b-256 checksum How to use checksums |
ddbc0a7043aba5ee089735a934de9694972078894d1bed5db99d76bf14e55673
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.10
|
Release files / oampy-0.3.0-py3-none-any.whl
| Download URL | oampy-0.3.0-py3-none-any.whl |
|---|---|
| Size | 32.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d0376e0af0181dc3c8896271965050cc630de5a474b5d23649ec076802a3dff5
|
|
BLAKE2b-256 checksum How to use checksums |
3bb08224bb44ce442d55dd24538a9828249a654a7aafc1fbc3b5818c61e65a9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.10
|