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
How to have a set containing all numbers from 1 to 10 not including 10?
How to add interval from 20 to 30 to that set?
How to make sure this set is a subset of set of positive numbers?
How to add scalar number to it?
How to invert that set?
>>> from uiset import Interval, UISet
>>> s = UISet('[1, 10)')
>>> 1 in s
>>> 10 in s
>>> s.add(Interval('[20, 30]'))
>>> 25 in s
>>> s <= UISet('(0, inf)')
>>> s.add(100)
>>> s.notation
'[1, 10), [20, 30], {100}'
>>> (~s).notation
'(-inf, 1), [10, 20), (30, 100), (100, inf)'

uiset provides classes representing math concepts:

  • Infinity
  • Endpoint
  • Interval
  • Uncountable Infinite Set

Besides numbers, uiset supports all objects that can be compared to each other - strings, datetimes, etc.

Infinity() is greater than any of these objects except float(‘inf’) and float(‘nan’). NegativeInfinity included as well.

uiset fully supports Python3. Tested on python 2.7, 3.2, 3.3, 3.4.

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
uiset-0.2.2.tar.gz (24.7 kB) Copy SHA256 Checksum SHA256 Source Jun 20, 2014

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