PySVN - The pythonic interface to Subversion

The PySVN project's goal is to enable Tools to be written in Python that use Subversion source control system.

Windows, Mac OS X, Linux and other unix platforms are supported.

Features of the PySVN Python extension

Latest Version

PySVN 1.9.22 supporting Subversion 1.14.2 and earlier.

Changes:

Prebuilt kits are available for Windows and Mac OS X built for subversion 1.14.2 and 1.10.8 for python 3.8, 3.9, 3.10, 3.11 and 3.12

The downloads page for details of the available kits for Windows, Mac OS X and Linux.

Documentation

The PySVN Programmer's Guide is a good place to get started using PySVN.

It covers the use of PySVN in a tutorial style with lots of examples.

Use the PySVN Programmer's Reference to look up the detailed descriptions of all the classes, functions and variables of PySVN.

The python-library/site-packages/pysvn/Examples/Client/svn_cmd.py program is a replacement for the svn command line written using PySVN. It is a good place to look for working examples of use of all the pysvn module. View the latest version of svn_cmd.py.

PySVN App

SCM Workbench is an App for Mac OS, Windows and Linux/Unix that provides Subversion, Git and Mercurial access. It is the replacement for the PySVN Workbench app.

Contributing

We welcome contributions to PySVN with ideas, code, testing and documentation.

Discussions take place on the pysvn-discuss mailing lists. Feature requests, bugs and patches can be entered in the tickets database.

PySVN Project site

The main SourceForge PySVN Project page has links the Issue Tracker, Code browser and other services.

Build Dependencies

The extension is written in C++, using the PyCXX library. Everything else is written in Python.

PySVN works everywhere Python and Subversion works.