~fredg/ParsePkgtxt

fcf0a952c0eee376a0a933f70da9bc3293fec805 — Fred. Galusik 7 years ago 30ccada
fix contact mail
1 files changed, 51 insertions(+), 0 deletions(-)

A PKG-INFO
A PKG-INFO => PKG-INFO +51 -0
@@ 0,0 1,51 @@
Metadata-Version: 1.1
Name: ParsePkgtxt
Version: 0.1
Summary: Parse a Slackware PACKAGES.TXT and build a dictionnary
Home-page: https://gitlab.com/alienus/ParsePkgtxt
Author: Frédéric Galusik
Author-email: f at galusik.xyz
License: BSD revised
Description: ParsePkgtxt
        ###########
        
        A Python Class to parse a Slackware linux PACKAGES.TXT file in order to build
        a dictionnary with packages names as keys and packages detailed informations
        as values.
        
        You can install it via pip:
        
        .. code-block:: sh
        
            pip install ParsePkgtxt
        
        
        Usage example:
        ==============
        
        .. code-block:: python
        
            >>> from ParsePkgtxt import Package
            >>> for k, v in Package.parse(Package(), 'PACKAGES.TXT').iteritems():
            >>> ....print ';'.join([k,v[0],v[9])
        
        
        Output:
        -------
        
        .. code-block::
        
            package1_name;package1_version;package1_description
            package2_name;package2_version;package2_description
            ...
            ...
        
        
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Utilities