{ "info": { "author": "Goutte", "author_email": "antoine@goutenoir.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "Sparse Vector\n=============\n\nA *sparse vector* is a 1D numerical list where most (say, more than 95%\nof) values will be ``0`` (or some other default) and for reasons of\nmemory efficiency you don't wish to store these. (cf. `Sparse\narray `__)\n\nThis implementation has a similar interface to Python's 1D\n``numpy.ndarray`` but stores the values and indices in linked lists to\npreserve memory.\n\n``sparse_vector`` is for numerical data only, if you want any type of\ndata, have a look at\n`sparse\\_list `__, the parent\nlibrary, a dictionary-of-keys implementation of a sparse list in python.\n\nIf you need 2D matrices, have a look at ``scipy.sparse``, they also have\na linked lists implementation, ``lil_matrix``.\n\nInstallation\n------------\n\nAvailable on `the\ncheeseshop `__.\n\nInstallation is simply:\n\n.. code:: bash\n\n $ pip install sparse_vector\n\nUsage\n-----\n\nSee the\n`unit-tests `__!\n\nContributing\n------------\n\n1. Fork it\n2. Create your feature branch (``git checkout -b my-new-feature``)\n3. Commit your changes (``git commit -am 'Add some feature'``)\n4. Ensure the tests pass for all Pythons in\n ``.travis.yml ``\\ \\_\\_\n5. Push to the branch (``git push origin my-new-feature``)\n6. Create new Pull Request\n\nThanks\n------\n\n- `johnsyweb `__ for the original\n ``sparse_list``.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/Goutte/python_sparse_vector/tarball/0.4", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Goutte/python_sparse_vector", "keywords": "sparse,vector,list,container,iterable", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "sparse_vector", "package_url": "https://pypi.org/project/sparse_vector/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/sparse_vector/", "project_urls": { "Download": "https://github.com/Goutte/python_sparse_vector/tarball/0.4", "Homepage": "https://github.com/Goutte/python_sparse_vector" }, "release_url": "https://pypi.org/project/sparse_vector/0.4/", "requires_dist": null, "requires_python": null, "summary": "A sparse vector in pure python, based on numpy.", "version": "0.4" }, "last_serial": 2121956, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "756b91470752a363d5d802f91811633b", "sha256": "8d24b02703a406913af28ea61af30068e99ce8295063ed0bac988adb260ba122" }, "downloads": -1, "filename": "sparse_vector-0.1.tar.gz", "has_sig": false, "md5_digest": "756b91470752a363d5d802f91811633b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4163, "upload_time": "2016-05-18T13:44:50", "url": "https://files.pythonhosted.org/packages/63/44/92b58f1054058efdd26e1160ac6a3b927c38b7dbb6d470dfe1bdafd92525/sparse_vector-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "75ca2c1a1d9e57ce4d85c017b3512eab", "sha256": "a7745cdeb620f1c243ab58436f1e5e876241bc174a86dae980cad3647c17d16a" }, "downloads": -1, "filename": "sparse_vector-0.2.tar.gz", "has_sig": false, "md5_digest": "75ca2c1a1d9e57ce4d85c017b3512eab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4329, "upload_time": "2016-05-18T14:08:15", "url": "https://files.pythonhosted.org/packages/c3/02/28d35dca3f4b9bce88586a3546ac48ad2db67d4e27612bef807363163a1e/sparse_vector-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "33115faa46601ae37fee48628af95cac", "sha256": "de75c0d178fd87ac33836647002c0f17768b5ef8d6d6998eee86a49dddef82ae" }, "downloads": -1, "filename": "sparse_vector-0.3.tar.gz", "has_sig": false, "md5_digest": "33115faa46601ae37fee48628af95cac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4333, "upload_time": "2016-05-18T15:19:28", "url": "https://files.pythonhosted.org/packages/4b/e0/fe61c265f0a2fa30ca8efa65862c11848ae3a86fa12d150d5b3955b6eb20/sparse_vector-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "dbb76f5a235ae6c9ad98b35ee005fa0c", "sha256": "a9f2667f0ab3347c13acc5e51f91426b42a729107863a5923f4e9ac6fba088a2" }, "downloads": -1, "filename": "sparse_vector-0.4.tar.gz", "has_sig": false, "md5_digest": "dbb76f5a235ae6c9ad98b35ee005fa0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4638, "upload_time": "2016-05-18T15:22:31", "url": "https://files.pythonhosted.org/packages/67/51/944657e79f36bd4bf7e259f4649e695e6d867ae14192f939bab5519760e2/sparse_vector-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dbb76f5a235ae6c9ad98b35ee005fa0c", "sha256": "a9f2667f0ab3347c13acc5e51f91426b42a729107863a5923f4e9ac6fba088a2" }, "downloads": -1, "filename": "sparse_vector-0.4.tar.gz", "has_sig": false, "md5_digest": "dbb76f5a235ae6c9ad98b35ee005fa0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4638, "upload_time": "2016-05-18T15:22:31", "url": "https://files.pythonhosted.org/packages/67/51/944657e79f36bd4bf7e259f4649e695e6d867ae14192f939bab5519760e2/sparse_vector-0.4.tar.gz" } ] }