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.12.tar.gz
(4.5 kB
view details)
Built Distribution
File details
Details for the file fill5320-0.0.12.tar.gz
.
File metadata
- Download URL: fill5320-0.0.12.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95172ecdf0eb3820f07e51c384d827d2faf12a89c37524bc5d56a64134810c98 |
|
MD5 | e9c9c22f4ffe3b0ee1ee45403592966f |
|
BLAKE2b-256 | c130b0e509772dec71a23e13e211a0f0594759c1f39693b9afb5ddb9e13e5b07 |
File details
Details for the file fill5320-0.0.12-py3-none-any.whl
.
File metadata
- Download URL: fill5320-0.0.12-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dede5db192055b3ceb20a9df2b0fca0631cb52dc7e3fe7221779c8a30624d9b1 |
|
MD5 | d3cf33ecd1053495cc8421365f3fe9e2 |
|
BLAKE2b-256 | cdf4db68c76ee6b55a83f97738b2b1174fe3e38ca91a77528ae5d8020cac8ab6 |