Possible combinations - Python Library
Project description
A simple library that calculates all possible combinations of a list of a given length.
Example(hex to binnary)
import pcomp
print (pcomp.area(range(2),4)
#it returns: 16
print (pcomp.all(range(2),4)
#it returns: [‘0000’, ‘0001’, ‘0010’, ‘0011’, ‘0100’, ‘0101’, ‘0110’, ‘0111’, ‘1000’, ‘1001’, ‘1010’, ‘1011’, ‘1100’, ‘1101’, ‘1110’, ‘1111’]
#[0]=0,[1]=1 …. [15]=f
Change Log
1.0.2 (10/7/2022)
Added github
1.0.1 (10/7/2022)
Fixed a problem
1.0.0 (10/7/2022)
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
pcomp-1.0.2-py3-none-any.whl
(2.7 kB
view hashes)