Skip to main content

UK visa invitation letter generator.

Project description

UK visa invitation letter generator PyPI

Writes a UK Standard Visitor visa invitation letter for you.


Requirements

  • Python 3 with pipx
  • LaTeX with OpenType font support, e.g. XeLaTeX, and latexmk

Usage

  1. Create a data.yml config file. Generate a starting template with:
pipx run uk-invitation-letter gen > data.yml

Example:

inviter:
  name: Kayleigh H Welch
  address:
    - 75 Hertingfordbury Road
    - Newton NG13 8QY
  phone: "07758888305"
  email: noreply@temporary-mail.net
  residence: share code  # optional: `permit` / `share code` / `passport` / custom
  proof_of_address: council tax bill  # optional

employer:
  name: Jstory UK Ltd
  address:
    - 89 Well Lane
    - Patterdale CA11 0LQ

embassy:
  name: British Consulate General New York
  address:
    - 885 2nd Ave
    - New York
    - NY 10017
    - United States

invitee:
  name:  # <first name> [<other names>]+ <last name>, use `~` for a non-breaking space
    - Joseph Brodsky
    - Maria Sozzani
  pronoun: they/them/their  # optional, they/them/their by default
  relationship: friends

trip:
  arrival_date: 2026-01-01
  departure_date: 2026-01-31
  reason: a short trip  # optional
  return_reason: to circumnavigate the globe  # optional
  return_country: the US  # optional
  financial_support: false

docs:  # optional extra documents
  - table tennis match result sheet
  1. Render the letter:
pipx run uk-invitation-letter render --data data.yml --output invitation.pdf

The output will be saved to invitation.pdf. Pass --engine lualatex if you prefer LuaLaTeX (default is XeLaTeX).

For repeated use, install it once with pipx install uk-invitation-letter and then invoke uk-invitation-letter render ... directly.

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

uk_invitation_letter-1.0.1.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

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

uk_invitation_letter-1.0.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file uk_invitation_letter-1.0.1.tar.gz.

File metadata

  • Download URL: uk_invitation_letter-1.0.1.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.29 {"installer":{"name":"uv","version":"0.9.29","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 uk_invitation_letter-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2e2b3b9a34a36ef2859acf03095169282cb4615c5992166fbec7bc7d570d0eee
MD5 3709a00d664f43d4ad15c7c6166e86e7
BLAKE2b-256 916c308abfa6104d27cc89db684cb2066eb5093988f66ec4c77e99e746c5dbba

See more details on using hashes here.

File details

Details for the file uk_invitation_letter-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: uk_invitation_letter-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.29 {"installer":{"name":"uv","version":"0.9.29","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 uk_invitation_letter-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d22f571a0893c11e8b5add75224244985bbe96ea74aea39bbb4f9c04c7d82f3b
MD5 74658fb537c09368f24eb727558d68ee
BLAKE2b-256 cde8f9739586910f16f4218daa69bfc56fd63130fd3f6b3c3188019639c22b1c

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