Metadata-Version: 1.1
Name: lox
Version: 0.2.1
Summary: Threading and Multiprocessing for every project.
Home-page: https://github.com/BrianPugh/lox
Author: Brian Pugh
Author-email: bnp117@gmail.com
License: MIT license
Description: ===
        lox
        ===
        
        
        .. image:: https://img.shields.io/pypi/v/lox.svg
                :target: https://pypi.python.org/pypi/lox
        
        .. image:: https://travis-ci.com/BrianPugh/lox.svg?branch=master
                :target: https://travis-ci.com/BrianPugh/lox
        
        .. image:: https://readthedocs.org/projects/lox/badge/?version=latest
                :target: https://lox.readthedocs.io/en/latest/?badge=latest
                :alt: Documentation Status
        
        
        .. image:: https://pyup.io/repos/github/BrianPugh/lox/shield.svg
             :target: https://pyup.io/repos/github/BrianPugh/lox/
             :alt: Updates
        
        
        Threading made easy.
        
        
        * Free software: MIT license
        * Documentation: https://lox.readthedocs.io.
        
        Installation
        ------------
        
            pip install lox
        
        Features
        --------
        
        * Powerful, intuitive multithreading in just 2 additional lines of code
        
        * Advanced thread synchronization, communication, and resource management tools
        
        Usage
        --------
        
        Easy Multithreading
        ^^^^^^^^^^^^^^^^^^^
        
            >>> import lox
            >>> @lox.pool(3) # Maximum of 3 concurrent threads
            >>> def multiply(a,b):
            >>>    return a*b
            >>> multiply(3,4) # Function works as normal
            12
            >>> xs = [1,2,3,4,5,]
            >>> ys = [6,7,7,8,9,]
            >>> [multiply.scatter(x,y) for x,y in zip(xs,ys)] 
            >>> multiply.gather()
            [ 6, 14, 21, 32, 45 ]
        
        
        
        =======
        History
        =======
        
        0.2.1 (2019-05-25)
        ------------------
        
        * Fix IndexSemaphore context manager
        
        0.2.0 (2019-05-24)
        ------------------
        
        * Added QLock
        
        * Documentation syntax fixes
        
        0.1.1 (2019-05-24)
        ------------------
        
        * CICD test
        
        0.1.0 (2019-05-24)
        ------------------
        
        * First release on PyPI.
        
Keywords: lox
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
