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.0.tar.gz (126.6 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.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openesm-0.1.0.tar.gz
  • Upload date:
  • Size: 126.6 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.0.tar.gz
Algorithm Hash digest
SHA256 5e4a3b349686573d7054d49f0a15e2c016455213668473a46a0b052d0eb2838f
MD5 9c4d37af27e7b191d2fbf21e84c66dfe
BLAKE2b-256 a3c04cc4ec57d5f7ffbfbf8f97f8f8ef6c0e71050adfee153800b4a09df11605

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: openesm-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.9 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5efde89f1773f53a228a752fdec1326ccd2b0975a897cb43e07f5878c8fa6fdd
MD5 3cce5e7e70b2cd0927fc61fc0068e4bd
BLAKE2b-256 5c47891efce5f213c283229ac1422f003de744821ed7e13e4f9d0eb0d78c42ae

See more details on using hashes here.

Provenance

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