Metadata-Version: 1.1
Name: whichcraft
Version: 0.1.1
Summary: This package provides cross-platform cross-python shutil.which functionality.
Home-page: https://github.com/pydanny/whichcraft
Author: Daniel Roy Greenfeld
Author-email: pydanny@gmail.com
License: BSD
Description: ===============================
        whichcraft
        ===============================
        
        .. image:: https://badge.fury.io/py/whichcraft.png
            :target: http://badge.fury.io/py/whichcraft
        
        .. image:: https://travis-ci.org/pydanny/whichcraft.png?branch=master
                :target: https://travis-ci.org/pydanny/whichcraft
        
        ::
        
            That code in my care
            That sly command-line stare
            That strips my operating system bare
            It's whichcraft
        
        This package provides cross-platform cross-python ``shutil.which`` functionality.
        
        Usage
        =====
        
        On Linux, Mac, Windows for Python 2.6, 2.7, or any of the 3s:
        
        .. code-block:: python
        
            >>> from whichcraft import which
            >>> which('date')
            '/bin/date'
            >>> which('calendar')
            '/bin/calendar'
            >>> which('cookiecutter')
            '/Users/pydanny/.envs/fun/bin/cookiecutter'
            >>> which('a-made-up-name') is None
            True
        
        
        Notes
        =====
        
        This is a shim of the ``shutil.which`` function that's designed to work across
        multiple versions of Python and inside of windows. The code for Python 2.x is
        based on Python 3 code that I extracted from source. I originally did this for
        Cookiecutter_ but pulled it out in order to reduce line count for that project.
        
        .. _Cookiecutter: https://github.com/audreyr/cookiecutter
        
        
        History
        =========
        
        
        0.1.1 (2015-09-09)
        ---------------------
        
        * Added lyrics
        
        0.1.0 (2015-09-09)
        ---------------------
        
        * First release on PyPI.
        
Keywords: whichcraft
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
