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
===========
WikiUtils
===========

WikiUtils provide some utility classes to handle wiki pages.

Usage (retrieving a wiki page by title):

#!/usr/bin/env python
from python.turnguard.com.wikiutils import WikiUtils

wu = WikiUtils()
try:
page = wu.getWikiPage(wikititle="Python_(programming_language)")
for l in page.getLinks():
print l
except urllib2.HTTPError, e:
if e.code == 404:
print "WikiPage not found"

Usage (retrieving a wiki page by url):

#!/usr/bin/env python
from python.turnguard.com.wikiutils import WikiUtils

wu = WikiUtils()
try:
page = wu.getWikiPage(wikiurl="http://en.wikipedia.org/wiki/Python_(programming_language)")
for l in page.getLinks():
print l
except urllib2.HTTPError, e:
if e.code == 404:
print "WikiPage not found"


Caching
=========

WikiUtils will use .cache directory in the user's home
to create a cache of downloaded pages and retrieve
the contents from the cache by default.
The full path of the WikiUtils cache is determined by
path = expanduser('~')+"/.cache/python/turnguard/com/wikiutils/"

If you do not want to use the caching system use
getWikiPage(caching=False,...)
Release History

Release History

1.0.0-rc1

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

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
WikiUtils-1.0.0-rc1.tar.gz (2.3 kB) Copy SHA256 Checksum SHA256 Source Oct 9, 2013

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