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

CodeShow turns a directory of code into a static website suitable for use in presentations.

Project Description

# CodeShow

CodeShow turns a directory of code into a static website suitable for use in presentations. It uses [pygments](http://pygments.org) for syntax highlighting. In directories that include a readme.md or readme.txt, the readme contents will be displayed under the directory listing.

Passing –site44 generates content optimized for hosting on Site44:

  1. No .html or .txt file extensions are appended to files. This makes for prettier URLs.
  2. A mimetypes.site44.txt file is generated that enforces HTML and plain text content types for those pretty URLs.

See [codeshow.site44.com](http://codeshow.site44.com) for an example of the output, or get the code at [github.com/smarx/codeshow](https://github.com/smarx/codeshow).

## Installation

Use pip install codeshow to install.

## Usage

usage: codeshow [path] [<options>]

CodeShow turns a directory of code into a static website suitable for use in presentations.

positional arguments:
PATH path to the code project
optional arguments:
-h, --help show this help message and exit
-v, --version show program’s version number and exit
-o, --output PATH
 output path for generated website
-i, --ignore PATH
 relative path to skip (can be specified multiple times)
-f, --force if the output directory already exists, delete it first
-s, --site44 generate output for Site44 (generate mimetypes.site44.txt instead of using file extensions)
Release History

Release History

This version
History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.0

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
CodeShow-0.2.2.tar.gz (6.6 kB) Copy SHA256 Checksum SHA256 Source Sep 13, 2012

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