Skip to main content

Access openESM experience sampling datasets

Project description

openESM Python Package

CI codecov Python versions License: MIT

Python interface for accessing openly available Experience Sampling Method (ESM) datasets

This package provides a Python equivalent to the openESM R package, allowing researchers to programmatically access and download ESM datasets from the openESM repository. All datasets are hosted on Zenodo with proper DOIs for citation.

Features

  • Simple API - Download datasets with a single function call
  • Automatic Caching - Datasets cached locally to avoid re-downloads
  • Citation Helper - Built-in methods for proper dataset citation

Installation

pip install openesm

Quick Start

import openesm

# List available datasets
datasets = openesm.list_datasets()
print(datasets)

# Download a specific dataset
dataset = openesm.get_dataset("0001")
print(dataset.data)  # Access the polars DataFrame
print(dataset.cite())  # Get citation information

# Download multiple datasets
datasets = openesm.get_dataset(["0001", "0002"])

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openesm-0.1.2.tar.gz (135.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openesm-0.1.2-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file openesm-0.1.2.tar.gz.

File metadata

  • Download URL: openesm-0.1.2.tar.gz
  • Upload date:
  • Size: 135.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for openesm-0.1.2.tar.gz
Algorithm Hash digest
SHA256 52b29904d922e175001003382a772bc2a7f116f93abf8685a0c2778aa5f73bb1
MD5 0d0be2a58bf9594d48ff7ba5fdb74add
BLAKE2b-256 43c3d2896d66962ce97e71d44e9a2d8e0270771d70e3556bccccb5f8e2f2324b

See more details on using hashes here.

Provenance

The following attestation bundles were made for openesm-0.1.2.tar.gz:

Publisher: release.yml on openesm-project/openesm-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openesm-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: openesm-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for openesm-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7bd347b6fd466829267987ea3221314da4ae19b36d945c553c1d6ffa7af79de0
MD5 fddddc59f150e441b549f799eacdbc07
BLAKE2b-256 8580ea07d26fad98ecf585c1a25431a819f3f6f34953c0ebbac8fbecefd3b3f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for openesm-0.1.2-py3-none-any.whl:

Publisher: release.yml on openesm-project/openesm-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page