Skip to main content

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.

Release files for Powerset 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Powerset 0.0.1
File Size Uploaded
Powerset-0.0.1.tar.gz 1.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Powerset 0.0.1
File Interpreter ABI Platform
Powerset-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.8 kB

Release files / Powerset-0.0.1.tar.gz

Download URL Powerset-0.0.1.tar.gz
Size 1.6 kB
Tags Source
SHA-256 checksum
How to use checksums
25cc1fc9020948d71f7f11d67ad377ed5eb0b37176e19be0e9a6d6011ca03e35
BLAKE2b-256 checksum
How to use checksums
e4695a79c80a3c7bbf1d81c3a7bfd1b39068b7f72776f3c4af0314a794278f2f
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / Powerset-0.0.1-py3-none-any.whl

Download URL Powerset-0.0.1-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
336400e906a931bb4d694f6d0bd4f9aaeb772bee903f9ace32151f4143d0af49
BLAKE2b-256 checksum
How to use checksums
562566c855723e1afa6354ba88579b39edc93d76be661d498cc9eaabc17514af
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release 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