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!
Project Description

What is it?

LittleHTTPServer is intended to extend SimpleHTTPServer a little bit more.

Requirements

  • Python 2.7 or 3.x and later

Features

  • Provide an arbitrary directory not only current directory
  • Provide some directories optimized for Sphinx document
  • Provide selectable SocketServer type, Threading or Forking

Setup

$ easy_install LittleHTTPServer

Quick Start

$ littlehttpserver -v -i path/to/top

Show the link to “top” directory via “http://localhost:8000/”.

Another example.

$ littlehttpserver -v -d path/to/pkg1/build/html
                      -d path/to/pkg2/build/sphinx/html

Show the link to “pkg1” and “pkg2” optimized for Sphinx documents.

Or, you would like to run as a python script with “-m” option.

$ python -m littlehttpserver -v -i path/to/top -d path/to/pkg1
$ littlehttpserver -h
usage: littlehttpserver [-h] [-d DOCUMENT_DIR] [-i INDEX_DIRECTORY]
                        [-p PORT_NUMBER] [-v] [--protocol PROTOCOL]
                        [--servertype {process,thread}] [--version]

optional arguments:
  -h, --help            show this help message and exit
  -d DOCUMENT_DIR, --dir DOCUMENT_DIR
                        set some document directories
  -i INDEX_DIRECTORY, --indexdir INDEX_DIRECTORY
                        set arbitrary top directory
  -p PORT_NUMBER, --port PORT_NUMBER
                        set server port number
  -v, --verbose         set verbose mode
  --protocol PROTOCOL   set protocol
  --servertype {process,thread}
                        set server type
  --version             show program version

ChangeLog

0.5.0 (2015-12-31)

  • update packaging dependency
  • drop Python 2.6 support

0.1.4 (2012-08-22)

  • add __main__.py to run as a python script with “-m” option

0.1.3 (2012-08-20)

  • change to use pytest-pep8 for PEP8 compliance
  • improve to be able to get package name with no version number

0.1.2 (2012-02-26)

  • add to be able to extend the argument parser with parent parser
  • refactoring (matching regular expression, testing)

0.1.1 (2012-02-10)

  • add “-i, –indexdir” option

0.1.0 (2012-02-06)

  • first release
Release History

Release History

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

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

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

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
LittleHTTPServer-0.5.0.tar.gz (10.2 kB) Copy SHA256 Checksum SHA256 Source Dec 31, 2015

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