Skip to main content

No project description provided

Project description

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of pyDiffTools nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


Description: ==================================================
pydifftools
==================================================
:Info: See <https://github.com/jmfranck/pyDiffTools>
:Author: J. M. Franck <https://github.com/jmfranck>
.. _vim: http://www.vim.org

this is a set of tools to help with merging, mostly for use with vim_.

at this stage, it's a very basic and development-stage repository.
the scripts are accessed with the command ``pydifft``

included are:

- `pydifft sc` ("split conflicts"): a very basic merge tool that takes a conflicted file and generates a .merge_head and .merge_new file, where basic

* you can use this directly with gvimdiff, you can use the files in a standard gvimdiff merge

* unlike the standard merge tool, it will

* less complex than the gvimdiff merge tool used with git.

* works with "onewordify," below

- `pydifft wmatch` ("whitespace match"): a script that matches whitespace between two text files.

* pandoc can convert between markdown/latex/word, but doing this messes with your whitespace and gvimdiff comparisons.

* this allows you to use an original file with good whitespace formatting as a "template" that you can match other (e.g. pandoc converted file) onto another

- `pydifft wd` ("word diff"): generate "track changes" word files starting from pandoc markdown in a git history. Assuming that you have copied diff-doc.js (copied + licensed from elsewhere) into your home directory, this will use pandoc to convert the markdown files to MS Word, then use the MS Word comparison tool to generate a document where all relevant changes are shown with "track changes."

* by default, this uses the file `template.docx` in the current directory as a pandoc word template

- a script that searches a notebook for numbered tasks, and sees whether or not they match (this is for organizing a lab notebook, to be described)

Future versions will include:

- Scripts for converting word html comments to latex commands.

- converting to/form one word per line files (for doing things like wdiff, but with more control)

Platform: UNKNOWN

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyDiffTools-0.1.4.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

pyDiffTools-0.1.4-py2-none-any.whl (25.0 kB view details)

Uploaded Python 2

File details

Details for the file pyDiffTools-0.1.4.tar.gz.

File metadata

  • Download URL: pyDiffTools-0.1.4.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for pyDiffTools-0.1.4.tar.gz
Algorithm Hash digest
SHA256 302c023e9df74eb9861d4d8bd10a9d3494ac8ae04f60687c79cf0d79a142c451
MD5 34954273f2c4cca97b8d2f0be6132d1f
BLAKE2b-256 06749dcaa784971e5d592b664a164c0874cd60f8eb9729036fc4414296144f5d

See more details on using hashes here.

File details

Details for the file pyDiffTools-0.1.4-py2-none-any.whl.

File metadata

  • Download URL: pyDiffTools-0.1.4-py2-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for pyDiffTools-0.1.4-py2-none-any.whl
Algorithm Hash digest
SHA256 d06c8b92ed151cc795e32495f77dd06a221d50f90ab93f9129f95ad3f4b03948
MD5 ff755852ecf8d40732d50aa38087a71a
BLAKE2b-256 2666a764cb025fdbc7cee220d60cc2b92a522332ee404646a1c9ea9b0109a54c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page