Skip to main content

unionfind is a package for unionfind.

from unionfind import unionfind
u = unionfind(3) # There are 3 items.
u.unite(0, 2) # Set 0 and 2 to same group.
u.issame(1, 2) # Ask "Are 1 and 2 same?"
u.groups() # Return groups.

See also https://pypi.org/project/ortoolpy/

Requirements

  • Python 3

Features

  • nothing

Setup

$ pip install unionfind

History

0.0.1 (2015-4-3)

  • first release

Download files

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

Source Distribution

unionfind-0.2.1.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

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

unionfind-0.2.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file unionfind-0.2.1.tar.gz.

File metadata

  • Download URL: unionfind-0.2.1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.6 Darwin/23.1.0

File hashes

Hashes for unionfind-0.2.1.tar.gz
Algorithm Hash digest
SHA256 025e553e862c31ecc72fb09e58b714a2f48f297dee3a105c995c7c324ff8e96c
MD5 fa625eaf626aed6a7dc16f48648a7524
BLAKE2b-256 8636af883dc08f44adc044ff6ca31b20b6585cfb00fea389b2a6c1d126f357e2

See more details on using hashes here.

File details

Details for the file unionfind-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: unionfind-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.6 Darwin/23.1.0

File hashes

Hashes for unionfind-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2a1614e9617f5a35b19491d2bb531cfd868996e54c9683e3435b97f513cc39e6
MD5 45943b5192dcfa5afc5237cdc1095420
BLAKE2b-256 5c52d47debb619311ff016bb3615d051c907d3f547a7bc39884781a6dafc53fb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

0.2.0

1 file

0.1.2

1 file

0.1.1

2 files

0.1.0

1 file

0.0.12

1 file

0.0.11

2 files

0.0.10

1 file

0.0.9

1 file

0.0.8

1 file

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