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

Blancmange

Do you have enough Python in your Python?

Blancmange is sweet dessert that once featured in Monty Python’s Flying Circus playing tennis. At the time of writing, this term isn’t featured anywhere in the CPython core code or documentation. This is sad since the notion of a large, extra-terrestrial dessert trying to take over the world whilst playing tennis is quite hilarious. There are many more Python references that aren’t present in the documentation, source, or elsewhere, so let’s fix that.

This tool can scan a prescribed directory of source and determine which terms from Monty Python’s Flying Circus feature and which don’t.

Use it to Python-ise your Python.

In addition, it can output some fun statistics and answer some queries regarding the 45 standard English-language Flying Circus episodes, including:

  • Total words spoken (165,483) [1]
  • Total lines spoken (10,100) [1]
  • Total number of sketches (~510) [1]
  • Which Python spoke the most words (Michael Palin, with 24%)
  • How often Spam was mentioned (74 times in Flying Circus, 2225 times in CPython!)
[1](1, 2, 3) According to the source material.

Usage

Lacking rugged lumberjacks in your logging?

Not enough fun in your functions?

Try (a) Blancmanage today!

Script details

flying-circus-db
Create the database that underpins the whole package. Draws data from the included HTML files.
flying-circus
Output statistics on Flying Circus scripts.
completely-different
Get a random line from Monty Python’s Flying Circus. Pass -w to open in a web browser for easy access.
blancmange
Perform textual analysis of a specified code base compared to the Flying Circus scripts. Helpfully offers which areas of Monty Python you are lacking.

Installation

Install with easy_install blancmange or Buildout with the buildout.cfg in this package/repository. Buildout is the easiest option as this helps manage other parts such as episode data, and cloning the CPython source automatically.

Todo

  • Expand to encompass the movies and other specials
  • Suggest where to add Python references and references which are needed. Working for non-Python languages would be a plus ;)
  • Better code analysis and processing. Just within comments or documentation, for example, or just variables.

Changelog

0.2 (2014-08-03)

  • Improve scoring algorithm for source vs Monty Python references. Now reduces importance on common words in English amongst other things. [davidjb]
  • Add new scripts, expand functionality. Generally make more better good. [davidjb]

0.1 (2014-08-01)

  • Package created for PyCon AU 2014. Still a work-in-progress. [davidjb]
Release History

Release History

0.2

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

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
blancmange-0.2.zip (14.1 kB) Copy SHA256 Checksum SHA256 Source Aug 2, 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