Non-search based routines for perfect stranger matching in behavioural studies.
Project description
perfect_strangers
Table of Contents
Installation
pip install perfect-strangers
Documentation
Quick Start
Create a Matcher
To get started import the create_matcher() function:
from perfect_strangers import create_matcher
This function returns a group matcher object which will produce the longest sequence of perfect stranger matched rounds for the given experiment parameters.
groups_per_round = 5 # Number of groups per round of the experiment.
group_size = 3 # Number of participants per group.
matcher = create_matcher(groups_per_round, group_size)
For each round of the experiment call groups_for_next_round() on the matcher object to get the participant groupings.
groups = matcher.groups_for_next_round()
License
perfect-strangers is distributed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file perfect_strangers-0.2.3.tar.gz.
File metadata
- Download URL: perfect_strangers-0.2.3.tar.gz
- Upload date:
- Size: 50.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0f088d15b0bb4839b664b612e2ac71e73a9ca0fdb19abc4e6ef35c9c202da47
|
|
| MD5 |
b2b21fb15fe3e402697e085ae1a6dbc7
|
|
| BLAKE2b-256 |
a9a0ac0731fe350fafc9617640af3f6bc95feef4d2bd9012552c259d8593a7cc
|
Provenance
The following attestation bundles were made for perfect_strangers-0.2.3.tar.gz:
Publisher:
publish.yml on seanlikeskites/perfect-strangers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
perfect_strangers-0.2.3.tar.gz -
Subject digest:
c0f088d15b0bb4839b664b612e2ac71e73a9ca0fdb19abc4e6ef35c9c202da47 - Sigstore transparency entry: 2059812518
- Sigstore integration time:
-
Permalink:
seanlikeskites/perfect-strangers@cafd8dd55004ab8268ff416da58d125afd3e2d9a -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/seanlikeskites
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cafd8dd55004ab8268ff416da58d125afd3e2d9a -
Trigger Event:
push
-
Statement type:
File details
Details for the file perfect_strangers-0.2.3-py3-none-any.whl.
File metadata
- Download URL: perfect_strangers-0.2.3-py3-none-any.whl
- Upload date:
- Size: 31.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8cc1166bf4359c5e9c09aca211fe1b7df3a4ac9b945c570a2ead7a6d542b71d
|
|
| MD5 |
c52034ddb5a775d8cf3b34675ecae60a
|
|
| BLAKE2b-256 |
4f1ecda6f6e46915222b04942d72dde41e736304d646b05e5e3c8f27e4c06fb9
|
Provenance
The following attestation bundles were made for perfect_strangers-0.2.3-py3-none-any.whl:
Publisher:
publish.yml on seanlikeskites/perfect-strangers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
perfect_strangers-0.2.3-py3-none-any.whl -
Subject digest:
e8cc1166bf4359c5e9c09aca211fe1b7df3a4ac9b945c570a2ead7a6d542b71d - Sigstore transparency entry: 2059812968
- Sigstore integration time:
-
Permalink:
seanlikeskites/perfect-strangers@cafd8dd55004ab8268ff416da58d125afd3e2d9a -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/seanlikeskites
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cafd8dd55004ab8268ff416da58d125afd3e2d9a -
Trigger Event:
push
-
Statement type: