`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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 025e553e862c31ecc72fb09e58b714a2f48f297dee3a105c995c7c324ff8e96c |
|
MD5 | fa625eaf626aed6a7dc16f48648a7524 |
|
BLAKE2b-256 | 8636af883dc08f44adc044ff6ca31b20b6585cfb00fea389b2a6c1d126f357e2 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a1614e9617f5a35b19491d2bb531cfd868996e54c9683e3435b97f513cc39e6 |
|
MD5 | 45943b5192dcfa5afc5237cdc1095420 |
|
BLAKE2b-256 | 5c52d47debb619311ff016bb3615d051c907d3f547a7bc39884781a6dafc53fb |