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 or alias setdiff 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.2.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.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: setdiff-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 20ff32d0124fcc4d4bcd88be1132281efbe7312a7bcf96ad97144d88d1bacb5f
MD5 be7583e0dc2d9f0133d9c3ce0876c5c2
BLAKE2b-256 de8b9e0b4a4b2e40dbb89670605f3fd7fcce19f25db0b4eb0ec5c7c32e11fbec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: setdiff-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 56e0b5c4339fe00ec4c9accbff755291a98d7385d7164febbd76e95cd79b03df
MD5 db9cdab3ad40aad7442c8afdf490827f
BLAKE2b-256 8a2770a7f65af59585e0c3de33b29c550f27cef47a3b4b97c4c03d2b6648f961

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