Skip to main content

CLI for generating a LaTeX file based upon your League of Comic Geeks exported pulls.

Project description

pylint Score PyPI - Version GitHub Tag Python Version from PEP 621 TOML License

genpull

This creates a LaTeX file from the League of Comic Geeks export function. This LaTeX file will generate a PDF subscription list that can be sent to your local comic book shop. There are some stores that want both a connection to the League of Comic Geeks and a "paper" subscription list.

This is also useful for having a PDF on your phone to track your overall subscriptions. I've used this when I need to remember if a comic that's appeared in my pull is a recommendation or not.

Installation

Use pip to install this from PyPI.

pip install genpull

How to Use genpull

Export a subscription list (in old Excel format) by going to League of Comic Geeks' Subscriptions page and selecting "Export Pulls" underneath the gear icon on the right side. Save that file which is referred to below as INFILENAME.

From the terminal, go to the directory that contains your saved INFILENAME file and run genpull using the command and format below. The simplest case is:

genpull --username "Your Name" --output "subscriptions.tex" INFILENAME

This will generate the LaTeX file and create the subscriptions.tex file. If you omit the output option this will print the generated file to the terminal. You can use a redirect if you prefer.

genpull --username "Your Name" INFILENAME > subscriptions.tex

Take this LaTeX file and typeset it twice to generate the PDF. It needs to be done twice because there are page numbers that appear.

genpull Format

Usage: genpull [OPTIONS] [INFILENAME]

Arguments

infilename      [INFILENAME]  The League of Comic Geeks Export Pulls xls filename. [default: Pulls-ComicGeeks.xls]

Options

--debug   --no-debug          Show debugging information. (lots of output) [default: no-debug]
--output                TEXT  Name of LaTeX output file. [default: None]
--username              TEXT  Name of subscription list owner. [default: Nevins]
--install-completion          Install completion for the current shell.
--show-completion             Show completion for the current shell, to copy it or customize the installation.
--help                        Show this message and exit.        

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Apache License 2.0

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

genpull-1.2.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genpull-1.2-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file genpull-1.2.tar.gz.

File metadata

  • Download URL: genpull-1.2.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for genpull-1.2.tar.gz
Algorithm Hash digest
SHA256 037f845755121ec4e5d2edc0390f2d17114d9bb1a793870a6e74a391f1353774
MD5 12dba026fbe24cdd3e7788ab7ad01ed3
BLAKE2b-256 28feb7d135d5bd9d6b003499c37e3766a2ea7acdc8de6117282214098fa2477b

See more details on using hashes here.

File details

Details for the file genpull-1.2-py3-none-any.whl.

File metadata

  • Download URL: genpull-1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for genpull-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bc25cca6b7bd5835ca75f32ad33de1793a038739d2feedfd94cc71392c164c75
MD5 8e1127fc0e9a915fb089bba1f0ceb78a
BLAKE2b-256 fb37edb1f350e5295eb9f74059c667c099ae96f15c72c941ab66f0b815326389

See more details on using hashes here.

Supported by

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