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.0.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.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: uk_invitation_letter-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 c83fc03addacaead051e0b255e28d9b6917cb25ca4e8dc5e9197685e6e5e0676
MD5 98f1507217087a7da2e70f64c7d3e3c2
BLAKE2b-256 54060874dd4624d594f8c8f1aaaca87245a90c85704f48b170f9a6c28bef75c7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uk_invitation_letter-1.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e55eb0d1f7086ae65ea6d5c1dd6111a7a06d06feae648e87d834604c7f366d4c
MD5 e4bbf2aff0aae4a44e902f24e9b43c52
BLAKE2b-256 e07387d7afacec41b00bd5d78c778a42df9403abf5be0bcb432d41066beae5ba

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