All Projects → dulwich → Dulwich

dulwich / Dulwich

Licence: other
Pure-Python Git implementation

Programming Languages

python
139335 projects - #7 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Dulwich

Pailab
a package for versioning, automatization and analysis of machine learning development
Stars: ✭ 25 (-98.5%)
Mutual labels:  version-control
Nodist
Natural node.js and npm version manager for windows.
Stars: ✭ 1,276 (-23.27%)
Mutual labels:  version-control
Data Versioning
Collecting thoughts about data versioning
Stars: ✭ 104 (-93.75%)
Mutual labels:  version-control
Nhversion
NHVersion for version your api
Stars: ✭ 13 (-99.22%)
Mutual labels:  version-control
Dotfile
Simple version control made for tracking single files
Stars: ✭ 71 (-95.73%)
Mutual labels:  version-control
Vbasync
Cross-platform tool to synchronize macros from an Office VBA-enabled file with a version-controlled folder
Stars: ✭ 98 (-94.11%)
Mutual labels:  version-control
Diff Hl
Emacs package for highlighting uncommitted changes
Stars: ✭ 553 (-66.75%)
Mutual labels:  version-control
Unigit
An open source GIT Unity3D editor plugin.
Stars: ✭ 111 (-93.33%)
Mutual labels:  version-control
Git2rdata
An R package for storing and retrieving data.frames in git repositories.
Stars: ✭ 84 (-94.95%)
Mutual labels:  version-control
Labviewgitenv
Everything you need to hold your LabView projects version controlled with GIT.
Stars: ✭ 100 (-93.99%)
Mutual labels:  version-control
Attaca
Robust, distributed version control for large files.
Stars: ✭ 41 (-97.53%)
Mutual labels:  version-control
Libgit2
A cross-platform, linkable library implementation of Git that you can use in your application.
Stars: ✭ 8,208 (+393.57%)
Mutual labels:  version-control
Sno
Distributed version-control for geospatial and tabular data
Stars: ✭ 100 (-93.99%)
Mutual labels:  version-control
Gitcommands
Here is a list of some basic Git commands to get you going with Git
Stars: ✭ 11 (-99.34%)
Mutual labels:  version-control
Json Git
A pure JS local Git to versionize any JSON
Stars: ✭ 109 (-93.45%)
Mutual labels:  version-control
Snowfs
SnowFS - a fast, scalable version control file storage for graphic files 🎨
Stars: ✭ 590 (-64.52%)
Mutual labels:  version-control
S3git
s3git: git for Cloud Storage. Distributed Version Control for Data. Create decentralized and versioned repos that scale infinitely to 100s of millions of files. Clone huge PB-scale repos on your local SSD to make changes, commit and push back. Oh yeah, it dedupes too and offers directory versioning.
Stars: ✭ 1,287 (-22.61%)
Mutual labels:  version-control
Sketch Json
Transform sketch files to json and json to sketch files
Stars: ✭ 113 (-93.21%)
Mutual labels:  version-control
Git
Useful Git commands.
Stars: ✭ 109 (-93.45%)
Mutual labels:  version-control
Keepsake
Version control for machine learning
Stars: ✭ 1,357 (-18.4%)
Mutual labels:  version-control

Dulwich

This is the Dulwich project.

It aims to provide an interface to git repos (both local and remote) that doesn't call out to git directly but instead uses pure Python.

Main website: <https://www.dulwich.io/>

License: Apache License, version 2 or GNU General Public License, version 2 or later.

The project is named after the part of London that Mr. and Mrs. Git live in in the particular Monty Python sketch.

Installation

By default, Dulwich' setup.py will attempt to build and install the optional C extensions. The reason for this is that they significantly improve the performance since some low-level operations that are executed often are much slower in CPython.

If you don't want to install the C bindings, specify the --pure argument to setup.py:

$ python setup.py --pure install

or if you are installing from pip:

$ pip install dulwich --global-option="--pure"

Note that you can also specify --global-option in a requirements.txt file, e.g. like this:

dulwich --global-option=--pure

Getting started

Dulwich comes with both a lower-level API and higher-level plumbing ("porcelain").

For example, to use the lower level API to access the commit message of the last commit:

>>> from dulwich.repo import Repo
>>> r = Repo('.')
>>> r.head()
'57fbe010446356833a6ad1600059d80b1e731e15'
>>> c = r[r.head()]
>>> c
<Commit 015fc1267258458901a94d228e39f0a378370466>
>>> c.message
'Add note about encoding.\n'

And to print it using porcelain:

>>> from dulwich import porcelain
>>> porcelain.log('.', max_entries=1)
--------------------------------------------------
commit: 57fbe010446356833a6ad1600059d80b1e731e15
Author: Jelmer Vernooij <[email protected]>
Date:   Sat Apr 29 2017 23:57:34 +0000

Add note about encoding.

Further documentation

The dulwich documentation can be found in docs/ and built by running make doc. It can also be found on the web.

Help

There is a #dulwich IRC channel on the OFTC, and dulwich-announce and dulwich-discuss mailing lists.

Contributing

For a full list of contributors, see the git logs or AUTHORS.

If you'd like to contribute to Dulwich, see the CONTRIBUTING file and list of open issues.

Supported versions of Python

At the moment, Dulwich supports (and is tested on) CPython 3.6 and later and Pypy.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].