Transcript generator for Dinosaur Comics
Project description
Dinosaur Comic Parser
A transcript generator for Ryan North's Dinosaur Comics
Installation
Install parse-qwantz
with pip
pip install parse-qwantz
Usage
You need to download the image file for the comic you want transcribed, for example https://qwantz.com/comics/comic2-02.png. Then run parse-qwantz
:
$ parse-qwantz comic2-02.png
Panel 1:
T-Rex: Today is a beautiful day to be stomping on things! As a dinosaur, stomping is the best part of my day indeed!
Panel 2:
T-Rex: *gasp*
Panel 3:
T-Rex: What's that, little house? You wish you were back in your own time? THAT IS TOO BAD FOR YOU
Panel 4:
T-Rex: Perhaps you too will get a stomping, little girl!
Utahraptor: WAIT!
Panel 5:
Utahraptor: Is stomping really the answer to your problem(s)?
T-Rex: Problem(s)?
Panel 6:
T-Rex: My only problem(s) have to do with you interrupting my stomping!
T-Rex: (small) crazy utahraptor!
You can also call it with
python -m parse_qwantz
Notes
This program will not work on all DC strips. Some are fairly non-standard (including the mirror universe, Morris the bug, guest comics etc.), while others might just not work correctly for more or less apparent reasons: there might be warning or error messages, or it might just generate an inaccurate transcript silently. It should however work correctly for most comics.
This project is in a rather early stage, and while there are no plans to support the mirror universe or arbitrary images, there still might be some new features and some optimization.
Running Tests
To run tests, run the following command:
pytest test/
Acknowledgments
This program would not be possible without the wonderful comics by Ryan North! Thanks, Ryan, and congratulations on the 20th anniversary of your comics! Btw the anniversary comic will totally not work with this script, haha!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file parse_qwantz-2023.2.6.tar.gz
.
File metadata
- Download URL: parse_qwantz-2023.2.6.tar.gz
- Upload date:
- Size: 42.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c27f50fedd2bbb7734904aeb062efc5a545d8c2544fef0bbc862ab932f59c9c9 |
|
MD5 | bb52b3cdd5d9422bde18ccbc85ed7046 |
|
BLAKE2b-256 | 984e4b17fa6ad54d28dcff51e3aaacb43076a456ae216b2e0cbda027d935f4f0 |
File details
Details for the file parse_qwantz-2023.2.6-py3-none-any.whl
.
File metadata
- Download URL: parse_qwantz-2023.2.6-py3-none-any.whl
- Upload date:
- Size: 45.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf996225c5825cfa89805ba0045bea01c457b8d0b77f2a4bdaa3d453b9876e69 |
|
MD5 | 7ae66496940d57a31c9acb21ca4864cb |
|
BLAKE2b-256 | 6015fdf9691b451bf7113b02f9a0496a83832d3c80af621b75cacc58e44cf286 |