A tool to fill ATF form 5320.20
Project description
5320.20 Filler
Purpose
The script is designed to allow for automatically filling ATF form 5320.20.
Requirements
- pdftk-server (Must add to your path enviroment varible).
- Python version 3.6 or greater.
Install
pip install fill5320
- Copy static_data.csv, destinations_data.csv, signature.png, fields.json, atf_form_5320.pdf to directory of choice.
Setup
- Modify owner and firearm information in static_data.csv
- Modify destinations in destinations_data.csv
- Edit signature.png
Running
- From the desired working directory
python -m fill5320
- Filled files will be placed in a directory titled filled and signed will be placed in signed
Command Line Arugments
- -i path to static data csv file, default is static_data.csv
- -d path to destination address file, default is destinations_data.csv
- -f path to field definition file, default is fields.json This is generated by pdfforms
- -s path to signature image file, default is signature.png should be png format and 987x143 pixels. Other sizes may work, but not tested
- -p position of signature image on pdf, default 1x70x195x200x12 (page number, x, y, width, height)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fill5320-0.0.10.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for fill5320-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 056593a286f3686d14808bfdf317af5e5beb82442d6a7373750abaccaec50fbd |
|
MD5 | 0b43ccbd07006d79519c713fa7302005 |
|
BLAKE2b-256 | 2d8e69fdd96d4b51e8b681635fd50b7ffd251df7914071da1a9e230a21ab0ac0 |