Skip to main content

Data management and scoring tools for the M2C2 project

Project description

m2c2_datakit

🚀 A set of R, Python, and NPM packages for scoring M2C2kit Data! 🚀

This is the Python package 🐍

PyPI version


Developers:


Changelog

Source: https://github.com/nelsonroque/m2c2kit-data

See CHANGELOG.md


Features

Current Features

  1. Load a JSON file of a query export from MongoDB
  2. Load a folder of JSON files, one folder per participant, with subfolders for sessions, from Metricwire
  3. Interoperable Data exports (csv, tsv, pkl)

Feature Roadmap

  1. In General: Feature and Data parity from R, Python, and NPM scoring tools (same data + different tool = same scores)
  2. CLI in Python for simplifying scoring with one-liners (e.g., m2data --score --summarise --file data.json)
  3. Load a folder of JSON files, one folder per participant, with subfolders for sessions, from REDCAP (Coming Soon)
  4. Load a file export, containing columns for each trial, for each task, from Qualtrics (Coming Soon)

🚀 Getting Started

Installation for Scoring Developers

# 1. Create the virtual environment
pip install uv # or pip3 install uv
uv venv .venv

# 2. Activate the virtual environment
source .venv/bin/activate  # macOS/Linux
# .venv\Scripts\Activate    # Windows (PowerShell)

# 3. Install dependencies
uv pip install -e .

# 4. Run formatting, linting, and type checking
make install

Installation for End Users

  • pip install m2c2_datakit
  • pip3 install m2c2_datakit

💡 Contributions Welcome!

📌 Have ideas? Found a bug? Want to improve the package? Open an issue!.

📜 Code of Conduct - Please be respectful and follow community guidelines.


Acknowledgements

The development of m2c2_datakit was made possible with support from NIA (1U2CAG060408-01).


🌎 More Resources:
📌 M2C2 Official Website 📌 M2C2kit Official Documentation Website 📌 Pushing to PyPI


🚀 Let's go study some brains!

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

m2c2_datakit-0.1.18.tar.gz (49.5 kB view details)

Uploaded Source

Built Distribution

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

m2c2_datakit-0.1.18-py3-none-any.whl (40.1 kB view details)

Uploaded Python 3

File details

Details for the file m2c2_datakit-0.1.18.tar.gz.

File metadata

  • Download URL: m2c2_datakit-0.1.18.tar.gz
  • Upload date:
  • Size: 49.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for m2c2_datakit-0.1.18.tar.gz
Algorithm Hash digest
SHA256 ce3febb2373feba587fdc14fe9b57fa66fdb6a23e7115ea6bf75c8ad94ae3f4e
MD5 357fce49791957850f3e2b8d008a13d1
BLAKE2b-256 7de41750dff34159f86fa7d5c8797e66320cae7214297efcdc123ce54382d5c7

See more details on using hashes here.

File details

Details for the file m2c2_datakit-0.1.18-py3-none-any.whl.

File metadata

  • Download URL: m2c2_datakit-0.1.18-py3-none-any.whl
  • Upload date:
  • Size: 40.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for m2c2_datakit-0.1.18-py3-none-any.whl
Algorithm Hash digest
SHA256 0150789b3bed2487d733234d462e877e9e173891399405d3d4f939ebeff5ad55
MD5 a7895ee56cda04b288b816713916a2cc
BLAKE2b-256 41789ce89b295ce706a08539b001a217b3e6d038326c28a8161bd98cf07ff8a3

See more details on using hashes here.

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