Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month ago
JSON representation
A Helper Library for the Built in Diff Library of Python3
- Host: GitHub
- URL: https://github.com/btr1975/difflibhelper
- Owner: btr1975
- License: mit
- Created: 2017-01-12T17:15:39.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-18T20:49:43.000Z (over 7 years ago)
- Last Synced: 2024-11-20T01:39:26.901Z (about 2 months ago)
- Topics: csv, diff, file, library, python, python3
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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