Skip to main content

Python wrapper for Vearcity's command-line interface.

Project description

Introduction

This library provides a Python wrapper for Veracity’s command-line interface. It includes objects for repositories, working copies, and other commonly-used items. The library also provides command-line tools to work with Veracity’s distributed build tracking features.

Getting Started

Requirements

Installation

python-veracity can be installed with pip or easy_install:

pip install python-veracity

or directly from source:

python setup.py install

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 Repository, WorkingCopy

# Clone a repo
repo = Repository('veracity', remote='http://public.veracity-scm.com/repos/veracity')

# Check out a working copy (from repo)
work = repo.checkout("v/veracity")

# Check out a working copy (by repo)
work2 = WorkingCopy("v/veracity2", repo='veracity')
work2.update(branch='onveracity')

# TODO: add more examples...

Unit and Integration Tests

To run the unit and integration tests for the veracity package:

python setup.py test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-veracity, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size python-veracity-0.0.1.tar.gz (37.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page