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

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
manhattan-0.2.tar.gz (26.4 kB) Copy SHA256 Checksum SHA256 Source Jan 23, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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