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, firearms_data.csv, signature.png, fields.json, atf_form_5320.pdf to directory of choice.
Setup
- Modify owner information in static_data.csv
- Modify destinations in destinations_data.csv
- Modify firearms information in firearms_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
- -r path to firearms data csv file, default is firearms_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.11.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for fill5320-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afcce1d25728946e2fdf7904dadf9d26e448afd9c040a6710f8d54c9da9be5b3 |
|
MD5 | e45e60ba4ad24aa1df3cedf2ad4370ac |
|
BLAKE2b-256 | f7224e78e12281398c588b2a76fbfb8a3243c5afe30853a46f6d6543e82cd5e9 |