Metadata-Version: 1.1
Name: multipath
Version: 0.0.1
Summary: A miniscule python package for joining and resolving paths against multiple possible directories.A python package for resolving relative paths against multiple root directories
Home-page: https://github.com/adamkewley/multipath
Author: Adam Kewley
Author-email: contact@adamkewley.com
License: Apache License 2.0
Download-URL: https://github.com/adamkewley/multipath/tarball/0.0.1
Description: MultiPath
        =========
        
        A miniscule python package for joining and resolving paths against
        multiple possible directories.
        
        [`documentation <https://adamkewley.github.io/multipath/>`_]
        
        
        Installation
        ------------
        
        To install use pip:
        
            $ pip install multipath
        
        
        Or clone the repo:
        
            $ git clone https://github.com/adamkewley/multipath.git
            $ python setup.py install
        
        
        Example Usage
        -------------
        
        .. code:: python
        
            import multipath
        
            paths = [
                "./",
                "~/.someapp/",
                "etc/someapp/",
            ]
        
            # returns:
            #   './config.yml` if it exists; or,
            #   '~/.someapp/config.yml` if it exists; or,
            #   'etc/someapp/config.yml` if it exists; or,
            #   raises FileNotFoundError
            config = multipath.resolve(paths, "config.yml")
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
