Skip to main content

itfeat

Project description

sample

code:

from apcase import ap

data = [
    [1, 2, 3],
    [4, 5, 6]
]

print(ap.allpairs(data))

result:

[(1, 4), (1, 5), (1, 6), (2, 4), (2, 5), (2, 6), (3, 4), (3, 5), (3, 6)]

code:

from apcase import ap

data = [
    [1, 2, 3],
    [4, 5, 6]
]

for a, b in ap.allpairs(data):
    print("a=%s&b=%s" % (a, b))

result:

a=1&b=4
a=1&b=5
a=1&b=6
a=2&b=4
a=2&b=5
a=2&b=6
a=3&b=4
a=3&b=5
a=3&b=6

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

apcase-0.0.4.tar.gz (1.5 kB view details)

Uploaded Source

File details

Details for the file apcase-0.0.4.tar.gz.

File metadata

  • Download URL: apcase-0.0.4.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.11

File hashes

Hashes for apcase-0.0.4.tar.gz
Algorithm Hash digest
SHA256 eed2c3b8bbc94cb6d16082edea5fa3f6d8586f52e88ed1b005ad485ce3d19628
MD5 b41f3efe0bbebc0fb6bb0082d0cc01bb
BLAKE2b-256 b40a07e504bfb7128089cc432020449bbe3a2ea92d9ff4cbedcd88c55b2281b2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page