{
"info": {
"author": "Seequent",
"author_email": "it@seequent.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 4 - Beta",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics"
],
"description": "vectormath\n==========\n\n\n.. image:: https://img.shields.io/pypi/v/vectormath.svg\n :target: https://pypi.org/project/vectormath\n :alt: Latest PyPI version\n\n.. image:: https://img.shields.io/badge/license-MIT-blue.svg\n :target: https://github.com/seequent/vectormath/blob/master/LICENSE\n :alt: MIT license\n\n.. image:: https://api.travis-ci.org/seequent/vectormath.svg?branch=master\n :target: https://travis-ci.org/seequent/vectormath\n :alt: Travis CI build status\n\n.. image:: https://codecov.io/gh/seequent/vectormath/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/seequent/vectormath\n :alt: Code test coverage\n\n\nVector math utilities for Python built on `NumPy `_\n\n\nWhy\n---\n\nThe :code:`vectormath` package provides a fast, simple library of vector math\nutilities by leveraging NumPy. This allows explicit\ngeometric constructs to be created (for example, :code:`Vector3` and :code:`Plane`)\nwithout redefining the underlying array math.\n\nScope\n-----\n\nThe :code:`vectormath` package includes :code:`Vector3`/:code:`Vector2` and\n:code:`Vector3Array`/:code:`Vector2Array`.\n\n\nGoals\n-----\n\n* Speed: All low-level operations rely on NumPy arrays. These are densely packed,\n typed, and partially implemented in C. The :code:`VectorArray` classes in particular\n take advantage of this speed by performing vector operations on all Vectors at\n once, rather than in a loop.\n* Simplicty: High-level operations are explicit and straight-forward.\n This library should be usable by Programmers, Mathematicians, and Geologists.\n\n\nAlternatives\n------------\n\n* `NumPy `_ can be used for any array operations\n* Many small libraries on PyPI (e.g. `vectors `_)\n implement vector math operations but are are only built with single vectors\n in mind.\n\nConnections\n-----------\n\n* `properties `_ uses :code:`vectormath`\n as the underlying framework for Vector properties.\n\nInstallation\n------------\n\nTo install the repository, ensure that you have\n`pip installed `_ and run:\n\n.. code::\n\n pip install vectormath\n\nFor the development version:\n\n.. code::\n\n git clone https://github.com/seequent/vectormath.git\n cd vectormath\n pip install -e .\n\n\nExamples\n========\n\nThis example gives a brief demonstration of some of the notable features of\n:code:`Vector3` and :code:`Vector3Array`\n\n.. code:: python\n\n import numpy as np\n import vectormath as vmath\n\n # Single Vectors\n v = vmath.Vector3(5, 0, 0)\n v.normalize()\n print(v) # >> [1, 0, 0]\n print(v.x) # >> 1.0\n\n # VectorArrays are much faster than a for loop over Vectors\n v_array = vmath.Vector3Array([[4, 0, 0], [0, 2, 0], [0, 0, 3]])\n print(v_array.x) # >> [4, 0, 0]\n print(v_array.length) # >> [4, 2, 3]\n print(v_array.normalize()) # >> [[1, 0, 0], [0, 1, 0], [0, 0, 1]]\n\n # Vectors can be accessed individually or in slices\n print(type(v_array[1:])) # >> vectormath.Vector3Array\n print(type(v_array[2])) # >> vectormath.Vector3\n\n # All these classes are just numpy arrays\n print(isinstance(v, np.ndarray)) # >> True\n print(type(v_array[1:, 1:])) # >> numpy.ndarray\n\n\nCurrent version: v0.2.2\n",
"description_content_type": "",
"docs_url": null,
"download_url": "https://github.com/seequent/vectormath",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/seequent/vectormath",
"keywords": "linear algebra",
"license": "MIT License",
"maintainer": "",
"maintainer_email": "",
"name": "vectormath",
"package_url": "https://pypi.org/project/vectormath/",
"platform": "Windows",
"project_url": "https://pypi.org/project/vectormath/",
"project_urls": {
"Download": "https://github.com/seequent/vectormath",
"Homepage": "https://github.com/seequent/vectormath"
},
"release_url": "https://pypi.org/project/vectormath/0.2.2/",
"requires_dist": null,
"requires_python": "",
"summary": "vectormath: vector math utilities for Python",
"version": "0.2.2"
},
"last_serial": 5092820,
"releases": {
"0.0.0": [],
"0.0.1": [
{
"comment_text": "",
"digests": {
"md5": "d189716a6adc73e0b482ec500c72d78d",
"sha256": "a7618ec9c5b9da8a206c690eeb5d2cdbca89cf7053289e38e7a0c21e63f887f1"
},
"downloads": -1,
"filename": "vectormath-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "d189716a6adc73e0b482ec500c72d78d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6631,
"upload_time": "2016-09-26T20:53:21",
"url": "https://files.pythonhosted.org/packages/8f/c0/b48a119dcd8196aa77471bcdcea4f2e6741740461c9decc1d24df2337a9f/vectormath-0.0.1.tar.gz"
}
],
"0.0.2": [
{
"comment_text": "",
"digests": {
"md5": "fb8b9e7e7bb983a679a421c277d36362",
"sha256": "dcf9cd212436d45e008219e3c35772d7f9a478d38b22b248a94f8c404de6fe59"
},
"downloads": -1,
"filename": "vectormath-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "fb8b9e7e7bb983a679a421c277d36362",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6859,
"upload_time": "2016-09-26T21:52:59",
"url": "https://files.pythonhosted.org/packages/7a/b2/96934a77ea4eadec9332f534839247678b24fc25b0442357958920168ca1/vectormath-0.0.2.tar.gz"
}
],
"0.0.3": [
{
"comment_text": "",
"digests": {
"md5": "6894e201f29b514552caab67cf3ce474",
"sha256": "2c5e05c69bdc83a10f37c4c4d67faa5415238930126e8da4848b922dab9352fa"
},
"downloads": -1,
"filename": "vectormath-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "6894e201f29b514552caab67cf3ce474",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7064,
"upload_time": "2016-10-16T19:49:34",
"url": "https://files.pythonhosted.org/packages/4f/0a/23b0038b4038e0d9fde8b74077b1910fa088b68066efd9efa8c9eb32c941/vectormath-0.0.3.tar.gz"
}
],
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "3bf8e8c64031a8436807ee1067b0f716",
"sha256": "1337bf59884d9cf3ec131a181e31b12716fd5ed48fa80daaab5bc63dd7affe99"
},
"downloads": -1,
"filename": "vectormath-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "3bf8e8c64031a8436807ee1067b0f716",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9671,
"upload_time": "2016-10-31T21:22:17",
"url": "https://files.pythonhosted.org/packages/3d/b8/0b0e8b7d978902b6d489c4d3393d7fa340e0bdab35d4b96d2d0e5fdbeee7/vectormath-0.1.0.tar.gz"
}
],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "ae73b740c5e92219605ca64017597501",
"sha256": "1f07388e90cea436dd70579a51666b400c3a7955f9521bdfc0474b4166c60d9d"
},
"downloads": -1,
"filename": "vectormath-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "ae73b740c5e92219605ca64017597501",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5818,
"upload_time": "2016-11-08T16:42:47",
"url": "https://files.pythonhosted.org/packages/7c/e5/b0db30a044a29430afa113bb8d9ae2d0b1a8e5c911b797959a1f1abd46a8/vectormath-0.1.1.tar.gz"
}
],
"0.1.2": [
{
"comment_text": "",
"digests": {
"md5": "e35644ffc258b1526e03e9a4935d6884",
"sha256": "383a558178f0b8851ce17f487f5e0706d2b8ebea3d38c70508bb0e24ce5e790f"
},
"downloads": -1,
"filename": "vectormath-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "e35644ffc258b1526e03e9a4935d6884",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5839,
"upload_time": "2017-07-14T21:33:26",
"url": "https://files.pythonhosted.org/packages/10/10/d6271e24ef3f058d9628a6389d8c69e0fa38ca00a625a0f1c5e0a097487e/vectormath-0.1.2.tar.gz"
}
],
"0.1.4": [
{
"comment_text": "",
"digests": {
"md5": "23d5e65c0ccfece4b47cd20b500f8ac8",
"sha256": "a3c5230c50f941aba2838f776fad11c1ed8c48fb822b3a0224ec15d0d62574da"
},
"downloads": -1,
"filename": "vectormath-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "23d5e65c0ccfece4b47cd20b500f8ac8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6561,
"upload_time": "2017-07-18T18:52:12",
"url": "https://files.pythonhosted.org/packages/bf/0c/58f9a1cba71873af9c3cd7b469806319b0638a3d6cb4fa700f37bc256caa/vectormath-0.1.4.tar.gz"
}
],
"0.2.0": [
{
"comment_text": "",
"digests": {
"md5": "53783f6b1446ac167df59c7a277f4f32",
"sha256": "80142d4c8d6110ba152df8447d8761eaa4c5459244138eb64718666340eefa4a"
},
"downloads": -1,
"filename": "vectormath-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "53783f6b1446ac167df59c7a277f4f32",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6822,
"upload_time": "2018-04-16T07:59:30",
"url": "https://files.pythonhosted.org/packages/c7/44/297304759e6e5076b5fe96cdef1dd7ff6e1c67b1e735a8284ab7f5555712/vectormath-0.2.0.tar.gz"
}
],
"0.2.1": [
{
"comment_text": "",
"digests": {
"md5": "3da83d2ba583a32f639dfe5fe1ea1531",
"sha256": "18afad14d1614c3b880e764a7a5d5928fd5140617803630a6ca45680c597c8f6"
},
"downloads": -1,
"filename": "vectormath-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "3da83d2ba583a32f639dfe5fe1ea1531",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8560,
"upload_time": "2019-01-16T08:53:10",
"url": "https://files.pythonhosted.org/packages/56/38/e80285fbc9dd50397c2eef51ebb7569a8230b5f1e2bec49fd173ea37a3c9/vectormath-0.2.1.tar.gz"
}
],
"0.2.2": [
{
"comment_text": "",
"digests": {
"md5": "cd94f521fa7b5952838bb9ea49273889",
"sha256": "f9f9209d350ec89dc11e2548e0e6397c1b9489c8468eb50ce33788ee4322a7b8"
},
"downloads": -1,
"filename": "vectormath-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "cd94f521fa7b5952838bb9ea49273889",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9205,
"upload_time": "2019-04-03T20:27:15",
"url": "https://files.pythonhosted.org/packages/be/d3/5d49b6e961d87ba4845205509fbd0f2fa39875859ccb5e4778035518b89f/vectormath-0.2.2.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "cd94f521fa7b5952838bb9ea49273889",
"sha256": "f9f9209d350ec89dc11e2548e0e6397c1b9489c8468eb50ce33788ee4322a7b8"
},
"downloads": -1,
"filename": "vectormath-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "cd94f521fa7b5952838bb9ea49273889",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9205,
"upload_time": "2019-04-03T20:27:15",
"url": "https://files.pythonhosted.org/packages/be/d3/5d49b6e961d87ba4845205509fbd0f2fa39875859ccb5e4778035518b89f/vectormath-0.2.2.tar.gz"
}
]
}