Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/btr1975/difflibhelper

A Helper Library for the Built in Diff Library of Python3
https://github.com/btr1975/difflibhelper

csv diff file library python python3

Last synced: 1 day ago
JSON representation

A Helper Library for the Built in Diff Library of Python3

Awesome Lists containing this project

README

        

# Python Script: difflibhelper

### Written By: Benjamin P. Trachtenberg
### If you have any questions e-mail me

### Contact Information: [email protected]

### LinkedIn: [Ben Trachtenberg](https://www.linkedin.com/in/ben-trachtenberg-3a78496)
### Docker Hub: [Docker Hub](https://hub.docker.com/r/btr1975)
### PyPi Page for [difflibhelper](https://pypi.python.org/pypi/difflibhelper)

### Requirements

* Nothing Specific besides Python 3.3 and above

### Installation

* From source "setup.py install"
* From pip "pip install difflibhelper"

### About

This script expands on the standard difflib library

### Features
1. Function to take a pre_list, and a post_list, and diff them with real line numbers
2. Function to add line numbers to a list
3. Function to get only a list of changed line numbers
4. Function to get + or - and line numbers
5. Function to build a csv of pre and post files