Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git library for Ruby or Python?

Tags:

git

python

ruby

I'm looking for a Ruby or Python implementation of the Git client that can be used to update and commit changes in a local repository.

I prefer if the library does not use shell commands at all but keeps everything in "pure code".

Are there any?

Thank you in advance.

like image 828
Christoffer Avatar asked Jun 27 '10 17:06

Christoffer


People also ask

Is GitHub made with Ruby?

The core of what you see and use as a GitHub user is a Ruby on Rails application. It's seven-year-old app now, created by founders when they started the company. That's the core of the application, but obviously there's a ton of Git in the stack.

Should I use Python or Ruby?

Python is generally better for educational use or for people who want to build quick programs rather than work as developers, while Ruby is better for commercial web applications. There are more specific differences when comparing Ruby versus Python, and they have in common that there are many ways to learn both.

What is Git in Ruby?

Ruby/Git is a Ruby library that can be used to create, read and manipulate Git repositories by wrapping system calls to the git binary.

Can you use Python with Ruby?

Ruby and Python are two highly sought-after programming languages. They share many similarities and both are powerful options that solve specific problems. But few people know that Ruby and Python can be brought together to create efficient apps with capabilities for heavy calculations and handling Big Data.


1 Answers

There's also Dulwich, a Python implementation of the Git file formats and protocols.

like image 180
RyanWilcox Avatar answered Oct 10 '22 22:10

RyanWilcox