Skip to main content

perfect_strangers

PyPI - Version PyPI - Python Version Test Status

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

perfect_strangers-0.3.0.tar.gz (60.6 kB view details)

Uploaded Source

Built Distribution

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

perfect_strangers-0.3.0-py3-none-any.whl (43.7 kB view details)

Uploaded Python 3

File details

Details for the file perfect_strangers-0.3.0.tar.gz.

File metadata

  • Download URL: perfect_strangers-0.3.0.tar.gz
  • Upload date:
  • Size: 60.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for perfect_strangers-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1c7916eb1b39dacfa67585ea55e2175dee7374d3cc977b08c3e9c4b5f80523c2
MD5 455dc681dff322fe87de5efc8ba19543
BLAKE2b-256 c3c59e8e746b79900049d4fdaf28819fb93fba28581181a1c314285c60639ecf

See more details on using hashes here.

Provenance

The following attestation bundles were made for perfect_strangers-0.3.0.tar.gz:

Publisher: publish.yml on seanlikeskites/perfect-strangers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file perfect_strangers-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for perfect_strangers-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7cc521566a2ce7379698f37c5a7415eb459521a99125c428a5022ce2780321c8
MD5 e6954aa4d468ded80eeaffdab2473464
BLAKE2b-256 2781036cbd5e77aef2466937df038732ba5c9487458582c857cc7f950346ddd8

See more details on using hashes here.

Provenance

The following attestation bundles were made for perfect_strangers-0.3.0-py3-none-any.whl:

Publisher: publish.yml on seanlikeskites/perfect-strangers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

This release

0.3.0 This release

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page