nrc-to-jpg
Save the NRC front page to a JPG image.
Installation
nrc-to-jpg is available on PyPI. Install with uv or your package manager of choice:
uv tool install nrc-to-jpg
Documentation
Check out the nrc-to-jpg documentation for the User's Guide and CLI Reference.
Usage
Running nrc-to-jpg --help or python -m nrc_to_jpg --help shows a list of all of the available options and arguments:
nrc-to-jpg --help
Usage: nrc-to-jpg [OPTIONS]
Save the NRC front page to a JPG image.
Options:
-d, --date [%Y-%m-%d|%Y-%m-%dT%H:%M:%S|%Y-%m-%d %H:%M:%S]
The date to save that day's front page of. [default:
(today)]
-n, --page-number INTEGER The page number to save. [default: 1]
-o, --output FORMAT-STR Output file name template. Allowed fields: `day`,
`month`, `page_number`, `year` [default: NRC-front-
page_{year:04}-{month:02}-{day:02}.jpg]
-v, --version Show the version and exit.
-h, --help Show this message and exit.
To save today's front page to NRC_front_page_{year:04}-{month:02}-{day:02}.jpg, simply use nrc-to-jpg without any options:
nrc-to-jpg
To save the front page for a different date than today, use the --date option:
nrc-to-jpg --date 2001-09-12
To save a page other than the front page, use the --page-number option:
nrc-to-jpg --page-number 2
This will still save the specified page to NRC_front_page_{year:04}-{month:02}-{day:02}.jpg. You might want to customize the output template using the --output option:
nrc-to-jpg --page-number 2 --output NRC_{page_number}nd_page_{year:04}-{month:02}-{day:02}.jpg
Metadata
Release files for nrc-to-jpg 2026.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nrc_to_jpg-2026.1.0.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nrc_to_jpg-2026.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.3 kB
Release files / nrc_to_jpg-2026.1.0.tar.gz
| Download URL | nrc_to_jpg-2026.1.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21c5198217e1940de3f521ad837a3aa7b1d7e38367fdb809c87550c55979170e
|
|
BLAKE2b-256 checksum How to use checksums |
c6c8168e880deab97fdde91647eef8bd0be639bca616473d0ca3c3563607c619
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / nrc_to_jpg-2026.1.0-py3-none-any.whl
| Download URL | nrc_to_jpg-2026.1.0-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b248cf0770431fc9c8e75905171a58a7d48713314879eafa7e416fbe7e9f73cc
|
|
BLAKE2b-256 checksum How to use checksums |
cb36725ec6b0f752ee4f922104ecdcd3304d8a141cf749da7904cdef9635bd10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|