PyRedPen: Client for Text Validator
Copyright (C) 2015 Takahiro Yoshimura altakey@gmail.com
This is a Python client for the RedPen, a text validator.
0. HOW TO USE
$ /path/to/python3/bin/pyvenv ~/ve/rp $ source ~/ve/rp (rp) $ python ./setup.py develop # assuming you are standing on the working copy you've just cloned (rp) $ pip install pyredpen # ... otherwise install from PyPI ... (rp) $ redpen-validate examples/sampledoc-en.txt Found errors (4) (rp) $ redpen-flymake examples/sampledoc-en.txt examples/sampledoc-en.txt:1:0: warning: The number of words (32) exceeds the maximum of 30. [WordNumber] examples/sampledoc-en.txt:1:128: warning: Found repeated word "such". [DoubledWord] examples/sampledoc-en.txt:1:133: warning: Found repeated word "software". [DoubledWord] ... (rp) $ redpen-flymake examples/sampledoc-ja.txt examples/sampledoc-ja.txt:1:0: warning: The length of the sentence (101) exceeds the maximum of 100. [SentenceLength] examples/sampledoc-ja.txt:1:83: warning: Found invalid symbol ",". [InvalidSymbol] examples/sampledoc-ja.txt:1:49: warning: Found repeated word "分散". [DoubledWord] examples/sampledoc-ja.txt:1:51: warning: Found repeated word "ソフトウェア". [DoubledWord] ...
1. FEATURES
Python 3 safe
Simple-ish API
2. BUGS
Blindly assuming input and output in UTF-8.
Insanely hackish.
3. LICENSE
The MIT license. Please refer to the LICENSE.txt.
Metadata
Release files for pyredpen 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyredpen-0.0.5.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyredpen-0.0.5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 9.3 kB
Release files / pyredpen-0.0.5.tar.gz
| Download URL | pyredpen-0.0.5.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53a8fc7ccea3dd7183722ebfa8d893afca0eb1dbb42983e77431efef1b30b809
|
|
BLAKE2b-256 checksum How to use checksums |
fd2530e2727e15c9b61c68d2625a430aefd892dcdf6f7962b902206f919a002a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyredpen-0.0.5-py2.py3-none-any.whl
| Download URL | pyredpen-0.0.5-py2.py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d1a75e031d3863c1e519d252c5424e48676d783e877703c1ba3066f76a49c6a0
|
|
BLAKE2b-256 checksum How to use checksums |
0a41a3d9f64fcfb764fad583aeed1b00a24513dccab6dd8a94953a32f78e1a7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |