Metadata-Version: 1.1
Name: importreqs
Version: 0.2.1
Summary: UNKNOWN
Home-page: https://github.com/gstianfu/importreqs
Author: gstianfu
Author-email: UNKNOWN
License: UNKNOWN
Description: importreqs
        ==========
        
        A simple Python lib for extracting reqs.txt from currently imported libs
        in the context. The lib can be used in the following scenarios:
        
        -  Gathering the dependencies for serverless frameworks such as AWS
           Lambda. If several functions share the same virtualenv, unused
           dependecies may be introduced via ``pip freeze``. Use importreqs will
           expose only the reqs imported.
        -  Remove unused dependencies after refactoring, or on a long time
           maintained projects.
        
        Install
        -------
        
        ::
        
            pip install importreqs
        
        Usage
        -----
        
        To use importreqs:
        
        ::
        
            import importreqs
            importreqs.generate_reqs(replace_version_hash=False,
                                     exclude=None)
        
        -  **replace\_version\_hash**: For editable reqs(with -e when using pip
           install), remove the commit hash from result.
        -  **exclude**: Exclude listed packages from the result. For example,
           importreqs itself.
        
        For example:
        
        ::
        
            # import your own projects
            # for example "import app"
        
            import importreqs
        
            print(importreqs.generate_reqs(exclude=['importreqs']))
        
Platform: UNKNOWN
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
