Git Product home page Git Product logo

address-auto-typer's Introduction

Address-Auto-Typer

A tool written in python3 to take pre-downloaded google sheet or excel files containing addresses, and auto typing them on formatted pages for business use.

Purpose

This program automates a repetitive and time consuming task that was to be done every day for Snow Pros LLC, making the life of crew-leaders easier and saving the company money, because usually the foreman would either have to write out each address in the beginning of their shift and waste set-up time, or stop the truck with a full crew to write clearly while pausing for bumps in the roads. This task was to manually write out each address from an excel file, 3 times, on a formatted piece of paper to be used for photo taking, (before, during, after) for documentation, to prove to the city of Minneapolis that Snowpros LLC was present at each location clearing sidewalks. Each section would be folded and placed in the lower-left corner of a camera frame for each photo. This task takes an average of 35 seconds to do per address, and work-orders can have over 100 addresses in them. The cost savings obviously scale with more addresses per work order. Below is the format for each address. (Ignore the 80/100)

Address Format Scan-1

Installation for Programmers using Pycharm

  • Clone Repository

1. Add Dependencies

  • altgraph 0.17.2 0.17.2
  • et-xmlfile 1.1.0 1.1.0
  • future 0.18.2 0.18.2
  • keyboard 0.13.5 0.13.5
  • lxml 4.7.1 4.8.0
  • numpy 1.22.2 1.22.2
  • openpyxl 3.0.9 3.0.9
  • pandas 1.4.1 1.4.1
  • pefile 2021.9.3 2021.9.3
  • pip 22.0.3 22.0.3
  • pyinstaller 4.9 4.9
  • pyinstaller-hooks-contrib 2022.2 2022.2
  • python-dateutil 2.8.2 2.8.2
  • python-docx 0.8.11 0.8.11
  • pytz 2021.3 2021.3
  • pywin32-ctypes 0.2.0 0.2.0
  • setuptools 60.9.2 60.9.3
  • six 1.16.0 1.16.0
  • termcolor 1.1.0 1.1.0

2. To make Executable after installing all dependencies (.exe)

  • After you've copied the code in Pycharm, Go to "terminal tab" -> "local" of Pycharm and type pyinstaller main.py --onefile
  • look to the upper left hand corner for "dist" find main.exe, and copy paste that to wherever you wish.

Testing

  • Download the provided Excel file
  • Make sure to specify correct paths

Results

Screenshot (184)

 

Screenshot (183)

 

Screenshot (182)

  • Now the user may easily print from Microsoft Word. No sharpies, and no ugly handwriting required.

Notes

  • You do not need to install pyinstaller or its dependencies(altgraph, future, pefile, pywin32-ctypes, pyinstaller-hooks-contrib, pyinstaller ) if you wish to just run it as a .py
  • workorder.docx automatically gets overwritten every time the program is run, so there will never be multiple files taking up space on the device under use.

address-auto-typer's People

Contributors

mcworkaholic avatar

Watchers

 avatar

address-auto-typer's Issues

First task list

  • add an if-else branch for google sheet to excel conversion, if a user would like to convert
  • convert work order file name to string, and place work order number (#) from that string next to "wo" in the word document. Right now the program just puts "wo 1" in every file on the right hand side, which would be incorrect for any other downloaded work orders, i.e work order #26, work order #35 etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.