{ "info": { "author": "Laurent Van Acker", "author_email": "laurent@pozyx.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Scientific/Engineering", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Pozyx-Python-library\n====================\nA Python library to work with the pozyx indoor positioning system over USB.\n\nThis library works with both Python 2 and 3.\n\nPrerequisites\n-------------\n* Download and install Python. On Windows, make your life easier and make sure Python is in your PATH. A recommended install is therefore the `Anaconda Suite `_ by Continuum. If you're going to follow the tutorials, you'll need to install Python 3 for the python-osc support.\n* Install the PySerial package. If you have pip installed, you can do this by writing ``pip install pyserial`` in your command line interface (cmd on Windows).\n* **Windows only** install `ST's virtual COM driver `_. After running this installer, please run the correct driver package for your system, located in \"C:\\\\Program Files (x86)\\\\STMicroelectronics\\\\Software\\\\Virtual comport driver\". Choose Win7 if you run Windows 7 or older. Choose Win8 for Windows 8 or newer. Run \"dpinst_amd64.exe\" on a 64-bit system, \"dpinst_x86.exe\"on a 32-bit system.\n\nInstalling this package\n-----------------------\nJust run ``pip install pypozyx``\n\nPyPozyx is now installed. To check whether it is: if you followed all the steps correctly, and know which port your Pozyx is on, the following code should work:\n\n.. code:: python\n\n from pypozyx import PozyxSerial\n port = 'COMX' # on UNIX systems this will be '/dev/ttyACMX'\n p = PozyxSerial(port)\n\n\nIf your port is correct and the serial connection to the Pozyx isn't used by other software, this will run without any errors.\n\nBut! How do I know what port my Pozyx is on?\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n* You can see the COM ports on your system easily using Python with: ``python -c \"from pypozyx import *;list_serial_ports()\"``\n\n* **NEW** You can quickly find whether there's a recognized Pozyx device using: ``python -c \"from pypozyx import *;print(get_first_pozyx_serial_port())\"``\n\n\nDocumentation and examples\n--------------------------\nYou can find the Python tutorials on our site. You probably got here from `the getting started page `_\n\nDocumentation can be found `here `_.\n\n* This was originally a port of the Pozyx's Arduino library, so most of the `Arduino Library Documentation `_ is transformable to this. The major difference is that you don't ever again need to pass along the length of the data you're reading/writing. This is taken care of by the library through the Data and SingleRegister classes like so:\n\n.. code:: python\n\n whoami = SingleRegister()\n pozyx.regRead(POZYX_WHO_AM_I, whoami) # which is pozyx.getWhoAmI(whoami)\n\n* `SingleRegister(value=0, size=1, signed=1)` is basically an instance `Data([0], 'B')`, which functions as a single uint8_t. If you want to make your custom data, for a single register you can adapt the size and signed parameters, and for larger data structures you can use your own data formats. `Data([0]*3, 'BHI')`, for example, creates a structure of 1 uint8_t, uint16_t and uint32_t. Writing and reading data using this example as a parameter will automatically read/write 7 bytes worth of data. To specify your own data formats, check the `struct package documentation for Python 3 `_ or `Python 2 `_.\n\n* A more pythonic library would be nice, but isn't in the works.\n\n\nMore usage examples can be found in the `useful `_ and `tutorials `_ folders of the repository.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/pozyxLabs/Pozyx-Python-library/archive/v1.3.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pozyxLabs/Pozyx-Python-library", "keywords": "pozyx,serial,positioning,localisation", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "pypozyx", "package_url": "https://pypi.org/project/pypozyx/", "platform": "", "project_url": "https://pypi.org/project/pypozyx/", "project_urls": { "Download": "https://github.com/pozyxLabs/Pozyx-Python-library/archive/v1.3.0.tar.gz", "Homepage": "https://github.com/pozyxLabs/Pozyx-Python-library" }, "release_url": "https://pypi.org/project/pypozyx/1.3.0/", "requires_dist": [ "pyserial (>=3.0)" ], "requires_python": "", "summary": "Python library for Pozyx devices", "version": "1.3.0" }, "last_serial": 5332467, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "0b05885d1f30b4a12fb06d0c804e0a4c", "sha256": "e3e85cbc60f5f087d54d6875a84b275c9a7eaa1b9fa78234d973785e43a938b9" }, "downloads": -1, "filename": "pypozyx-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0b05885d1f30b4a12fb06d0c804e0a4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30289, "upload_time": "2017-05-31T13:52:37", "url": "https://files.pythonhosted.org/packages/fd/f0/88c3f4d157151ca18d475a2f8836fefb8bcbbf2d5240a67f388504671a30/pypozyx-1.0.0.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "50fb21d665b329324b8887038e907747", "sha256": "d3f17e1fc9bbee371fa089e720db8cee815a34f8a61b2bc51f1fcb480fdd4b11" }, "downloads": -1, "filename": "pypozyx-1.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "50fb21d665b329324b8887038e907747", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 42271, "upload_time": "2017-12-05T10:57:17", "url": "https://files.pythonhosted.org/packages/0a/0c/a365145363775faa354c58b8dff10ad82f4b635edafdccdfd9268d090116/pypozyx-1.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9b05685e85681efc2f18a733a929d1f6", "sha256": "035df9caf6476ea5e41a7292b80c9c28d1aef7323f4725423a271a6b13e62a1a" }, "downloads": -1, "filename": "pypozyx-1.1.2-py3.6.egg", "has_sig": false, "md5_digest": "9b05685e85681efc2f18a733a929d1f6", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 89254, "upload_time": "2017-12-13T12:54:45", "url": "https://files.pythonhosted.org/packages/93/d8/f14e3e0dce38e6ed27a9c3cc9d595784f671be4a6d0ccd3e22dddcc9ede3/pypozyx-1.1.2-py3.6.egg" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "9857c88e5710f2150518c8fb950054a7", "sha256": "4595414475e978e75f5c593ce8d31f34e4f364bfe25d8505e237cbe514cfa4bd" }, "downloads": -1, "filename": "pypozyx-1.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9857c88e5710f2150518c8fb950054a7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 42327, "upload_time": "2017-12-13T12:54:43", "url": "https://files.pythonhosted.org/packages/d6/a0/f5c73a234fc2ba91dc88a3ec1c1a97ba64c1ca27548935474ae9537ca8be/pypozyx-1.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b09d9739aec6233902f9479e948d7219", "sha256": "e565406cbfa127293b58a626b9d1d824c4bed3937f3b5265e28dba4b554d1de4" }, "downloads": -1, "filename": "pypozyx-1.1.3-py3.6.egg", "has_sig": false, "md5_digest": "b09d9739aec6233902f9479e948d7219", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 89301, "upload_time": "2017-12-13T12:54:46", "url": "https://files.pythonhosted.org/packages/63/c5/108b97a66a26759a24938862c6517c00f4cf4019f2e8ad72a8b0fb109d15/pypozyx-1.1.3-py3.6.egg" } ], "1.1.4": [ { "comment_text": "", "digests": { "md5": "2862854721cdcc120cd5b738929f42e8", "sha256": "b7f472ac51dc392a342d71a4c61bc52db7c0bd58d7ded9ea586a902bd11f48fa" }, "downloads": -1, "filename": "pypozyx-1.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2862854721cdcc120cd5b738929f42e8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 42533, "upload_time": "2018-02-12T13:29:03", "url": "https://files.pythonhosted.org/packages/5b/5f/5cc919c459c1cffdf9995bd8779a4e1f904143909f0e98771366cb36bb72/pypozyx-1.1.4-py2.py3-none-any.whl" } ], "1.1.5": [ { "comment_text": "", "digests": { "md5": "99cd87ed96184436ba66bec1f540a29b", "sha256": "1e6fb5d44fa4b1b0b9b45fb6232067dd32d8ad1b3d4e00687adef862240a05d9" }, "downloads": -1, "filename": "pypozyx-1.1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "99cd87ed96184436ba66bec1f540a29b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 44392, "upload_time": "2018-02-28T11:20:34", "url": "https://files.pythonhosted.org/packages/23/5f/f0dbf800f8a7168c3b2188048d6bb9afc0c92fb9bae5116ecfb2bda38b20/pypozyx-1.1.5-py2.py3-none-any.whl" } ], "1.1.6": [ { "comment_text": "", "digests": { "md5": "5a3d6028a8ceb5c070f6af6756bb8b88", "sha256": "09e78b6d64203c5f43946fb878512d0bb1b9a0ffc2e0684ad28c42dc26403f7c" }, "downloads": -1, "filename": "pypozyx-1.1.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5a3d6028a8ceb5c070f6af6756bb8b88", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 44723, "upload_time": "2018-03-08T11:11:33", "url": "https://files.pythonhosted.org/packages/ec/81/13f8131c93b17875cfb030d8fb844d02ec6c6b5bdf29bfee8ad598337d90/pypozyx-1.1.6-py2.py3-none-any.whl" } ], "1.1.7": [ { "comment_text": "", "digests": { "md5": "4e30774d9f0b2c547ccd0a294802f9fd", "sha256": "eeee25a1fd2b3a001c4baf123c1df17aae71cc2a90702b4d2bb6f498533211e4" }, "downloads": -1, "filename": "pypozyx-1.1.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4e30774d9f0b2c547ccd0a294802f9fd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 44730, "upload_time": "2018-04-19T10:31:02", "url": "https://files.pythonhosted.org/packages/c4/ba/87a089b1a6297598abfc291233127d9170d9d286430dd6a394d16ca22969/pypozyx-1.1.7-py2.py3-none-any.whl" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "0891aeb9985bf003ce92f81b9378fbd2", "sha256": "cd58d703d81bd2ab5d00830f2f4ad0c92500c5bebbdf5c1d44b7eed661aa814a" }, "downloads": -1, "filename": "pypozyx-1.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0891aeb9985bf003ce92f81b9378fbd2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 47738, "upload_time": "2018-05-18T08:32:19", "url": "https://files.pythonhosted.org/packages/6d/dc/23f75c29cb600f2f5c40247d4417228453a70db3833b5e77eb1d239af799/pypozyx-1.2.0-py2.py3-none-any.whl" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "698a6edcab2cd66a43bafe14f6836f9b", "sha256": "14520a07b18a76b2af5caefd0cc25a8dc1fd4f084e28a9e51954a80f5acf0586" }, "downloads": -1, "filename": "pypozyx-1.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "698a6edcab2cd66a43bafe14f6836f9b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 47738, "upload_time": "2018-06-06T16:12:21", "url": "https://files.pythonhosted.org/packages/73/35/86a4441580c88e7a7f5ec07466f2da70872cf6286bf43b44dc2ec21fe9d3/pypozyx-1.2.1-py2.py3-none-any.whl" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "c1a8cb5970940a63716741dada12e75e", "sha256": "90f6b6aed5536d63f3b4b50baf342a6fbb65fac074a0359069e0058410caface" }, "downloads": -1, "filename": "pypozyx-1.2.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c1a8cb5970940a63716741dada12e75e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 48620, "upload_time": "2018-08-30T15:48:55", "url": "https://files.pythonhosted.org/packages/70/08/696e02343bc31464234a52c7334b0269f290ac39f021af202cfd3adf7be5/pypozyx-1.2.2-py2.py3-none-any.whl" } ], "1.2.3": [ { "comment_text": "", "digests": { "md5": "ca0f45aa44c669b9b76e5b9dc3f41186", "sha256": "609ea2af16ed94ae1316dea54e1e50152e7027dbbe17fa7de9f4cb67d37f8043" }, "downloads": -1, "filename": "pypozyx-1.2.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ca0f45aa44c669b9b76e5b9dc3f41186", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 50313, "upload_time": "2018-09-07T08:31:13", "url": "https://files.pythonhosted.org/packages/3b/8d/216980c3dcf37d90fc7a92e6681b51b5319ac38b59d378dd9ca7ee56c8ee/pypozyx-1.2.3-py2.py3-none-any.whl" } ], "1.2.4": [ { "comment_text": "", "digests": { "md5": "3e2fa8e94bd7605b0a83d11277553c60", "sha256": "d69bc9c27d81aed916efc1a61fb6edc54d64af5a9fc8cd894348e4f5f6b00396" }, "downloads": -1, "filename": "pypozyx-1.2.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3e2fa8e94bd7605b0a83d11277553c60", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 50319, "upload_time": "2018-10-19T13:50:51", "url": "https://files.pythonhosted.org/packages/05/0d/6b6be33eb2c5b3bbf241ac1f5c30671e52f0bbdb6d3c51ec1a25da71e5ea/pypozyx-1.2.4-py2.py3-none-any.whl" } ], "1.2.5": [ { "comment_text": "", "digests": { "md5": "90181d7aba42427afb66681b91864e5b", "sha256": "af7c7a16015fc24620c337bd15b3a7c250c07518b3884db8f8c6e0c748e85cf2" }, "downloads": -1, "filename": "pypozyx-1.2.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "90181d7aba42427afb66681b91864e5b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 50437, "upload_time": "2018-12-20T18:17:41", "url": "https://files.pythonhosted.org/packages/5a/49/ca74fafb034abef01682613d4de52a5c8216cd357d861e3e1dd366984f58/pypozyx-1.2.5-py2.py3-none-any.whl" } ], "1.2.6": [ { "comment_text": "", "digests": { "md5": "c4f8c2f35896ea516df37b197290c74b", "sha256": "2ced61539d0e9c1ff249ebc19df73425fdd404475fa319492372ede3ba9c1028" }, "downloads": -1, "filename": "pypozyx-1.2.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c4f8c2f35896ea516df37b197290c74b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 51552, "upload_time": "2019-01-22T14:41:29", "url": "https://files.pythonhosted.org/packages/61/73/c88b873857738122b3d872da6b850f18067cb64ead02fcad3262c6b7cc2d/pypozyx-1.2.6-py2.py3-none-any.whl" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "a60b3cf65cc02190500a763222773aa0", "sha256": "e21ee3e889362cdddb3c6f755414f9db36ed76038b098a2b34e92ceb1f405fb0" }, "downloads": -1, "filename": "pypozyx-1.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a60b3cf65cc02190500a763222773aa0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 51633, "upload_time": "2019-05-29T13:51:32", "url": "https://files.pythonhosted.org/packages/c5/16/fa158485619c2bc737081b597e42d5c5afb3d55a302eb30ecc43de87b648/pypozyx-1.3.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a60b3cf65cc02190500a763222773aa0", "sha256": "e21ee3e889362cdddb3c6f755414f9db36ed76038b098a2b34e92ceb1f405fb0" }, "downloads": -1, "filename": "pypozyx-1.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a60b3cf65cc02190500a763222773aa0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 51633, "upload_time": "2019-05-29T13:51:32", "url": "https://files.pythonhosted.org/packages/c5/16/fa158485619c2bc737081b597e42d5c5afb3d55a302eb30ecc43de87b648/pypozyx-1.3.0-py2.py3-none-any.whl" } ] }