Skip to main content

Prepare metadata document for Dinosaur Comics

Project description

Dinosaur Comic Metadata Processor

A set of tools for collecting various Ryan North's Dinosaur Comics metadata and compiling them into one JSON document.

It uses transcripts obtained using my other project, https://github.com/janek37/parse_qwantz.

Installation

Install qwantz-metadata with pip

  pip install qwantz-metadata

Usage

You need three directories: one containing the comic transcripts, one containing the footer transcripts, and one containing raw HTML files.

The transcripts and footers are required to be plain text files with filenames like <comic_id> - <image_filename>.txt, e.g. 0001 - comic2-02.png.txt.

The filenames of the HTML files are not relevant.

Once the directories are ready, run qwantz-metadata to print the combined metadata JSON document to the standard output:

$ qwantz-metadata <transcript_dir> <footer_dir> <html_dir> > output.json

Acknowledgments

This program would not be possible without the wonderful comics by Ryan North!

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

qwantz_metadata-2024.1.1.tar.gz (59.3 kB view details)

Uploaded Source

Built Distribution

qwantz_metadata-2024.1.1-py3-none-any.whl (60.4 kB view details)

Uploaded Python 3

File details

Details for the file qwantz_metadata-2024.1.1.tar.gz.

File metadata

  • Download URL: qwantz_metadata-2024.1.1.tar.gz
  • Upload date:
  • Size: 59.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for qwantz_metadata-2024.1.1.tar.gz
Algorithm Hash digest
SHA256 4c46f372947c6520665209e71284aaa5428aca3afaf81c5db88e905175b29e5e
MD5 0f954b708ae670af1bea223dcd1e2add
BLAKE2b-256 33387964e11ebe91f8b210bee5d7651de09bf58a7682d48154d0ad33ac2b5462

See more details on using hashes here.

File details

Details for the file qwantz_metadata-2024.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for qwantz_metadata-2024.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2585da9de39ec0f76cc845be5fce56e39697bacff9a2ed7da5077002fd7c16c0
MD5 3ab9027f1f3d08e3209718b8a92178a4
BLAKE2b-256 2fa5461a53d940bd34bed2ddce55be7381826de3030f66db0212d973d7878b82

See more details on using hashes here.

Supported by

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