Metadata-Version: 1.1
Name: incursion
Version: 0.2
Summary: Python InfluxDB Client for Developers.
Home-page: http://github.com/voidfiles/incursion
Author: Alex Kessinger
Author-email: voidfiles@gmail.com
License: MIT
Description: Incursion: InfluxDB for Developers
        ==================================
        
        .. image:: https://badge.fury.io/py/incursion.png
            :target: http://badge.fury.io/py/incursion
        
        .. image:: https://pypip.in/d/incursion/badge.png
                :target: https://crate.io/packages/incursion/
        
        .. image:: https://travis-ci.org/voidfiles/incursion.png
                :target: https://travis-ci.org/voidfiles/incursion
        
        Incursion is an MIT Licensed InfluxDB client, written in Python, for developers.
        
        This existing InfluxDB python client is great. This client is built on
        that one but, many python developers have come to expect a progrmatic
        method for building queries on top of a raw unstructured query interface.
        
        Incursion was bult to bring a new pattern to your InfluxDB Queries.
        
        .. code-block:: pycon
        
            >>> q = InfluxQuery.for_series('page_views')
            >>> q = q.columns(InfluxQuery.count(InfluxQuery.distinct('author_id')), 'author_id')
            >>> q = q.group_by(InfluxQuery.time('1h'))
            >>> q = q.where(category__matches=InfluxQuery.regex('/(10|11)/'))
            >>> from, to = (datetime(2014, 10, 20), datetime(2014, 10, 21))
            >>> q = q.where(time__gt=from, time__lt=to)
            >>> q = q.fill(0)
            >>> q = q.limit(None)
            >>> resp = INDBClient().result_from_query(q)
            >>> assert resp['page_views']
            >>> print '%(14)s %(6)s %(2)s' % ('time', 'count', 'id')
            >>> for row in resp['page_views']:
            >>>   print '%(-14)s %(-6)s %(-2)s' % (row.time, row.count, row.author_id)
            time          count id
            1413908730239 10    1
            1413908730239 8     2
            ...
        
        
        Features
        --------
        
        - Query Builder Pattern
        - Lots of tests
        - Safety first (all queries have a limit unless explicitly turned off)
        - Ready for contributors (seriously, this should be a community project)
        
        Installation
        ------------
        
        To install Incursion, simply:
        
        .. code-block:: bash
        
            $ pip install incursion
        
        
        Contribute
        ----------
        
        #. Fork `the repository`_ on GitHub to start making your changes to the **master** branch (or branch off of it).
        #. Write a test which shows that the bug was fixed or that the feature works as expected.
        #. Send a pull request. :) Make sure to add yourself to AUTHORS_.
        
        .. _`the repository`: http://github.com/voidfiles/incursion
        .. _AUTHORS: https://github.com/kennethreitz/requests/blob/master/AUTHORS.rst
        
        .. :changelog:
        
        Release History
        ---------------
        
        0.2.0 (2014-10-21)
        ++++++++++++++++++
        
        * Initial
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
