Skip to main content

A renaming tool for PTT articles

Project description

PTT Article Parser
==================

一個用來分析 PTT 文章的工具。

Features
--------

* 根據文章標題,重新命名檔案名稱
* 白金緩慢增加中

Todos
-----

* Identify article part and pushes part.

Dependencies
------------

* docopt
* safeprint

Usage
-----

::

Usage:
pap rename [--format=<format>] <file>...
pap rename [--format=<format>] --interactive
pap --help

Options:
-h --help Show this.
-f --format=<format> Set output format.
[default: [{board}] {title} [{author}] ({time:%Y%m%d%H%M%S}).ans]
-i --interactive Use interactive mode, get file name from stdin.
<file> File path. You can use glob pattern

Example:

::

pap.py rename "file1" "file2" "file3"


Output screenshot
----------------------

.. image:: http://i.imgur.com/zISlFeP.png
:alt: screenshot

Notes
-----

* Big5UAO decoder was forked from `andycjw/uao_decode.py<https://gist.github.com/andycjw/5617496>`__.

Changelog
---------

* 0.1.0 (Apr 15, 2016)

- First release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ptt-article-parser-0.1.0.zip (109.0 kB view details)

Uploaded Source

Built Distribution

ptt_article_parser-0.1.0-py3-none-any.whl (107.2 kB view details)

Uploaded Python 3

File details

Details for the file ptt-article-parser-0.1.0.zip.

File metadata

File hashes

Hashes for ptt-article-parser-0.1.0.zip
Algorithm Hash digest
SHA256 f25aba085b89f31169b9d5e8d802ca27950173354363bfbe000f265dfa99228f
MD5 1f2c7886e0005fa6ace8fe538d7d7458
BLAKE2b-256 0bd43ae94039f85c9a52344ff80843e089c53dc5fad40a4fef52b63c54bde3a1

See more details on using hashes here.

File details

Details for the file ptt_article_parser-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ptt_article_parser-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 669f9c10987f957f8940032160e8ad428fd030193e5c2c9ab801c372a0481996
MD5 0a7ee51967e48cf33c14569181853b19
BLAKE2b-256 b1f87435c3007badf38cdfc21e2d3cb0b9e20209c61d6bdf17ffeb23ab48925e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page