{ "info": { "author": "Body Labs, Metabolize, and other contributors", "author_email": "github@paulmelnikow.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Manufacturing", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Artistic Software", "Topic :: Multimedia :: Graphics :: 3D Modeling", "Topic :: Scientific/Engineering :: Mathematics", "Topic :: Scientific/Engineering :: Visualization" ], "description": "vx\n==\n\n[![version](https://img.shields.io/pypi/v/vector_shortcuts.svg?style=flat-square)][pypi]\n[![license](https://img.shields.io/pypi/l/vector_shortcuts.svg?style=flat-square)][pypi]\n[![build](https://img.shields.io/circleci/project/github/lace/vx/master.svg?style=flat-square)][build]\n[![docs build](https://img.shields.io/readthedocs/vx.svg?style=flat-square)][docs build]\n[![code style](https://img.shields.io/badge/code%20style-black-black.svg?style=flat-square)][black]\n\nVector and linear algebra toolbelt for [NumPy][].\n\n[pypi]: https://pypi.org/project/vector_shortcuts/\n[build]: https://circleci.com/gh/lace/vx/tree/master\n[docs build]: https://vx.readthedocs.io/en/latest/\n[black]: https://black.readthedocs.io/en/stable/\n[lace]: https://github.com/metabolize/lace\n[numpy]: https://www.numpy.org/\n\n\nFeatures\n--------\n\n- `normalize` normalizes a vector.\n- `sproj` computes the scalar projection of one vector onto another.\n- `proj` computes the vector projection of one vector onto another.\n- `reject` computes the vector rejection of one vector from another.\n- `reject_axis` zeros or squashes one component of a vector.\n- `magnitude` computes the magnitude of a vector.\n- `angle` computes the unsigned angle between two vectors.\n- `signed_angle` computes the signed angle between two vectors.\n- `almost_zero` tests if a vector is almost the zero vector.\n- `almost_collinear` tests if two vectors are almost collinear.\n- `pad_with_ones` adds a column of ones.\n- `unpad` strips off a column (e.g. of ones).\n- `apply_homogeneous` applies a transformation matrix using homogeneous\n coordinates.\n- Complete documentation: http://vx.readthedocs.io/\n\n\nInstallation\n------------\n\n```sh\npip install numpy vector_shortcuts\n```\n\n\nUsage\n-----\n\n```py\nimport numpy as np\nimport vx\n\nprojected = vx.sproj(np.array([5.0, -3.0, 1.0]), onto=vx.basis.neg_y)\n```\n\n\nContribute\n----------\n\n- Issue Tracker: https://github.com/metabolize/vx/issues\n- Source Code: https://github.com/metabolize/vx\n\nPull requests welcome!\n\n\nSupport\n-------\n\nIf you are having issues, please let us know.\n\n\nAcknowledgements\n----------------\n\nThis collection was developed at Body Labs by [Paul Melnikow][] and extracted\nfrom the Body Labs codebase and open-sourced as part of [blmath][] by [Alex\nWeiss][]. blmath was subsequently [forked][fork] by Paul Melnikow and later\nthis namespace was broken out into its own package.\n\n[paul melnikow]: https://github.com/paulmelnikow\n[blmath]: https://github.com/bodylabs/blmath\n[alex weiss]: https://github.com/algrs\n[fork]: https://github.com/metabolize/blmath\n\n\nLicense\n-------\n\nThe project is licensed under the two-clause BSD license.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/metabolize/vx", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "vector-shortcuts", "package_url": "https://pypi.org/project/vector-shortcuts/", "platform": "", "project_url": "https://pypi.org/project/vector-shortcuts/", "project_urls": { "Documentation": "https://vx.readthedocs.io/en/stable/", "Homepage": "https://github.com/metabolize/vx", "Issue Tracker": "https://github.com/metabolize/vx/issues" }, "release_url": "https://pypi.org/project/vector-shortcuts/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "Vector and linear algebra toolbelt for NumPy", "version": "0.2.1" }, "last_serial": 5731271, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "259997608353a1c3bd11f31fd2f6a9c6", "sha256": "5f7dc2f9d739b402377b4946aa92dfd03ed7298c98269eb647af70ef3b94b080" }, "downloads": -1, "filename": "vector_shortcuts-0.2.1.tar.gz", "has_sig": false, "md5_digest": "259997608353a1c3bd11f31fd2f6a9c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8196, "upload_time": "2019-08-26T14:36:56", "url": "https://files.pythonhosted.org/packages/09/aa/7eabe69f6793ce1cf2b7010ede6b2c65eb403e2dddcabc5124b1daac51e2/vector_shortcuts-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "259997608353a1c3bd11f31fd2f6a9c6", "sha256": "5f7dc2f9d739b402377b4946aa92dfd03ed7298c98269eb647af70ef3b94b080" }, "downloads": -1, "filename": "vector_shortcuts-0.2.1.tar.gz", "has_sig": false, "md5_digest": "259997608353a1c3bd11f31fd2f6a9c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8196, "upload_time": "2019-08-26T14:36:56", "url": "https://files.pythonhosted.org/packages/09/aa/7eabe69f6793ce1cf2b7010ede6b2c65eb403e2dddcabc5124b1daac51e2/vector_shortcuts-0.2.1.tar.gz" } ] }