PowerSet is a set of 3 functions made in Python to work with lists as powerlists founded in mathematical powersets.
Project description
Powerset
Powerset is a set of 3 functions made in Python to work with lists as powerlists founded in mathematical powersets.
Powerset is a module to work with lists and create powersets of the lists, if you want your list to be passed as a set make sure you dont have duplicates making list(set(originalList)) to your originalList.
We have 3 methods:
powerset(list) will return the powerset of the list.
length(list) will return the cardinality (number of members) of any subset on the powerset of your list.
powernums(list) will return the number of subset for any given cardinality of the subsets in the powerset of your list.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Powerset-0.0.1.tar.gz.
File metadata
- Download URL: Powerset-0.0.1.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25cc1fc9020948d71f7f11d67ad377ed5eb0b37176e19be0e9a6d6011ca03e35
|
|
| MD5 |
6a79d2476aa0823998f0d9eb1de38153
|
|
| BLAKE2b-256 |
e4695a79c80a3c7bbf1d81c3a7bfd1b39068b7f72776f3c4af0314a794278f2f
|
File details
Details for the file Powerset-0.0.1-py3-none-any.whl.
File metadata
- Download URL: Powerset-0.0.1-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
336400e906a931bb4d694f6d0bd4f9aaeb772bee903f9ace32151f4143d0af49
|
|
| MD5 |
ffb7c7558f7fa360847308c8b3c0187e
|
|
| BLAKE2b-256 |
562566c855723e1afa6354ba88579b39edc93d76be661d498cc9eaabc17514af
|