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
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.

The existing InfluxDB python client is great. This client is built on
that but many python developers have come to expect a programmatic
method for building queries on top of a raw unstructured query interface.

Incursion was built to bring a new pattern to your InfluxDB Queries.

.. code-block:: pycon
>>> import incursion as indb
>>> q = indb.q('page_views')
>>> q = q.columns(indb.count(indb.distinct('author_id')), 'author_id')
>>> q = q.group_by(indb.time('1h'))
>>> q = q.where(category__matches=indb.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 = indb.get_result(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

Future Features
---------------

- Continuous Query Manager (fanouts and downsampling)
- In-app joining fanout query results to source series results

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/voidfiles/incursion/blob/master/AUTHORS.rst

.. :changelog:

Release History
---------------

0.3.1 (2014-10-24)
++++++++++++++++++

* Added py34 compatability

0.3.0 (2014-10-24)
++++++++++++++++++

* Added continuous query manager
* Added end-to-end tests for some influxdb operations
* Added tests to continuous query manager
* Brought up compatability to InflxuDB 0.8.3

0.2.0 (2014-10-21)
++++++++++++++++++

* Initial
Release History

Release History

0.4.0

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

0.3.0

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

0.2.2

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

0.2.1

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

0.2

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
incursion-0.4.0.tar.gz (6.5 kB) Copy SHA256 Checksum SHA256 Source Oct 27, 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