Projects tagged ‘diff’ and ‘python’


Jump to tag:

Projects tagged ‘diff’ and ‘python’

Filtered by Project Tags diff python

Refine results Project Tags patch (3) c (2) database (2) svn (2) compare (2) administration (1) revision (1) csharp (1) project (1) utilities (1) match (1) id3 (1)

[16 total ]

1 Users

This is a command line tool written in Python. It displays all the differences between two database schemas. The schema are provided as SQL dump. 1. ExampleInputdb1.sql: sql dump of a database with ... [More] a single table: 'person' CREATE TABLE `person` ( `last name` varchar(50) NOT NULL, `date_of_birth` varchar(45) NOT NULL, PRIMARY KEY (`last name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;db2.sql: sql dump of the same database after adding a new table 'car' and modified fields in the 'person' table. CREATE TABLE `car` ( `color` varchar(50) NOT NULL, `number_plate` varchar(50) NOT NULL, `brand` varchar(50) NOT NULL, PRIMARY KEY (`number_plate`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; CREATE TABLE `person` ( `last name` varchar(50) NOT NULL, `date_of_birth` datetime NOT NULL, `first_name` varchar(45) NOT NULL, PRIMARY KEY (`last name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;Commandpython compdb.py db1.sql db2.sqlOutput% FIELD: person.date_of_birth `date_of_birth` varchar(45) NOT NULL => `date_of_birth` datetime NOT NULL + FIELD: person.`first_name` varchar(45) NOT NULL + TABLE: car 3 difference(s).2. Notation%: difference +: new field or table -: missing field or table 3. LimitationsCurrently works only with MySQL dumps Obviously this tool cannot detect when the name of a field or a table has changed! 4. MotivationThis script was originally written to help me keep track of the evolution of Django models (hence the Python implementation). Before upgrading a staging server, I would compare the SQL dump from my development database (generated with mysqldump -d or with python manage.py sql) with the dump from my staging server. Note that more sophisticated tools have been developed for this purpose, search for 'django schema evolution' on any search engine to find them. This tool was developed as part of a UML to Django conversion project. 5. FeedbackYour comments and contributions are welcome. [Less]
Created 4 months ago.

0 Users

Cross-platform alternative to unix patch utility capable to apply unified diffs. Patches are welcome.
Created 12 months ago.

0 Users

Did you ever want to "track changes" in a LaTeX document? Well now you can, kind of. This program takes two LaTeX files, normalizes them somewhat and outputs a third file that marks up changes between ... [More] the two inputted files. Not perfect, but works sometimes. [Less]
Created about 1 year ago.

0 Users

svndiffview: Es una aplicacion muy pequeña pero muy util. Que es svndiffview? aplicacion para ver todas las revisiones de Svn, y ver los cambios de una revision vs la revision anterior. ... [More] Aspectos Tecnicos: - Desarrollado en python, con pySvn. - se usa Django, para que esta aplicacion sea web. - se usa mochikit como framework Javascript. Notas: Esta es una version inicial, hay muchas mejoras que se pueden hacer todavia. [Less]
Created 8 months ago.

0 Users

NetFdiff is free, open source software for a doing simple housekeeping of a web site. It is available for Mac OS X, Microsoft Windows, GNU/Linux, and other operating systems. NetFdiff will help for ... [More] the following tasks: Comparing directory structures between the local disk and the remote web site. Uploading and Downloading files Uploading recently modified files NetFdiff has been tested with directory structures containing more than 5000 files. Requirements To use NetFdiff, you need: Python language installed on your local computer (version 2.4 or later) PHP scripting enabled on the web server FTP enabled for transfering files to/from the web server Learn more at http://fhoerni.free.fr/netfdiff/ [Less]
Created about 1 year ago.

0 Users

The Diff Match and Patch libraries offer robust algorithms to perform the operations required for synchronizing plain text. Diff: Compare two blocks of plain text and efficiently return a list of ... [More] differences. Diff Demo Match: Given a search string, find its best fuzzy match in a block of plain text. Weighted for both accuracy and location. Match Demo Patch: Apply a list of patches onto plain text. Use best-effort to apply patch even when the underlying text doesn't match. Patch Demo Currently available in Java, JavaScript, C++, C# and Python. Regardless of language, each library features the same API and the same functionality. All versions also have comprehensive test harnesses. Public UsersGoogle Documents MobWrite Collabedit PatchworkEditor WhiteRoom Mozilla Bespin Your project here... AlgorithmsThis library implements Myer's diff algorithm which is generally considered to be the best general-purpose diff. A layer of pre-diff speedups and post-diff cleanups surround the diff algorithm, improving both performance and output quality. This library also implements a Bitap matching algorithm at the heart of a flexible matching and patching strategy. [Less]
Created about 1 year ago.

0 Users

This tool aims at spotting differences in several network traces. It merely relies on tshark/wirshark dissection to provide interesting differences instead of raw differences.
Created 10 months ago.

0 Users

This is a small module written in python to compare two html documents, and show the changes. The output is in html, using and tags to mark the changed sections. This is a diff aimed at a user, so ... [More] all user-irrelevant information such as whitespace is not considered. [Less]
Created 10 months ago.

0 Users

NIAPIU stand for NIAP(our group name) + Incremental Upgrade. NIAPIU is designed for help people to decrease the bandwidth when software upgrade. It use bsdiff(http://www.daemonology.net/bsdiff/) ... [More] as kernel.bsdiff routinely produces binary patches 50-80% smaller than those produced by Xdelta, and 15% smaller than those produced by RTPatch. In our experience,NIAPIU is VERY useful.Under normal circumstances,it can save more than 90% of the bandwidth. [Less]
Created 12 months ago.

0 Users

Descriptionpycsvdiff is a tool for diffing comma separated value (CSV) files. DBA's may find it useful to debug data-dumps, while programmers might integrate it with an automated testing solution to ... [More] verify that data exports don't regress. FeaturesWill use field labels in diffs if specified Ability to skip fields (e.g. timestamps) using field numbers or field labels as specifiers Optional case insensitive diff Can use labels to map out-of-order columns between CSV files Variable verbosity Built-in test suite runnable with --run-tests option from command line [Less]
Created 12 months ago.