Skip to main content

DOI

pangaeapy - a Python module to access and analyse PANGAEA data

Background

pangaea

PANGAEA (https://www.pangaea.de) is one of the world's largest archives of this kind offering essential data services such as data curation, long-term data archiving and data publication. PANGAEA hosts about 400,000 datasets comprising around 17.5 billion individual measurements (Aug. 2020) and observations which have been collected during more than 240 international research projects. The system is open to any project, institution or individual scientist using, archiving or publishing research data.

Since the programming languages Python and R have become increasingly important for scientific data analysis in recent years, we have developed 'pangaeapy' a new, custom Python module that considerably simplifies typical data science tasks.

Given a DOI, pangaeapy uses PANGAEA’s web services to automatically load PANGAEA metadata into a dedicated python object and tabular data into a Python Data Analysis Library (pandas) DataFrame with a mere call of a specialized function. This makes it possible to integrate PANGAEA data with data from a large number of sources and formats (Excel, NetCDF, etc.) and to carry out data analyses within a suitable computational environment such as Jupyter notebooks in a uniform manner.

Installation

  • Source code from GitHub
    • pip install git+https://github.com/pangaea-data-publisher/pangaeapy.git
  • Wheels for Python from PyPI
    • pip install pangaeapy

Usage

from pangaeapy import PanDataSet

ds = PanDataSet(787140)
print(ds.title)
print(ds.data.head())

Examples

Please take a look at the example Jupyter Notebooks in the examples folder.

Documentation

https://pangaea-data-publisher.github.io/pangaeapy/

Running the tests

The tests are located in the test directory. You can run them by executing pytest or tox in the root directory.

Cite as

Robert Huber, Egor Gordeev, Markus Stocker, Aarthi Balamurugan, & Uwe Schindler (2020). pangaeapy - a Python module to access and analyse PANGAEA data. Zenodo. https://doi.org/10.5281/zenodo.4013940.

DOI

Metadata

Release files for pangaeapy 1.2.0

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

Source distribution (sdist)

Source distribution for pangaeapy 1.2.0
File Size Uploaded Provenance Actions
pangaeapy-1.2.0.tar.gz 841.6 kB Without provenance Details for pangaeapy-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pangaeapy 1.2.0
File Interpreter ABI Platform Actions
pangaeapy-1.2.0-py3-none-any.whl Python 3 none any Details for pangaeapy-1.2.0-py3-none-any.whl

Total release size: 913.5 kB

Release files / pangaeapy-1.2.0.tar.gz

Download URL pangaeapy-1.2.0.tar.gz
Size 841.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d67cfa60861762c0100e9d36773dba66bade881b282e3b7951e267d92ab4c7ed
BLAKE2b-256 checksum
How to use checksums
3ba25d6fec9c734d5cf0a57734eef33ddf72bc7449d5ddf06331416a725e0c6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / pangaeapy-1.2.0-py3-none-any.whl

Download URL pangaeapy-1.2.0-py3-none-any.whl
Size 71.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15534b4df711d6cb7f2efe9fbd832de637b9a14883b6211a2ee9b7df5056943f
BLAKE2b-256 checksum
How to use checksums
e3da08cf25acd727c06bd21536c901ed06c0abb897689728257827b728011489
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for pangaeapy 1.2.0

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.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files No provenance

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