Skip to content

iskhakovt/uk-invitation-letter

Repository files navigation

UK visa invitation letter generator PyPI

Writes a UK Standard Visitor visa invitation letter for you.


Requirements

  • Python 3 with pip
  • LaTeX with OpenType font support, e.g. XeLaTeX

Usage

  1. Install the package.
pip3 install uk-invitation-letter
  1. Create data.yml config file.

Example:

inviter: !entity
  name: Kayleigh H Welch
  address: !address
    lines:
      - 75 Hertingfordbury Road
      - Newton NG13 8QY
      # UK auto-added
  phone: "07758888305"
  email: [email protected]

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

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

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

trip: !trip
  arrival_date: 2020-01-01
  departure_date: 2020-01-31
  reason: a short trip
  return_reason: null
  return_country: the US
  financial_support: false
  1. Run the generator.
LATEX_BINARY=<path to latex binary> uk-invitation-letter

The output will be saved to build/invitation.pdf.