Metadata-Version: 2.1
Name: apt-repo
Version: 0.3
Summary: Python library to query APT repositories
Home-page: https://github.com/brennerm/python-apt-repo
Author: brennerm
Author-email: xamrennerb@gmail.com
License: MIT
Description: # python-apt-repo [![Build Status](https://travis-ci.org/brennerm/python-apt-repo.svg?branch=master)](https://travis-ci.org/brennerm/python-apt-repo)
        Python library to query APT repositories.
        
        ## Example
        
        ```python
        from apt_repo import APTSources, APTRepository
        
        url = 'http://archive.ubuntu.com/ubuntu'
        components = ['main', 'universe', 'multiverse', 'restricted']
        sources = APTSources([
            APTRepository(url, 'xenial', components),
            APTRepository(url, 'xenial-updates', components),
            APTRepository(url, 'xenial-backports', components),
            APTRepository(url, 'xenial-proposed', components)
        ])
        
        print([(package.package, package.version) for package in sources.get_packages_by_name('docker.io')])
        [('docker.io', '1.10.3-0ubuntu6'), ('docker.io', '1.13.1-0ubuntu1~16.04.2'), ('docker.io', '17.03.2-0ubuntu2~16.04.1')]
        ```
        
        ## [API Documentation](https://brennerm.github.io/python-apt-repo/apt_repo/)
        
Platform: UNKNOWN
Description-Content-Type: text/markdown
