Python wrapper for Vearcity's command-line interface.
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
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
Python 2.7
Veracity 2.5: http://veracity-scm.com
Dependencies
sh: https://pypi.python.org/pypi/sh (Linux only)
pbs: https://pypi.python.org/pypi/pbs (Window only)
virtualenv: https://pypi.python.org/pypi/virtualenv
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file python-veracity-0.0.1.tar.gz.
File metadata
- Download URL: python-veracity-0.0.1.tar.gz
- Upload date:
- Size: 37.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c578ed3dcd4b4e74605b77fa1635a8c06a30e79650a578419008d4022006f43
|
|
| MD5 |
79a24b31eb79ec54dc0d5dee1bcb0ad5
|
|
| BLAKE2b-256 |
efb48234841e49f388bcde3fe726340bed58218376ca0be74dbb5018a92643dd
|