Python wrapper for Vearcity's command-line interface.
Project description
Introduction
python-veracity is a Python wrapper for Veracity’s command-line interface. It provides objects for repositories, working copies, and other commonly-used items.
Getting Started
Requirements
Python 2.7
sh (UNIX | https://pypi-hypernode.com/pypi/sh)
pbs (Windows | https://pypi-hypernode.com/pypi/pbs)
Installation
python-veracity can be installed with pip or easy_install:
pip install python-veracity
After installation, the package is available under the name veracity:
python >>> import veracity
Basic Usage
A sample script might look like this:
#!/usr/bin/env python from veracity import Repo, WorkingCopy repo = Repo('veracity-me', "http://public.veracity-scm.com/repos/veracity") wc = repo.checkout("~/veracity-me") wc.update(branch='master')