{ "info": { "author": "David Dupre", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", "Topic :: Scientific/Engineering :: Astronomy" ], "description": "# horizons\n\nA python client for the [JPL HORIZONS System](https://ssd.jpl.nasa.gov/?horizons).\n\nThis is an ugly regex fueled API. JPL has a much cleaner [SSD/CNEOS API Service](https://ssd-api.jpl.nasa.gov/) that overlaps with HORIZONS in some places. HORIZONS' orbital element data on \"Major Bodies\" (i.e. planets, moons, and some others) are not available yet in this other collection of APIs. This project only aims to cover those features.\n\nOnly getting position and velocity vectors of major bodies is supported. This project could be extended to pull from other features of HORIZONS, like retrieving orbital elements.\n\n## Usage\n\n```python\nfrom horizons import Horizons\n\nwith Horizons() as h:\n bodies = h.get_major_bodies() # equivalent to 'MB' in HORIZONS\n print(bodies)\n # [\n # ...,\n # horizons.BodyResult(\n # id='301',\n # name='Moon',\n # designation='',\n # other='Luna'\n # ),\n # ...\n # ]\n\n moon_vectors = h.get_vectors('301', center='399')\n print(moon_vectors)\n # horizons.VectorsResult(\n # epoch_jd_tdb=2458642.5,\n # calendar_date_tdb='A.D. 2019-Jun-08 00:00:00.0000',\n # pos_km=(\n # -268370.0664760619,\n # 252047.1714898835,\n # 16377.37006983293\n # ),\n # vel_kmps=(\n # -0.7239795957732902,\n # -0.7759062564667508,\n # 0.08457449888090685\n # )\n # )\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "horizons", "package_url": "https://pypi.org/project/horizons/", "platform": "", "project_url": "https://pypi.org/project/horizons/", "project_urls": null, "release_url": "https://pypi.org/project/horizons/0.2.2/", "requires_dist": null, "requires_python": "", "summary": "JPL HORIZONS System client", "version": "0.2.2" }, "last_serial": 5402316, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "907844ce76c381705917f4ac460ed1ae", "sha256": "3006a1ab62f65b1a73c658afd7cd2c2bd61f4b24ad33f9399ac9752c0903a97f" }, "downloads": -1, "filename": "horizons-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "907844ce76c381705917f4ac460ed1ae", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7157, "upload_time": "2019-06-10T04:50:31", "url": "https://files.pythonhosted.org/packages/42/89/e6b17a61543508808574665d41cfd912f8c9501b49a05e17bfbb23005479/horizons-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2889f1fe62be16356477897503b13023", "sha256": "6ebbca4b4ab098f5e6fdd9f7b2a1334b48681a6ad46cff42b21e3f8564e68f11" }, "downloads": -1, "filename": "horizons-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2889f1fe62be16356477897503b13023", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5371, "upload_time": "2019-06-10T04:50:33", "url": "https://files.pythonhosted.org/packages/b3/93/dceeb2445891b95583cc8765a13a46bab2107de74aa49dff57e159d7f1a3/horizons-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "42a8f0c53d17249c9b7e6766bec02dc8", "sha256": "1171e723be6e903b423a28f115cdda8e66ba5f61359d65049c1650afdc40a295" }, "downloads": -1, "filename": "horizons-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "42a8f0c53d17249c9b7e6766bec02dc8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7158, "upload_time": "2019-06-10T05:19:48", "url": "https://files.pythonhosted.org/packages/9f/f8/2e7bacfe3f15d18cd75985cf66e8383bf3c0c416f9141f081fcf6eb23980/horizons-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cdb9652bdb688fbb3e70c7714c3434a3", "sha256": "e63915860b2b0a4c4e502ff1632159882dab2f103d9b5726f1d9e5ccacee9463" }, "downloads": -1, "filename": "horizons-0.1.1.tar.gz", "has_sig": false, "md5_digest": "cdb9652bdb688fbb3e70c7714c3434a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5375, "upload_time": "2019-06-10T05:19:51", "url": "https://files.pythonhosted.org/packages/6e/e8/263392e5bb1c13fe85b22776cd8ce6d251ab2338d4a71c4f822dbd3df6e7/horizons-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "a04327569a6d835dfec9537e5d565341", "sha256": "73031a381edb49d60d045e20a749333e6d4a0bb1739e14c3a5ce583106d95fa8" }, "downloads": -1, "filename": "horizons-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a04327569a6d835dfec9537e5d565341", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7521, "upload_time": "2019-06-14T19:27:51", "url": "https://files.pythonhosted.org/packages/83/d5/18204da57169ae9f4ba1adf0e2826981fa54d099174fbf29e1f99031a356/horizons-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9fc55e989f0e3067d70638a90a32e260", "sha256": "e2f9dcb51288a192536bffda213a1f004c1e5649a2bd62cec8cc6729b9a42bb4" }, "downloads": -1, "filename": "horizons-0.2.0.tar.gz", "has_sig": false, "md5_digest": "9fc55e989f0e3067d70638a90a32e260", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5722, "upload_time": "2019-06-14T19:27:53", "url": "https://files.pythonhosted.org/packages/aa/7d/d9fbf53a05f09bfa7ad4c6b6170e6fd8990358f8306e72118e1853dcfc45/horizons-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "5f61f60fb781448c9b6f995ff90b5f10", "sha256": "f1e6d9ed0706de69ba769248dd27d4206917396672c306f16bee4a86c0c179e2" }, "downloads": -1, "filename": "horizons-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5f61f60fb781448c9b6f995ff90b5f10", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7573, "upload_time": "2019-06-14T19:54:58", "url": "https://files.pythonhosted.org/packages/71/a4/44af2597c986ce25e0cf877e2c016990d3ae7574347737163bd617279b05/horizons-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "61b7ab8d2d52b412fc4b4985f3772075", "sha256": "1156bf37c9073e77b71d05f7a99d3f698a4d85a43a0203adc6f70aab3db315ae" }, "downloads": -1, "filename": "horizons-0.2.1.tar.gz", "has_sig": false, "md5_digest": "61b7ab8d2d52b412fc4b4985f3772075", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5758, "upload_time": "2019-06-14T19:55:01", "url": "https://files.pythonhosted.org/packages/19/c0/53bd07c2aaa5578cb3eda8d4dcfd18ccab4f98ae1c470ef04bb5a7320161/horizons-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "c651ccf69fc2f0be6e328f8c2836cb5d", "sha256": "9aab770f5bcd226ea35a644038f2a9b3d5646f6bc88427f5d46a80f280330f17" }, "downloads": -1, "filename": "horizons-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "c651ccf69fc2f0be6e328f8c2836cb5d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7680, "upload_time": "2019-06-14T21:55:30", "url": "https://files.pythonhosted.org/packages/d4/3c/e50ddb15e9ab6d865583a75112e18e1b1e805a55018aca45320b4e21768f/horizons-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6d5bdf004105c142b77684522f9a06b2", "sha256": "e8f57981ad6fc68aa55e192e49141092a8284b2ff41dc54a7a1b93785d13f316" }, "downloads": -1, "filename": "horizons-0.2.2.tar.gz", "has_sig": false, "md5_digest": "6d5bdf004105c142b77684522f9a06b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5874, "upload_time": "2019-06-14T21:55:34", "url": "https://files.pythonhosted.org/packages/73/df/f1d615f6d6049b594b5048ef13a31e16f847b021f6b419745a2b18ee9eb7/horizons-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c651ccf69fc2f0be6e328f8c2836cb5d", "sha256": "9aab770f5bcd226ea35a644038f2a9b3d5646f6bc88427f5d46a80f280330f17" }, "downloads": -1, "filename": "horizons-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "c651ccf69fc2f0be6e328f8c2836cb5d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7680, "upload_time": "2019-06-14T21:55:30", "url": "https://files.pythonhosted.org/packages/d4/3c/e50ddb15e9ab6d865583a75112e18e1b1e805a55018aca45320b4e21768f/horizons-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6d5bdf004105c142b77684522f9a06b2", "sha256": "e8f57981ad6fc68aa55e192e49141092a8284b2ff41dc54a7a1b93785d13f316" }, "downloads": -1, "filename": "horizons-0.2.2.tar.gz", "has_sig": false, "md5_digest": "6d5bdf004105c142b77684522f9a06b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5874, "upload_time": "2019-06-14T21:55:34", "url": "https://files.pythonhosted.org/packages/73/df/f1d615f6d6049b594b5048ef13a31e16f847b021f6b419745a2b18ee9eb7/horizons-0.2.2.tar.gz" } ] }