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.
Metadata
Release files for perfect-strangers 0.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| perfect_strangers-0.3.5.tar.gz | 64.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| perfect_strangers-0.3.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 114.5 kB
Release files / perfect_strangers-0.3.5.tar.gz
| Download URL | perfect_strangers-0.3.5.tar.gz |
|---|---|
| Size | 64.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6758fa4c05d548eb46d2559b2fb3863f53716a5a2ebba846f7f8a558f80d43dc
|
|
BLAKE2b-256 checksum How to use checksums |
ddeb9463c40b09020954c8929e7f2af25c5e4ace51144956427b0863c9ca54e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency logRelease files / perfect_strangers-0.3.5-py3-none-any.whl
| Download URL | perfect_strangers-0.3.5-py3-none-any.whl |
|---|---|
| Size | 50.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b9030666c4bc44b8991b66da1ac9bc6faa512b85401d7d42bda7bbd258e4ef3
|
|
BLAKE2b-256 checksum How to use checksums |
aa418afab3116dcff14ca8b50784cb48c095cd545966f61784287e8ca21ef5df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency log