Skip to main content

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
  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

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fill5320-0.0.12-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

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

Hashes for fill5320-0.0.12.tar.gz
Algorithm Hash digest
SHA256 95172ecdf0eb3820f07e51c384d827d2faf12a89c37524bc5d56a64134810c98
MD5 e9c9c22f4ffe3b0ee1ee45403592966f
BLAKE2b-256 c130b0e509772dec71a23e13e211a0f0594759c1f39693b9afb5ddb9e13e5b07

See more details on using hashes here.

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

Hashes for fill5320-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 dede5db192055b3ceb20a9df2b0fca0631cb52dc7e3fe7221779c8a30624d9b1
MD5 d3cf33ecd1053495cc8421365f3fe9e2
BLAKE2b-256 cdf4db68c76ee6b55a83f97738b2b1174fe3e38ca91a77528ae5d8020cac8ab6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page