https://github.com/westurner/pkgsetcomp
Compare packages listed in a debian/ubuntu APT .manifest file with installed packages
https://github.com/westurner/pkgsetcomp
apt apt-packages baseline command-line-tool configuration-baseline python-script
Last synced: 5 months ago
JSON representation
Compare packages listed in a debian/ubuntu APT .manifest file with installed packages
- Host: GitHub
- URL: https://github.com/westurner/pkgsetcomp
- Owner: westurner
- License: bsd-3-clause
- Created: 2014-05-21T09:44:13.000Z (about 12 years ago)
- Default Branch: develop
- Last Pushed: 2022-12-26T19:43:47.000Z (over 3 years ago)
- Last Synced: 2025-02-24T19:04:45.187Z (over 1 year ago)
- Topics: apt, apt-packages, baseline, command-line-tool, configuration-baseline, python-script
- Homepage: https://pypi.python.org/pypi/pkgsetcomp
- Size: 211 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
===============================
pkgsetcomp
===============================
`GitHub`_ |
`PyPi`_ |
`Warehouse`_ |
`ReadTheDocs`_ |
`Travis-CI`_
.. image:: https://badge.fury.io/py/pkgsetcomp.png
:target: http://badge.fury.io/py/pkgsetcomp
.. image:: https://travis-ci.org/westurner/pkgsetcomp.png?branch=master
:target: https://travis-ci.org/westurner/pkgsetcomp
.. image:: https://pypip.in/d/pkgsetcomp/badge.png
:target: https://pypi.python.org/pypi/pkgsetcomp
.. _GitHub: https://github.com/westurner/pkgsetcomp
.. _PyPi: https://pypi.python.org/pypi/pkgsetcomp
.. _Warehouse: https://warehouse.python.org/project/pkgsetcomp
.. _ReadTheDocs: https://pkgsetcomp.readthedocs.org/en/latest
.. _Travis-CI: https://travis-ci.org/westurner/pkgsetcomp
pkgsetcomp: compare and generate manifest / installed package reports
Features
==========
* Compare packages listed in a debian/ubuntu APT `manifest file`_ with
currently installed packages
* `optparse`_ argument parsing (``-h``, ``--help``)
* `cookiecutter-pypackage`_ project templating
.. _manifest file: http://releases.ubuntu.com/14.04/ubuntu-14.04-desktop-i386.manifest
.. _optparse: https://docs.python.org/2/library/optparse.html
.. _cookiecutter-pypackage: https://github.com/audreyr/cookiecutter-pypackage
Installing
============
Install from `PyPi`_::
pip install pkgsetcomp
Install from `GitHub`_ as editable (add a ``pkgsetcomp.pth`` in ``site-packages``)::
pip install -e git+https://github.com/westurner/pkgsetcomp#egg=pkgsetcomp
Usage
=========
Print help::
pkgsetcomp --help
Generate reports in the current directory::
pkgsetcomp
Generate a report comparing ``.manifest`` packages with installed packages::
MANIFEST="http://releases.ubuntu.com/14.04/ubuntu-14.04-desktop-amd64.manifest"
pkgsetcomp --manifest="$MANIFEST"
License
========
`BSD Software License
`_