Skip to main content

Compile a single PDF containing all the hymns in the collection "Hymns—For Home and Church"

Project description

Hymns

Compile a single PDF containing all the hymns in the collection “Hymns—For Home and Church”.

Using this tool

You do not need to download the source code repository to use this tool. The recommended way to use this tool is to run it through uv. Install uv on your computer and then run:

uvx hymns

This will perform the following actions:

  1. Download PDF files for all hymns into a folder named .local/cache in the current directory.
  2. Add hymn numbers to the first page of each hymn, in the correct corner.
  3. Arrange all hymns into a single PDF file.
  4. Add blank pages if necessary to keep two-page hymns in a single spread.
  5. Write the combined PDF file to hymns-eng-letter.pdf in the current directory. If hymns-eng-letter.pdf already exists, it will be overwritten.

The resulting PDF is designed to be printed double-sided.

Downloaded files

Any files that need to be downloaded to generate the final PDF will be saved in a directory named .local/cache inside the current directory. If files already exist in the cache folder, they will not be downloaded again.

You can safely delete this folder and everything in it. The next time you use this tool, the files will be downloaded again.

Alternate languages and paper sizes

The default language is English. The default paper size is Letter (8.5 x 11 inches).

You can specify a different language or a different paper size by using --lang or --size when you run the tool:

> uvx hymns --lang spa --size a4
# or abbreviated:
> uvx hymns -l spa -s a4

Currently supported languages are:

  • eng: English
  • fra: French
  • por: Portuguese (Brazil)
  • spa: Spanish

Currently supported paper sizes are:

  • letter: 8.5 x 11 inches
  • a4: 210 x 297 mm

You can generate all possible combinations of language and paper size by running:

> uvx --from hymns gen-all-hymns

Updating a printed copy

If you already have a printed copy of a previous version, you only need to print added or changed pages to update your copy.

2024.5 → 2024.9

  • Print pages 1–2 to replace pages 1–2 in your existing copy.
  • Print pages 17–36 to replace pages 17–18 in your existing copy.

2024.9 → 2025.2

  • Print pages 1–2 to replace pages 1–2 in your existing copy.
  • Print pages 35–60 to replace pages 35–36 in your existing copy.
  • Print pages 67–69 to insert at the end of your existing copy.

2025.2 → 2025.6

  • Print pages 1–2 to replace pages 1–2 in your existing copy.
  • Print pages 55–70 to replace pages 55–58 in your existing copy.
  • Print page 83 to insert at the end of your existing copy.

2025.6 → 2025.9

  • Print pages 1–2 to replace pages 1–2 in your existing copy.
  • Print pages 71–84 to insert after page 70 in your existing copy.
  • Print pages 95–99 to replace pages 81–83 in your existing copy.

2025.9 → 2026.2

  • Print pages 1–2 to replace pages 1–2 in your existing copy.
  • Print pages 83–102 to replace pages 83–84 in your existing copy.
  • Print page 119 to insert at the end of your existing copy.

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

hymns-2026.2.0.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

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

hymns-2026.2.0-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file hymns-2026.2.0.tar.gz.

File metadata

  • Download URL: hymns-2026.2.0.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for hymns-2026.2.0.tar.gz
Algorithm Hash digest
SHA256 9dc27c93b621ed14370e39bc493feed0df204ee7b46054951581373b22b88106
MD5 0c446646d9b65bec25877469883a00d7
BLAKE2b-256 40d0a3eed198592ce0c4e44f6410541a31ccb58f428f0c2f4f8ad32bbf744e6b

See more details on using hashes here.

File details

Details for the file hymns-2026.2.0-py3-none-any.whl.

File metadata

  • Download URL: hymns-2026.2.0-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for hymns-2026.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a0cf5ae9f4be735eb52bb3d6e14fae6d007e72cdd6bd2cc52c4d34568a19a388
MD5 02a621703786486a8279b0bc8a9b4e5f
BLAKE2b-256 52bd295687b7b76a19158e3795d6ba66ef0dcd90f7f92bb1f26635afe6a70eca

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