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.

Source Distribution

Powerset-0.0.1.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

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

Powerset-0.0.1-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

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

Hashes for Powerset-0.0.1.tar.gz
Algorithm Hash digest
SHA256 25cc1fc9020948d71f7f11d67ad377ed5eb0b37176e19be0e9a6d6011ca03e35
MD5 6a79d2476aa0823998f0d9eb1de38153
BLAKE2b-256 e4695a79c80a3c7bbf1d81c3a7bfd1b39068b7f72776f3c4af0314a794278f2f

See more details on using hashes here.

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

Hashes for Powerset-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 336400e906a931bb4d694f6d0bd4f9aaeb772bee903f9ace32151f4143d0af49
MD5 ffb7c7558f7fa360847308c8b3c0187e
BLAKE2b-256 562566c855723e1afa6354ba88579b39edc93d76be661d498cc9eaabc17514af

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