Skip to main content

`unionfind` is a package for unionfind.

Project description

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

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

unionfind-0.0.12-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unionfind-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.6 Darwin/19.6.0

File hashes

Hashes for unionfind-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 87fe3e53eb3980c95ae0fcdfd348176a93425611c47cb6cbba39ec3bb22635dd
MD5 8de13ebd990b6f01dc4bdcf7e7e779c4
BLAKE2b-256 2f0069a07c0e6a07ea3eb0b6fccf4a6b01b6497f6666e253cc45afe3aa267c1e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page