Skip to main content

5320.20 Filler

Purpose

The script is designed to allow for automatically filling ATF form 5320.20.

Requirements
  1. pdftk-server (Must add to your path enviroment varible).
  2. Python version 3.6 or greater.
Install
  1. pip install fill5320
  2. Copy static_data.csv, destinations_data.csv, firearms_data.csv, signature.png, fields.json, atf_form_5320.pdf to directory of choice.
Setup
  1. Modify owner information in static_data.csv
  2. Modify destinations in destinations_data.csv
  3. Modify firearms information in firearms_data.csv
  4. Edit signature.png
Running
  1. From the desired working directory python -m fill5320
  2. Filled files will be placed in a directory titled filled and signed will be placed in signed
Command Line Arugments
  1. -i path to static data csv file, default is static_data.csv
  2. -d path to destination address file, default is destinations_data.csv
  3. -r path to firearms data csv file, default is firearms_data.csv
  4. -f path to field definition file, default is fields.json This is generated by pdfforms
  5. -s path to signature image file, default is signature.png should be png format and 987x143 pixels. Other sizes may work, but not tested
  6. -p position of signature image on pdf, default 1x70x195x200x12 (page number, x, y, width, height)

Example Output

Metadata

Release files for fill5320 0.0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fill5320 0.0.12
File Size Uploaded
fill5320-0.0.12.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fill5320 0.0.12
File Interpreter ABI Platform
fill5320-0.0.12-py3-none-any.whl Python 3 none any Details

Total release size: 10.1 kB

Release files / fill5320-0.0.12.tar.gz

Download URL fill5320-0.0.12.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
95172ecdf0eb3820f07e51c384d827d2faf12a89c37524bc5d56a64134810c98
BLAKE2b-256 checksum
How to use checksums
c130b0e509772dec71a23e13e211a0f0594759c1f39693b9afb5ddb9e13e5b07
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / fill5320-0.0.12-py3-none-any.whl

Download URL fill5320-0.0.12-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dede5db192055b3ceb20a9df2b0fca0631cb52dc7e3fe7221779c8a30624d9b1
BLAKE2b-256 checksum
How to use checksums
cdf4db68c76ee6b55a83f97738b2b1174fe3e38ca91a77528ae5d8020cac8ab6
Upload date
Uploaded using Trusted Publishing?
What is 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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page