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.6.1.tar.gz (59.7 kB view details)

Uploaded Source

Built Distribution

qwantz_metadata-2024.6.1-py3-none-any.whl (60.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qwantz_metadata-2024.6.1.tar.gz
  • Upload date:
  • Size: 59.7 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.6.1.tar.gz
Algorithm Hash digest
SHA256 c50a672d14d2816f7a55f8a1ee9a0ecf5ae28e3d0dde2b4ef4cc236e6a9a71b0
MD5 16a0601db709c41ee8b281b8086b2ab3
BLAKE2b-256 0e6ac04dafd8ef3bcbcfd1a5dddd058b8ae707b571a4d7caaa076a8629697004

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for qwantz_metadata-2024.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f91f2ae06e01757ef0bbd0246ef3878109a63b63e2bd8c6542fdab3df08e0823
MD5 40a18058a86420e549a0450397bf8d0e
BLAKE2b-256 495de4c7e24ec0d6be53b888a3878c47d021aeff946fa1907beb905948f7b45e

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