{ "info": { "author": "Kurt Schwehr", "author_email": "schwehr@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Science/Research", "License :: OSI Approved :: Apache Software License", "Operating System :: Android", "Operating System :: iOS", "Operating System :: POSIX", "Programming Language :: C++", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Communications", "Topic :: Scientific/Engineering :: GIS", "Topic :: Scientific/Engineering :: Information Analysis", "Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator", "Topic :: System :: Networking" ], "description": "============\nIntroduction\n============\n\n.. image:: https://travis-ci.org/schwehr/libais.svg?branch=master\n :target: https://travis-ci.org/schwehr/libais\n\n.. image:: https://scan.coverity.com/projects/5519/badge.svg\n :target: https://scan.coverity.com/projects/5519\n\n.. image:: https://codeclimate.com/github/schwehr/libais/badges/gpa.svg\n :target: https://codeclimate.com/github/schwehr/libais\n\n.. image:: https://badge.fury.io/py/libais.svg\n :target: http://badge.fury.io/py/libais\n\nLibrary for decoding maritime Automatic Identification System messages.\n\nSee Also\n========\n\n`Automatic Identification System `_\n\nOther open source AIS projects:\n\n- `GPSd `_\n- `AisLib `_\n- `noaadata `_\n- `ais-areanotice `_\n- `OpenCPN `_\n- `aisparser `_\n- `nmea_plus `_\n\nBuilding\n========\n\nBuilding with Python\n--------------------\n\n.. code-block:: console\n\n $ python setup.py build\n $ python setup.py install\n\nTesting with Python\n--------------------\n\n.. code-block:: console\n\n $ virtualenv ve\n $ source ve/bin/activate\n $ python setup.py test\n\nBuilding with CMake\n-------------------\n\n.. code-block:: console\n\n $ cmake .\n $ make\n\nBuilding with legacy Makefile\n-----------------------------\n\n.. code-block:: console\n\n $ make -f Makefile-custom test\n\nUsage\n=====\n\nThere are two interfaces to libais, one high-level iterator based one\nand a low-level fast C++ only one. The iterator based interface is\naccessed the following way:\n\n.. code-block:: python\n\n import ais.stream\n with open(\"file.nmea\") as f:\n for msg in ais.stream.decode(f):\n print msg\n\nTo use the low-level C++ interface directly, you need to handle multi-line messages and padding yourself:\n\n.. code-block:: python\n\n import ais\n ais.decode('15PIIv7P00D5i9HNn2Q3G?wB0t0I', 0)\n ais.decode('402u=TiuaA000r5UJ`H4`?7000S:', 0)\n ais.decode('55NBjP01mtGIL@CW;SM`_\n- IMO Circ 236\n- IMO Circ 289\n- EU RIS\n\nDeveloping\n----------\n\nThe C++ code was switched to the Google style in November, 2012.\nIndenting should be by 2 spaces.\n\nhttp://google-styleguide.googlecode.com/svn/trunk/cpplint/\n\n.. code-block:: console\n\n $ git clone https://github.com/schwehr/libais\n $ cd libais\n $ virtualenv ve\n $ source ve/bin/activate\n $ pip install -e .[tests]\n $ python setup.py test\n $ py.test --cov=ais --cov-report term-missing\n\nor\n\n.. code-block:: console\n\n $ git clone https://github.com/schwehr/libais\n $ cd libais\n $ virtualenv ve\n $ source ve/bin/activate\n $ pip install -e .[test]\n $ python setup.py develop\n $ python setup.py test\n $ py.test --cov=ais --cov-report term-missing", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/schwehr/libais", "keywords": "", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "libais", "package_url": "https://pypi.org/project/libais/", "platform": "POSIX", "project_url": "https://pypi.org/project/libais/", "project_urls": { "Homepage": "https://github.com/schwehr/libais" }, "release_url": "https://pypi.org/project/libais/0.17/", "requires_dist": null, "requires_python": "", "summary": "Automatic Identification System decoding - ship tracking", "version": "0.17" }, "last_serial": 3498032, "releases": { "0.10": [ { "comment_text": "", "digests": { "md5": "f8b23437ff4f91c592358352e37eb25d", "sha256": "c8e48d6e2ae8eac890a4f8e4dd32bdf03b4cc058598e20fd6890450978107df8" }, "downloads": -1, "filename": "libais-0.10.tar.bz2", "has_sig": false, "md5_digest": "f8b23437ff4f91c592358352e37eb25d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 771574, "upload_time": "2012-10-29T17:48:44", "url": "https://files.pythonhosted.org/packages/13/68/6c0b5af2ffa21d53afcee55ee035f046a0f53400f5c9c6a12616fa6fd608/libais-0.10.tar.bz2" }, { "comment_text": "", "digests": { "md5": "04c8d16a3622b3364c1eb29d1bdd201e", "sha256": "ad0272cc58decb7269842a1800217a8e056a6befe3447cf1c6bdcf749fdde502" }, "downloads": -1, "filename": "libais-0.10.tar.gz", "has_sig": false, "md5_digest": "04c8d16a3622b3364c1eb29d1bdd201e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1258905, "upload_time": "2012-10-29T17:48:48", "url": "https://files.pythonhosted.org/packages/1c/93/7c43a47b8fa1b74d8824e77dd3f5aed5941580ce1e28295f67c10e88111c/libais-0.10.tar.gz" }, { "comment_text": "", "digests": { "md5": "4c2e916ed1fd9563b2f7842a6507fd54", "sha256": "83db24c8ecb36b9bb67692350ac5756ad429d950dbf9bc4cb38e2909b8cccbf0" }, "downloads": -1, "filename": "libais-0.10.zip", "has_sig": false, "md5_digest": "4c2e916ed1fd9563b2f7842a6507fd54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1285939, "upload_time": "2012-10-29T17:48:49", "url": "https://files.pythonhosted.org/packages/4f/40/8d95274bfd3a382a6c14ba9b31c4b7108652428bfe43f318033fd93948c0/libais-0.10.zip" } ], "0.11": [ { "comment_text": "", "digests": { "md5": "15e3802e1cc3085e09155688e130b32b", "sha256": "aadd6902be1df10f072022b63c0077d4335002b20871dd56c1fa11f463904862" }, "downloads": -1, "filename": "libais-0.11.tar.bz2", "has_sig": false, "md5_digest": "15e3802e1cc3085e09155688e130b32b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 111264, "upload_time": "2012-10-29T17:56:27", "url": "https://files.pythonhosted.org/packages/15/53/9bbaab80882a9417fdb2ff3f2b1152126a85139028705acd0677b3ee469e/libais-0.11.tar.bz2" }, { "comment_text": "", "digests": { "md5": "0cffcffcdf547c020969483520f299f2", "sha256": "6520c64c48b453fabe09c6e4250c178d740a742a992c20b41a38c18eb06ef046" }, "downloads": -1, "filename": "libais-0.11.tar.gz", "has_sig": false, "md5_digest": "0cffcffcdf547c020969483520f299f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 125376, "upload_time": "2012-10-29T17:56:28", "url": "https://files.pythonhosted.org/packages/ce/7c/5bdcd1fa1a71beb12d4318eb67a0417b1bc957d955df34d2d4be33dd9836/libais-0.11.tar.gz" }, { "comment_text": "", "digests": { "md5": "b511e8bbe6942a7c5dc9a9d4bc746ce7", "sha256": "9d04aad24fe3ef4c4375cb2052d4184ff8cd9b0560b22458e23150eaebf41803" }, "downloads": -1, "filename": "libais-0.11.zip", "has_sig": false, "md5_digest": "b511e8bbe6942a7c5dc9a9d4bc746ce7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 148717, "upload_time": "2012-10-29T17:56:29", "url": "https://files.pythonhosted.org/packages/a6/d8/71fe0adf9ad1393261fe720c04b461132b9f01b6cea2533dd0c0b73a664a/libais-0.11.zip" } ], "0.12": [ { "comment_text": "", "digests": { "md5": "ca14fa16880f2d595bf3320335269dd2", "sha256": "f0b5abb8e8e03419c9b985cc36602ec672cdbbcf3430626c057034a85824ec79" }, "downloads": -1, "filename": "libais-0.12.tar.bz2", "has_sig": false, "md5_digest": "ca14fa16880f2d595bf3320335269dd2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 113934, "upload_time": "2012-11-05T21:55:46", "url": "https://files.pythonhosted.org/packages/8f/df/02db1d1ee71b0f4567064fd2c42718044f560eff912d326396f7403414db/libais-0.12.tar.bz2" }, { "comment_text": "", "digests": { "md5": "db11c74f0e53faf13da93ea5d7bbe49d", "sha256": "bde709981920cb72f38e52117825f6d238949db713412320b43e3f67951ff6f2" }, "downloads": -1, "filename": "libais-0.12.tar.gz", "has_sig": false, "md5_digest": "db11c74f0e53faf13da93ea5d7bbe49d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 128147, "upload_time": "2012-11-05T21:55:47", "url": "https://files.pythonhosted.org/packages/c2/2c/feb6e7911958569bb208612a5ad6761827dc35c0e9df5adf980ef7cc3dd4/libais-0.12.tar.gz" }, { "comment_text": "", "digests": { "md5": "af50c8315f8f21897cfbcc8fd806393c", "sha256": "47ec84e814a4e241c315e6f54edfaa2c8109f04130d6a7a6a54ec8719bec2c78" }, "downloads": -1, "filename": "libais-0.12.zip", "has_sig": false, "md5_digest": "af50c8315f8f21897cfbcc8fd806393c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 151398, "upload_time": "2012-11-05T21:55:47", "url": "https://files.pythonhosted.org/packages/c7/60/7780c742d11f3ca908129461d6b51f78e07b813bf939234e33d2d2ba69d9/libais-0.12.zip" } ], "0.13": [ { "comment_text": "", "digests": { "md5": "fece6985caa3e258300f7fb33a3d71b6", "sha256": "5d6974afdb61afa2458b18fa1ad1513004674da2896bee2bb60d7a8365119da2" }, "downloads": -1, "filename": "libais-0.13.tar.bz2", "has_sig": false, "md5_digest": "fece6985caa3e258300f7fb33a3d71b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 111731, "upload_time": "2012-11-18T19:39:20", "url": "https://files.pythonhosted.org/packages/93/e3/d3b7d89321014866c1f25871d95da81e78d0b6c6936da22cbaeeb0542bb6/libais-0.13.tar.bz2" }, { "comment_text": "", "digests": { "md5": "314a3ae240ae172271a74c9193f08f66", "sha256": "8c2638b459e0e1de7c4ad62f5f4f45f053e046022e4bb567caeea2d496009938" }, "downloads": -1, "filename": "libais-0.13.tar.gz", "has_sig": false, "md5_digest": "314a3ae240ae172271a74c9193f08f66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 125803, "upload_time": "2012-11-18T19:39:20", "url": "https://files.pythonhosted.org/packages/f2/ab/2043b7a9bfc7f6e0d1f692df635d7a6ca669aec42f6ca47ad76f4ce1a712/libais-0.13.tar.gz" }, { "comment_text": "", "digests": { "md5": "60e79656f6506ad17432695ae5989fb8", "sha256": "0c8b87a10a49b1acb5e8e9440643ab4aacafe71922d03e5102829c2ea8fdb3ba" }, "downloads": -1, "filename": "libais-0.13.zip", "has_sig": false, "md5_digest": "60e79656f6506ad17432695ae5989fb8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 148939, "upload_time": "2012-11-18T19:39:25", "url": "https://files.pythonhosted.org/packages/0a/46/50c4e97275f84556e3c5b40cb09d94d7d27ad2e2f7d2583f73f3011ade36/libais-0.13.zip" } ], "0.14": [ { "comment_text": "", "digests": { "md5": "2d8437046552a66c48b8852e650fdf59", "sha256": "9cfe3cadeaaf0c3b6ac4b8c136e83a147c4b1cf2f1684522228cd85b0e0ae309" }, "downloads": -1, "filename": "libais-0.14.tar.bz2", "has_sig": false, "md5_digest": "2d8437046552a66c48b8852e650fdf59", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 643071, "upload_time": "2014-04-22T17:18:54", "url": "https://files.pythonhosted.org/packages/63/01/dc555f97f767cd2b9a8ab97e4ba69e1923bc90e0d503047123f189df238b/libais-0.14.tar.bz2" } ], "0.15": [ { "comment_text": "", "digests": { "md5": "7e24f177a507d9bdc3fe0cae4bfe00fc", "sha256": "c9faea6dba18e14a4618991f80ffd953240f5e15926c1b6afa629d075945a1ee" }, "downloads": -1, "filename": "libais-0.15.tar.bz2", "has_sig": false, "md5_digest": "7e24f177a507d9bdc3fe0cae4bfe00fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 118042, "upload_time": "2015-06-16T19:28:50", "url": "https://files.pythonhosted.org/packages/83/2f/9da2b4e04e31ac1202e245c13d669b815a6bf0a7a024c2f43ce09b2d4033/libais-0.15.tar.bz2" } ], "0.16": [ { "comment_text": "", "digests": { "md5": "592ff41a0e209dde1066e5b6ace37aeb", "sha256": "185a7e582637b4c2caa4a65e9c18336a6a7271e6855c631bffda67316681ba91" }, "downloads": -1, "filename": "libais-0.16.tar.bz2", "has_sig": false, "md5_digest": "592ff41a0e209dde1066e5b6ace37aeb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 128708, "upload_time": "2015-11-12T22:47:17", "url": "https://files.pythonhosted.org/packages/63/ca/d7f57a0fe053792852426b5a39d57b2983ae9be6e0de74a73605e610ed66/libais-0.16.tar.bz2" } ], "0.17": [ { "comment_text": "", "digests": { "md5": "915b437b1cc10d63c48f01ded5606baa", "sha256": "eb2aea2298c5e976927d748e4c0d01e1fdda2dc1d792003fdd6059041350d35f" }, "downloads": -1, "filename": "libais-0.17.tar.gz", "has_sig": false, "md5_digest": "915b437b1cc10d63c48f01ded5606baa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 157369, "upload_time": "2018-01-17T18:22:52", "url": "https://files.pythonhosted.org/packages/8c/be/df64b5f1dfa2bc26f7cc4c8483129ef6cdf8683c93789439f67701fb4c26/libais-0.17.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "489dfc7a41d1ed1587428f5d00680901", "sha256": "01e80a011afa986d17a74ddc1b6a1515642a377152cb12c4b01fb25f5e5f7e27" }, "downloads": -1, "filename": "libais-0.7.tar.bz2", "has_sig": false, "md5_digest": "489dfc7a41d1ed1587428f5d00680901", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 411845, "upload_time": "2012-04-30T19:23:52", "url": "https://files.pythonhosted.org/packages/b7/b5/49aab9e13f49c3779e68a844b6c03a15bf43d157d84621ee7155ffb3cfd4/libais-0.7.tar.bz2" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "f412d2ef948ddc6ff4db753b8d517271", "sha256": "2d4e1e0aade66dd568cb76a38dc860227467ca9a2f767c36f2ca6a15cd26a11b" }, "downloads": -1, "filename": "libais-0.8.tar.bz2", "has_sig": false, "md5_digest": "f412d2ef948ddc6ff4db753b8d517271", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 454643, "upload_time": "2012-05-12T22:55:55", "url": "https://files.pythonhosted.org/packages/28/8d/4c14d2fab065a764a9d0fda3d8bc3a8b365e1869571a30f09b15de98f5c7/libais-0.8.tar.bz2" }, { "comment_text": "", "digests": { "md5": "c4d9f66d1113ea07a2ab3514ab103e43", "sha256": "fd46b6e51f9bd46ecb53fcbd7109759e3d00e6e12740eb4d3c1ffa2804458040" }, "downloads": -1, "filename": "libais-0.8.tar.gz", "has_sig": false, "md5_digest": "c4d9f66d1113ea07a2ab3514ab103e43", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 669155, "upload_time": "2012-05-12T22:55:57", "url": "https://files.pythonhosted.org/packages/9e/e8/80a4c01112cadfc01671c2e994042e6472cf368b52caccf4f41b0e950e03/libais-0.8.tar.gz" }, { "comment_text": "", "digests": { "md5": "9aec256f29154c3b7d84dfa757a39b58", "sha256": "a33117484cdfbc440a3d317e772db551aebc9537243e586e3d4babb46f4b2986" }, "downloads": -1, "filename": "libais-0.8.zip", "has_sig": false, "md5_digest": "9aec256f29154c3b7d84dfa757a39b58", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 691368, "upload_time": "2012-05-12T22:56:00", "url": "https://files.pythonhosted.org/packages/2e/83/2c032d86650583fd81cf7b31d13ed8ecf633262abee5f9a930e91d0465d8/libais-0.8.zip" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "3a8eed01b01cf49a78a13ab80af77776", "sha256": "b6742589f5cd5393caa337699ae223b2f063ff6eaeb432753634e35f1b94e9c4" }, "downloads": -1, "filename": "libais-0.9.tar.bz2", "has_sig": false, "md5_digest": "3a8eed01b01cf49a78a13ab80af77776", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 110246, "upload_time": "2012-10-19T20:40:08", "url": "https://files.pythonhosted.org/packages/e7/1a/509e57c7d046329a4747e3f892a6f095bcbebb3d40ef2c1ebe5fefe1e3be/libais-0.9.tar.bz2" }, { "comment_text": "", "digests": { "md5": "71cf19ec42f89dbbe97cafd7bccc9ddf", "sha256": "78c2efa8d317aca53e7ba9bdffea4191cf4bb74e4c8ff82aaf20236d72c7a794" }, "downloads": -1, "filename": "libais-0.9.zip", "has_sig": false, "md5_digest": "71cf19ec42f89dbbe97cafd7bccc9ddf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 148287, "upload_time": "2012-10-19T20:40:10", "url": "https://files.pythonhosted.org/packages/ad/49/38456f77b55363e8fd4eabe9cfa539f609fc4baae562cf006185aff7ef16/libais-0.9.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "915b437b1cc10d63c48f01ded5606baa", "sha256": "eb2aea2298c5e976927d748e4c0d01e1fdda2dc1d792003fdd6059041350d35f" }, "downloads": -1, "filename": "libais-0.17.tar.gz", "has_sig": false, "md5_digest": "915b437b1cc10d63c48f01ded5606baa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 157369, "upload_time": "2018-01-17T18:22:52", "url": "https://files.pythonhosted.org/packages/8c/be/df64b5f1dfa2bc26f7cc4c8483129ef6cdf8683c93789439f67701fb4c26/libais-0.17.tar.gz" } ] }