Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Robust Server-Side Analytics

Project Description

Manhattan - Robust Server-Side Analytics

Scott Torborg - Cart Logic

Manhattan is a Python infrastructure block to provide basic server-side analytics and multivariate testing. It is:

  • Easy to deploy and develop on
  • Scalable
  • Not slow, in-band request latency < 1ms and can process > 2k events/sec
  • Customizable and flexible to varying rollup needs
  • Robust to server failures, migrating between cluster topologies, and backend reconfiguration

It is also:

  • 2 oz rye whiskey
  • &frac12; oz sweet vermouth
  • 2 dashes bitters
  • 1 cherry


Install with pip:

$ pip install manhattan


Manhattan has extensive documentation here.


Manhattan is licensed under an MIT license. Please see the LICENSE file for more information.

Code Standards

Manhattan has a comprehensive test suite with 100% line and branch coverage, as reported by the excellent coverage module. To run the tests, simply run in the top level of the repo:

$ nosetests

There are no PEP8 or Pyflakes warnings in the codebase. To verify that:

$ pip install pep8 pyflakes
$ pep8 .
$ pyflakes .

Any pull requests must maintain the sanctity of these three pillars.

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(26.4 kB) Copy SHA256 Hash SHA256
Source None Jan 23, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate