Metadata-Version: 1.1
Name: sparse_vector
Version: 0.4
Summary: A sparse vector in pure python, based on numpy.
Home-page: https://github.com/Goutte/python_sparse_vector
Author: Goutte
Author-email: antoine@goutenoir.com
License: MIT
Download-URL: https://github.com/Goutte/python_sparse_vector/tarball/0.4
Description: Sparse Vector
        =============
        
        A *sparse vector* is a 1D numerical list where most (say, more than 95%
        of) values will be ``0`` (or some other default) and for reasons of
        memory efficiency you don't wish to store these. (cf. `Sparse
        array <http://en.wikipedia.org/wiki/Sparse_array>`__)
        
        This implementation has a similar interface to Python's 1D
        ``numpy.ndarray`` but stores the values and indices in linked lists to
        preserve memory.
        
        ``sparse_vector`` is for numerical data only, if you want any type of
        data, have a look at
        `sparse\_list <https://pypi.python.org/pypi/sparse_list>`__, the parent
        library, a dictionary-of-keys implementation of a sparse list in python.
        
        If you need 2D matrices, have a look at ``scipy.sparse``, they also have
        a linked lists implementation, ``lil_matrix``.
        
        Installation
        ------------
        
        Available on `the
        cheeseshop <https://pypi.python.org/pypi/sparse_vector>`__.
        
        Installation is simply:
        
        .. code:: bash
        
            $ pip install sparse_vector
        
        Usage
        -----
        
        See the
        `unit-tests <https://github.com/Goutte/python_sparse_vector/blob/master/test_sparse_vector.py>`__!
        
        Contributing
        ------------
        
        1. Fork it
        2. Create your feature branch (``git checkout -b my-new-feature``)
        3. Commit your changes (``git commit -am 'Add some feature'``)
        4. Ensure the tests pass for all Pythons in
           ``.travis.yml <https://github.com/johnsyweb/python_sparse_vector/blob/master/.travis.yml>``\ \_\_
        5. Push to the branch (``git push origin my-new-feature``)
        6. Create new Pull Request
        
        Thanks
        ------
        
        -  `johnsyweb <http://johnsy.com/about/>`__ for the original
           ``sparse_list``.
        
Keywords: sparse,vector,list,container,iterable
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
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 :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
