{ "info": { "author": "Jo\u00e3o Faria", "author_email": "joao.faria@astro.up.pt", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "pyExoplaneteu\n==============\n \nA pure-Python package to download data from the `Extrasolar Planets Encyclopaedia`_\n\nThis small package downloads all the data from the *exoplanet.eu* online catalogue of exoplanets \nand builds a (custom) dictionary with each column. \nIt is a pure-Python package with no extra dependencies (see below).\n\n\n|License MIT| |Travis build| |PyPI version|\n\nHow to use\n----------\n\nInstall it from pip (**pyExoplaneteu** has no extra depencies)\n\n::\n\n pip install pyExoplaneteu\n\nand it's ready to use from Python\n\n.. code:: python\n\n import pyexoplaneteu\n\n\n**pyExoplaneteu** has one simple function, ``get_data()``,\nwhich downloads the data from the online archive and returns it in a dictionary.\n\n.. code:: python\n\n >>> data = pyexoplaneteu.get_data()\n\n.. code::\n\n Downloading exoplanet.eu data\n Saved exoplanet.eu data to $HOME/.pyexoplaneteu/exoplanetEU.csv\n Data in `exoplanetEU.csv` is recent.\n There are 98 columns with 3793 entries each in `exoplanetEU.csv`\n\nwhere ``$HOME`` will be your home directory.\nThe second time you call ``get_data()`` it will check if the data was downloaded recently, \nand only conditionally download it again.\n\n.. code:: python\n\n >>> data = pyexoplaneteu.get_data()\n\n.. code::\n\n Data in `exoplanetEU.csv` is recent.\n There are 98 columns with 3793 entries each in `exoplanetEU.csv`\n\nNow, `data` is (basically) a Python dictionary with the each column as keys.\nBut it has a couple extra methods and properties. For example\n\n.. code:: python\n\n >>> data.size\n 3793\n \nreturns the number of values in each column. The ``columns()`` method\n\n.. code:: python\n\n >>> data.columns()\n ['name', 'planet_status', 'mass', 'mass_error_min', 'mass_error_max',\n 'mass_sini', 'mass_sini_error_min', 'mass_sini_error_max', 'radius',\n 'radius_error_min', 'radius_error_max', 'orbital_period',\n ...\n \nwill print the available columns.\n\nThe columns can be accessed as in a normal dictionary, with \n\n.. code:: python\n\n data['name'] # the name of the planet\n data['mass'] # the mass of the planet\n data['star_radius'] # the radius of the host star\n\n \nAlso, to drop the NaN values in a column (for some columns there will be quite a few)\nwe can use\n\n.. code:: python\n\n data['mass_nonan']\n \n np.isnan(data['mass']).any() # True\n np.isnan(data['mass_nonan']).any() # False\n \n\nwhich allows us to more easily do histograms of the values.\n\nFinnally, the ``.to_numpy(inplace=True)`` method converts all the columns to numpy arrays, \neither in place or not (this is the only function in **pyExoplaneteu** that requires numpy).\n\n\nLicense\n-------\n\nCopyright 2018 Jo\u00e3o Faria.\n\n**pyExoplaneteu** is free software made available under the MIT License. For\ndetails see the LICENSE_ file.\n\n.. _`Extrasolar Planets Encyclopaedia`: http://exoplanet.eu\n.. _License: https://github.com/j-faria/pyExoplanet.eu/blob/master/LICENSE\n.. |License MIT| image:: http://img.shields.io/badge/license-MIT-blue.svg?style=flat\n :target: https://github.com/j-faria/pyExoplanet.eu/blob/master/LICENSE\n.. |Travis build| image:: https://travis-ci.org/j-faria/pyExoplanet.eu.svg?branch=master\n :target: https://travis-ci.org/j-faria/pyExoplanet.eu\n.. |PyPI version| image:: https://badge.fury.io/py/pyExoplaneteu.svg\n :target: https://badge.fury.io/py/pyExoplaneteu", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/j-faria/pyExoplanet.eu", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyExoplaneteu", "package_url": "https://pypi.org/project/pyExoplaneteu/", "platform": "", "project_url": "https://pypi.org/project/pyExoplaneteu/", "project_urls": { "Homepage": "https://github.com/j-faria/pyExoplanet.eu" }, "release_url": "https://pypi.org/project/pyExoplaneteu/1.0.2/", "requires_dist": null, "requires_python": "", "summary": "A pure-Python package to download data from the Extrasolar Planets Encyclopaedia", "version": "1.0.2" }, "last_serial": 5817274, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "935e0c164220262a3cfbb5442d8da8a7", "sha256": "45bb3c8e238ab9ab13315761cdbc05a061122664d589a87e94e003ef10e23d5d" }, "downloads": -1, "filename": "pyExoplaneteu-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "935e0c164220262a3cfbb5442d8da8a7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5290, "upload_time": "2018-06-14T10:47:30", "url": "https://files.pythonhosted.org/packages/6e/44/490e53d61d461ce6ec0ef17227f565c0fb78a2679d7f669508e8d5ccb8aa/pyExoplaneteu-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2d8d430f84bcefc79d3a0a15cfbf1de6", "sha256": "93a659c6f5e8c53b47bc698622bedc98f81dd93ad4151d85254b85b871836cbe" }, "downloads": -1, "filename": "pyExoplaneteu-0.1.tar.gz", "has_sig": false, "md5_digest": "2d8d430f84bcefc79d3a0a15cfbf1de6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3520, "upload_time": "2018-06-14T10:47:32", "url": "https://files.pythonhosted.org/packages/1e/62/f76fd2882da854e73923e2562b6265a158fbca0a1b70507839f173e180e6/pyExoplaneteu-0.1.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "48f8c12d3c890fc6eba79ec3ed3ac54b", "sha256": "aa0b552ab627669463e07948ac0a16ba330764cbb95a94e1eaedae72e24a55a9" }, "downloads": -1, "filename": "pyExoplaneteu-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "48f8c12d3c890fc6eba79ec3ed3ac54b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7762, "upload_time": "2018-06-14T10:47:31", "url": "https://files.pythonhosted.org/packages/8d/db/798da6c4fcb2d976cc9c26de6156d18b4907d25adf596202471981957bc1/pyExoplaneteu-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "059b39d8ecf234980f2daeb1b6d6d836", "sha256": "310436728ddf8583da1d978845c3019ba21a9b42d7b86922262ab8c40b73bded" }, "downloads": -1, "filename": "pyExoplaneteu-1.0.tar.gz", "has_sig": false, "md5_digest": "059b39d8ecf234980f2daeb1b6d6d836", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4975, "upload_time": "2018-06-14T10:47:33", "url": "https://files.pythonhosted.org/packages/96/9c/332e20cabae1260ea93ef1cd39e5b039441979ea579bc60482ff6a77bc8f/pyExoplaneteu-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "bcd95b09df960730046119bcc801223a", "sha256": "1a52b083b21ab16f0e6584d48dfc27922c0b40d8f8bf8970d564af0103acc513" }, "downloads": -1, "filename": "pyExoplaneteu-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bcd95b09df960730046119bcc801223a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7782, "upload_time": "2018-06-14T10:55:04", "url": "https://files.pythonhosted.org/packages/5e/b6/f697595c0620361d9f526052fd9d9339c058708c936aac12b181af4b1e23/pyExoplaneteu-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ad3b3dd7f3a8f81717c9fa93d17726ba", "sha256": "ef72fa9d50fe77150b84d93eb46393f9d427abdc1d3675410fc85b110265fc96" }, "downloads": -1, "filename": "pyExoplaneteu-1.0.1.tar.gz", "has_sig": false, "md5_digest": "ad3b3dd7f3a8f81717c9fa93d17726ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4979, "upload_time": "2018-06-14T10:55:07", "url": "https://files.pythonhosted.org/packages/c7/a2/4c81dc364d9946e0663c2b781f6a4479835d30571d3694e90e7d05db1ddd/pyExoplaneteu-1.0.1.tar.gz" } ], "1.0.1.post1": [ { "comment_text": "", "digests": { "md5": "dd35c61bbccaa5446bf5d14b5d3a3ca3", "sha256": "f401642800f85c10a790c1caa7b2f26d8cc0ff701f706f62d98bfa0437e051fb" }, "downloads": -1, "filename": "pyExoplaneteu-1.0.1.post1-py3-none-any.whl", "has_sig": false, "md5_digest": "dd35c61bbccaa5446bf5d14b5d3a3ca3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7863, "upload_time": "2018-06-14T12:28:14", "url": "https://files.pythonhosted.org/packages/7b/d3/68f4bf33737f7589c1ec2b7f6b94a762c4651ec048e00d23eb940a17ee3e/pyExoplaneteu-1.0.1.post1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5adf63893571d27b5700d8f2cd1042b1", "sha256": "ed1044d5c02429610ccaf5b5d7f8063eb11fa92b36e6d2d87ab8f1b27af69a3b" }, "downloads": -1, "filename": "pyExoplaneteu-1.0.1.post1.tar.gz", "has_sig": false, "md5_digest": "5adf63893571d27b5700d8f2cd1042b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4993, "upload_time": "2018-06-14T12:28:15", "url": "https://files.pythonhosted.org/packages/8f/46/bcb0c8893e21f095a16b23ee0aadd6eb85051f535d09580176a376f413e0/pyExoplaneteu-1.0.1.post1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "f1a5ba746c573501d6a1499bd59d4dbf", "sha256": "35d54d7079b439565e1da622767cc974c4f6765cc9b81939a74e4659ac5f2023" }, "downloads": -1, "filename": "pyExoplaneteu-1.0.2.tar.gz", "has_sig": false, "md5_digest": "f1a5ba746c573501d6a1499bd59d4dbf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4978, "upload_time": "2019-09-11T22:24:16", "url": "https://files.pythonhosted.org/packages/18/1a/199b6a630d0e05950a7e3a9df9231ffbaa73e2b82f05ae6c0025ba373f48/pyExoplaneteu-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f1a5ba746c573501d6a1499bd59d4dbf", "sha256": "35d54d7079b439565e1da622767cc974c4f6765cc9b81939a74e4659ac5f2023" }, "downloads": -1, "filename": "pyExoplaneteu-1.0.2.tar.gz", "has_sig": false, "md5_digest": "f1a5ba746c573501d6a1499bd59d4dbf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4978, "upload_time": "2019-09-11T22:24:16", "url": "https://files.pythonhosted.org/packages/18/1a/199b6a630d0e05950a7e3a9df9231ffbaa73e2b82f05ae6c0025ba373f48/pyExoplaneteu-1.0.2.tar.gz" } ] }