Skip to main content

An interval package which deals with open, closed or half open intervals.

Project description

[‘pyinter [![Build Status](https://travis-ci.org/intiocean/pyinter.png)](https://travis-ci.org/intiocean/pyinter)n’, ‘=======n’, ‘n’, ‘The what?n’, ‘———n’, ‘An interval package for Python which deals with interval arithmetic and sets of intervals (discontinuous ranges). It is currently in developement and not yet fully code complete or fully tested.n’, ‘n’, ‘The how?n’, ‘——–n’, ‘I Started development of this library on a weekend. Initially, I have just implemented features which I wanted to use and a couple of others which it felt natural to include.n’, ‘n’, ‘The why?n’, ‘——–n’, “Warning: the following may or may not be rather geeky, you have been warned! The inital reason I started developement of an interval package in python was that I couldn’t find one which dealt with open and closed intervals and I needed one to play around with some ideas I was having regarding dependency resolution of python packages.n”, ‘n’, ‘The helpn’, ‘——–n’, ‘Documentation is available here: http://pyinter.readthedocs.orgn’, ‘n’, ‘Donen’, ‘—-n’, ‘- interval objects which can ben’, ‘ - unionedn’, ‘ - intersectedn’, ‘ - easily constructed using helper functions: open, closed, openclosed and closedopenn’, ‘- interval sets which can ben’, ‘ - unionedn’, ‘ - intersectedn’, ‘- tests on intervaln’, ‘ - constructionn’, ‘ - comparisonn’, ‘ - intersection and unionn’, ‘- tests on interval setn’, ‘ - constructionn’, ‘ - comparisonn’, ‘ - intersection and unionn’, ‘- sphinx documentation available here: http://pyinter.readthedocs.orgn’, ‘- continous integration on travis ci: https://travis-ci.org/intiocean/pyintern’, ‘- Example use: daterangen’, ‘n’, ‘Todosn’, ‘—–n’, ‘- How to installn’, ‘- add to pypin’, ‘- look for enhancements to the code (timing, optimisation, tidying of interval_set …)n’, ‘- make the project a homepagen’, ‘- check pylintn’, ‘- Create some concrete example use cases (version range)n’, ‘- ensure all functions have docstrings describing the inputs and outputsn’, ‘- make sure there are no tabs! (whops)n’, ‘- add a build for python 3.3 to travis ci and get it passing (there is some kind of import error)n’]

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

pyinter-0.1.tar.gz (5.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page