Skip to main content

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


Download files

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

Files for Powerset, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size Powerset-0.0.1-py3-none-any.whl (13.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size Powerset-0.0.1.tar.gz (1.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page