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.1.tar.gz (135.3 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.1-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openesm-0.1.1.tar.gz
  • Upload date:
  • Size: 135.3 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.1.tar.gz
Algorithm Hash digest
SHA256 c2024f2453515306b4abd21bad1cd5f3f142fa4cd57864ba8a7812910fd4653c
MD5 3a60360d521bde4d645af2f6b640ca1a
BLAKE2b-256 48c4f8f1f436b4c21c620b7720ba76239c171443bfe866f3ce0dd334f827fc84

See more details on using hashes here.

Provenance

The following attestation bundles were made for openesm-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: openesm-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0a97d8c0a07737eaa7d06ed60c0f11d1756dd0aa5b2f2a7f71c894f605d2c2e2
MD5 a2d6c2890c99c0186b5530915019c1f2
BLAKE2b-256 98ecbca4cd992bd8ddb2414db3c30e6f416d99360c73e31b2d6aecc965380cdf

See more details on using hashes here.

Provenance

The following attestation bundles were made for openesm-0.1.1-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