Skip to main content

Python package based on Gibson's framework (2003) for turn-taking in group conversation analysis.

Project description

Tests Codecov Docs License: MIT PyPI Code style: black

ParShift

ParShift is a python package based on Gibson's framework for the analysis of conversational sequences.

The framework is established on the concept of participation shift, which refers to the shifting of individuals between the positions of speaker, target (addressee), and non-addressee (everyone else), in a group conversation.

Installation

From PyPI

pip install parshift

From source

Directly using pip:

pip install git+https://github.com/bdfsaraiva/parshift.git#egg=parshift

Or each step at a time:

git clone https://github.com/bdfsaraiva/parshift
cd parshift
pip install .

Getting Started

For an in-depth overview of the features of ParShift please check the documentation or follow along the provided example:

Name Link
Participation Shifts with ParShift Open In Colab

Features/Improvements

We're open to any idea or suggestion to further improve this package. If you have an idea or a feature request, just open an issue. 🤗

For developers

After you cloned the repo head into the parshift base directory, cd into it, create a virtual environment and then install ParShift in development mode:

pip install -e .[dev]

Make sure that all tests pass and that there aren't any issues:

pytest

Now you are ready to start developing the project! Don't forget to add tests for every new change or feature!

Reference

If you use this software, please cite the following reference:

  • Ferreira-Saraiva, B.D., Matos-Carvalho, J.P., Fachada, N. & Pita, M. (2023). ParShift: a Python package to study order and differentiation in group conversations. SoftwareX, 24. 101554. https://doi.org/10.1016/j.softx.2023.101554

License

MIT License

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

parshift-1.0.1.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

parshift-1.0.1-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file parshift-1.0.1.tar.gz.

File metadata

  • Download URL: parshift-1.0.1.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for parshift-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6407253594c1cacf34f10be0783c1e25e55d03fbe50a92adb2e67083245ba7ad
MD5 11684366cad5ace6f48469ec68a37ca5
BLAKE2b-256 28383330fce72bd07feb67753ff9edc25a319e0911db6a3c036a99d92b44dec6

See more details on using hashes here.

File details

Details for the file parshift-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: parshift-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for parshift-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 435bf5ef7b871d175b83012c08ccdca436a36506f732d143629f5c13faab1932
MD5 98b592d7ec88acca9b700caa9ac92d44
BLAKE2b-256 f8320c8b58e234d4af1ac8f2343b0b518795000742967aef87aa3d5a4680cfa7

See more details on using hashes here.

Supported by

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