ABOUT THE PROJECT
I created this sublime plugin to expedite the process of posting opinions for the New Jersey Courts. This process would normally take over an hour and involved copying out a Word document and creating JSON objects manually. This was very error prone and I set out to create a more efficient method that would free up time for staff development. This new solution consisted of a python script that ran off Sublime's python emulator, which was integrated into our everyday text editor. The script would automatically parse a DOCX file, and read each line which would then convert it directly into a JSON file. This includes multiple key value pairs including DocumentURL, Title, Date, and various other attributes. It also automatically copied all files to our dev, qa, and production servers with a click of a button by utilizing SFTP through the library Paramiko. We later improved it even further by automatically appending meta data to each file when calling the copy process, this significantly increased our SEO rankings. After much testing, the solution was bundled into an .exe file and was ran using a windows service on a Microsoft Server. A service account would then run the task on startup, and would execute everyday at a given time, making it a completely automated process.
FEATURES
- Custom sublime plugin using Python
- Utilizes Paramiko for SFTP and SCP for moving of files
- Uses search algorithms to parse correct text
- Implements PyPDF2 library for appending of meta data
- NSSM to create Windows service with fallback features
MADE FOR
Web Team