Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/niknozhenko/pyptly
A Python wrapper around the Aptly API
https://github.com/niknozhenko/pyptly
aptly debian debian-packages pyptly python ubuntu
Last synced: 6 days ago
JSON representation
A Python wrapper around the Aptly API
- Host: GitHub
- URL: https://github.com/niknozhenko/pyptly
- Owner: niknozhenko
- License: mit
- Created: 2016-08-28T23:48:55.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-11T23:20:05.000Z (over 7 years ago)
- Last Synced: 2024-10-11T16:13:54.256Z (26 days ago)
- Topics: aptly, debian, debian-packages, pyptly, python, ubuntu
- Language: Python
- Size: 251 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/repelista/pyptly.svg?branch=master)](https://travis-ci.org/repelista/pyptly)
[![Coverage Status](https://coveralls.io/repos/github/repelista/pyptly/badge.svg?branch=master)](https://coveralls.io/github/repelista/pyptly?branch=master)
[![PyPI](https://img.shields.io/pypi/v/pyptly.svg)](https://pypi.python.org/pypi/pyptly)# pyptly
This library provides a Python interface to the Aptly API### Dependencies:
- requests >= 2.4.3### Installation:
From PyPI:pip install pyptly
Or you may use git to clone the repository from
Github and install it manually:python setup.py install
To build debian package run:
dpkg-buildpackage -us -uc
### Basic Usage:
import pyptly
from requests.auth import HTTPBasicAuthauth = HTTPBasicAuth('user', 'pass')
api = pyptly.Aptly('http://127.0.0.1:8080', auth=auth)
api.aptly_version
{u'Version': u'0.9.7'}