pydsc 0.2
pydsc is a Python documentation spell checker
|
|||||||||||||||||||
pydsc is a Python documentation spell checker. This module check Python documentation string for spellilng errors.
Requirements:
The pydsc module contains functionality needed to check documentation strings
and comments for spelling errors, within Python code. The pydsc module depends
on PyEnchant spell checker. PyEnchant provides interface for different spell
engines:
The use of the pydsc module is very simple - just import pydsc and all modules
that will be imported after it will be checked. By default all spelling errors
will be printed to sys.stdout. The pydsc checker could be customized in many
different ways:
Install:
python setup.py install
Usage example:
import pydsc
import readline #errors will be printed to standart output
more complex example ( taken from pygccxml project ):
import pydsc
#test only pygccxml
#package_directory defined earlier
pydsc.doc_checker.filter.append( package_directory )
pydsc.doc_checker.filter_type = pydsc.FILTER_TYPE.INCLUDE
#
map( pydsc.doc_checker.speller.ignore_always
, [ 'org'
, 'http'
, 'bool'
, 'str'
, 'www'
, 'param'
, 'txt'
, 'decl'
, 'decls'
, 'namespace'
, 'enum'
, 'const'
, 'GCC'
, 'xcc'
, 'TODO'
, 'typedef'
, 'os'
, 'normcase'
, 'normpath' ] )
What's New in This Release:
tags
Download pydsc 0.2
Authors software
|
|
Similar software
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Other software in this category
|
|
|
|
|
|
|
|
|
|
Featured Software
jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java
Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser
GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell
- Communications
- Database
- Desktop Environment
- Games
- Internet
- Multimedia
- Office
- Programming
- Science and Engineering
- System
- Text Editing&Processing
