Skip to main content

Sizes of sets of lines of two files

Project description

setdiff

Given two files, show the size of set difference, union, intersection, and more of their lines.

Example:

File a:

123
a
a
ab
cd

File b:

a
a
ab
456

Usage:

sett a b

Output:

     {A}  4
       A  5
     {B}  3
       B  4
 |A|-|B|  1
   A ∖ B  2
   B ∖ A  1
   A ∪ B  5
   A ∩ B  2

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

setdiff-1.0.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

setdiff-1.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file setdiff-1.0.1.tar.gz.

File metadata

  • Download URL: setdiff-1.0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.9 Darwin/21.5.0

File hashes

Hashes for setdiff-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0e2a904bc9a4956a6fbf67af770265478712ac2579d55f2e8a2499e712cce9d6
MD5 6bc7fa50c2ef320789cde9986b40cff3
BLAKE2b-256 3460f73549d432b88f721b40e478bcc44767516a885dc51bbdf5ce2f40f18fe2

See more details on using hashes here.

File details

Details for the file setdiff-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: setdiff-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.9 Darwin/21.5.0

File hashes

Hashes for setdiff-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fc535a682e2039fa093e0c22030f9c676b206828e8fd26c6ba16511c81d2f6ce
MD5 fd3c1a76dcbcd6f96ee99316fb89485f
BLAKE2b-256 010f6c36bdf3f5215314b9998967e1e7e57fa03cb59c40f0b99461aecc9b844b

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