Skip to main content

Svn for python.

Project description

pysvn

PyPI

This is a Python package that can operate svn, provide log, diff, numstat operation.

Install

Binary installers for the latest released version are available at the Pypi.

python -m pip install --upgrade pysvn

Usage

Init

initialize the client on cwd

import pysvn

client = pysvn.Client(cwd = os.getcwd(), stdout = subprocess.PIPE)

log

Show the log messages for a set of revision(s) and/or path(s)..

client.log(decoding = 'utf8')

diff

Display local changes or differences between two revisions or paths

client.diff(start_version, end_version = None, decoding = 'utf8', cache = False)

numstat

Shows number of added and deleted lines in decimal notation and pathname

client.numstat(start_version, end_version = None, decoding = 'utf8', cache = False)

License

BSD

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

pysvn-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

pysvn-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file pysvn-0.1.0.tar.gz.

File metadata

  • Download URL: pysvn-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0

File hashes

Hashes for pysvn-0.1.0.tar.gz
Algorithm Hash digest
SHA256 aecb58d59573a304d158c4861537fa0a277740ef10e217a7437daa69b3a688af
MD5 49a40a5fe11391c8e34ae1005978b226
BLAKE2b-256 e4dc0df56bfc41761bf2e33d72bace3bfaea38e70fe8a5f4c04b41e000c27a3a

See more details on using hashes here.

File details

Details for the file pysvn-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pysvn-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0

File hashes

Hashes for pysvn-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7d7c3e7122cc87ec1b6978aeee2dcd1daf4101515f1fe7d26be8e16fc6e15df
MD5 74775355360f73b51a66fa6972c7487f
BLAKE2b-256 914566f2893d081edd60c1fb824dd06013a63954cddfa13bd48c63e3cde46b61

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