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

You can also run genpull using pipx. The command below runs genpull and shows all of the options.

pipx run genpull --help

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]
--version --no-version        Shows the version of genpull [default: no-version]     
--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.3.tar.gz (11.0 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.3-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for genpull-1.3.tar.gz
Algorithm Hash digest
SHA256 7df656f8f2f4ac543ab846450e27b185ef61be3ce6e7ac14d077430a664f750b
MD5 1a13e48c3e1f835ca349a076ec5864d7
BLAKE2b-256 1fcf687e5014748e7f86a9dd468e7ea8f20381f80baad547c80caea6536df5e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genpull-1.3-py3-none-any.whl
  • Upload date:
  • Size: 11.1 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ad2348acef67678eb658e0a3afb72637834319ea7d321fd20caf39500a225e16
MD5 e37c1d97ba1716e50e5cc6fe2f94c487
BLAKE2b-256 9625fe483ef6189dabf250e92587566e454f4359623e4822129bd6e9df106db7

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