Metadata-Version: 1.1
Name: uiset
Version: 0.2.2
Summary: Uncountable Infinite Set
Home-page: https://github.com/blackelk/uiset
Author: Constantine Parkhimovich
Author-email: cp@core-tech.ru
License: MIT
Download-URL: https://github.com/blackelk/uiset/tarball/0.2.2
Description: uiset
        =====
        
        | 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?
        
        .. code:: python
        
            >>> from uiset import Interval, UISet
            >>> s = UISet('[1, 10)')
            >>> 1 in s
            True
            >>> 10 in s
            False
            >>> s.add(Interval('[20, 30]'))
            >>> 25 in s
            True
            >>> s <= UISet('(0, inf)')
            True
            >>> 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.
        
        
Keywords: math,set,interval
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Software Development :: Libraries :: Python Modules
