pysvn
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
Release files for pysvn 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pysvn-0.1.0.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pysvn-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.8 kB
Release files / pysvn-0.1.0.tar.gz
| Download URL | pysvn-0.1.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aecb58d59573a304d158c4861537fa0a277740ef10e217a7437daa69b3a688af
|
|
BLAKE2b-256 checksum How to use checksums |
e4dc0df56bfc41761bf2e33d72bace3bfaea38e70fe8a5f4c04b41e000c27a3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pysvn-0.1.0-py3-none-any.whl
| Download URL | pysvn-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7d7c3e7122cc87ec1b6978aeee2dcd1daf4101515f1fe7d26be8e16fc6e15df
|
|
BLAKE2b-256 checksum How to use checksums |
914566f2893d081edd60c1fb824dd06013a63954cddfa13bd48c63e3cde46b61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|