This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Setz is a command line utility used to run set operations on files using python syntax


setz "query" [a.txt b.txt ..]

Possible Queries

Set Membership. Test if an element belongs to a set.
"'test' in a"
Set Equality. Test if two sets contain the same elements.
"a == b"
Set Cardinality. Return the number of elements in the set.
Subset Test. Test if a given set is a subset of another set.
"a < b"
Set Union. Find union of two sets.
"a | b"
Set Intersection. Find intersection of two sets.
"a & b"
Set Complement. Given two sets A and B, find all elements in A that are not in B.
"a - b"
Set Symmetric Difference. Find symmetric difference of two sets.
"a ^ b"
Power Set. Generate all subsets of a set.
Set Cartesian Product. Find A x B.
"product(a, b, ..)"
Disjoint Set Test. Test if two sets are disjoint.
"is_disjoint(a, b, ..)"
Empty Set Test. Test if a given set is empty.
Minimum. Find the smallest element of a set.
Maximum. Find the largest element of a set.


> setz ‘“foo” in a’ <(echo foo) 1 > setz ‘len(a)’ <(echo for bar garply) 3 > setz ‘a < b’ <(echo foo bar baz) <(echo foo bar) 0 > setz ‘max(a)’ <(echo 9001 10) 9001 > setz ‘is_disjoint(a, b, c)’ <(echo foo) <(echo bar) <(echo baz garply) 1 > setz ‘a | b’ <(echo foo) <(echo baz garply) garply foo baz > setz ‘product(a, b)’ <(echo foo bar) <(echo baz garply) foo, garply foo, baz bar, garply bar, baz > setz ‘power_set(a)’ <(echo foo bar garply) garply foo garply, foo bar garply, bar foo, bar garply, foo, bar
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Setz-0.0.1.tar.gz (2.6 kB) Copy SHA256 Checksum SHA256 Source Sep 30, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting