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.2.4.tar.gz (51.5 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.2.4-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: perfect_strangers-0.2.4.tar.gz
  • Upload date:
  • Size: 51.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for perfect_strangers-0.2.4.tar.gz
Algorithm Hash digest
SHA256 bec860891f0d92a2c289bd7a148abe5fde045a891b1001cee4636bd8b45d3737
MD5 2b76f0f4cf25711b88a4abc17eaca11f
BLAKE2b-256 5dc60df5fc75fe2880c6e0dcc8533614e356ef47600a1fa1699848bc6d38c2cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for perfect_strangers-0.2.4.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.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for perfect_strangers-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ad024f3a0b42e9535fe005bf0bd37008757fda4bae1eff222914e54e0b8174c3
MD5 969f77e7dbbf4baa21b938db190d6b2c
BLAKE2b-256 398eeba804f32b32c03e294e3d29d882488da7930e1a93e913dae2cff23ea6e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for perfect_strangers-0.2.4-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

0.3.0

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

This release

0.2.4 This release

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