{ "info": { "author": "Daniela Ruz", "author_email": "druzmieres@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# alerce\\_xmatch\n\nAPI to cross the information of astronomical catalogs with your local catalog or a pandas DataFrame with the astronomical position (ra, dec).\n\n## Installation\n\n### Dependencies\n\nThis libraries are specify in the `requirements.txt` file:\n\n````shell\ncertifi==2019.3.9\nnumpy==1.16.4\npandas==0.24.2\npython-dateutil==2.8.0\npytz==2019.1\nsix==1.12.0\nwebsocket-client==0.56.0\n````\n\n### Pip installation\n\n````shell\npip install alerce_xmatch\n````\n\n### Manual installation\n\nClone this repo, by executing:\n\n````shell\ngit clone https://github.com/alercebroker/xmatch_client.git\n````\n\nThen, change the current directory to this repo (generally by using `cd xmatch_client`) and execute:\n\n````shell\npython setup.py install\n````\n\n## Usage\n\n### Import lib\n\nThe library is called `alerce_xmatch`. To import to your current script (or jupyter notebook) use:\n\n````python\nimport alerce_xmatch\n````\n\nThe class and method available are:\n\n````python\nfrom alerce_xmatch import Catalog, crossmatch, OutputCols, TargetCatalogs\n````\n\n### Description\n\n#### To crossmatch and create a Catalog\n\nCatalogs object has a DataFrame with the astronomical position (in [ra, dec] format) and optionally an id (generally called oid) and more useful attributes. Also, it has an optional name. To create a Catalog object use:\n\n````python\nmy_catalog = Catalog(df=df, name=name)\n# By default df=None, and name=\"input_catalog\"\n````\n\nWith this catalog you can get the cross information by using the method:\n\n````python\nmy_catalog.crossmatch(, output=OutputCols.BOTH, radec=True)\n````\n\nThe `` parameter are available by importing `alerce_xmatch.TargetCatalogs` and the possibilities are:\n\n````python\nfrom alerce_xmatch import TargetCatalogs\n\n# Available catalogs\nTargetCatalogs.GAIA\nTargetCatalogs.ASASSN\nTargetCatalogs.CRTSNORTH\nTargetCatalogs.CRTSSOUTH\nTargetCatalogs.LINEAR\nTargetCatalogs.TNS\nTargetCatalogs.ZTF\n````\n\nThe other optional parameters are:\n\n##### Output columns:\n\nThe parameter `output`, define the columns on the output DataFrame of the resulting Catalog. This option are `OutputCols` as follow:\n\n````python\nfrom alerce_xmatch import OutputCols\n\nOutputCols.BOTH # Show all the resilting columns\nOutputCols.TARGET # Show the columns of the target catalog (Gaia, Asassn, ZTF, etc...)\nOutputCols.SOURCE # Show the columns of your catalog\n````\n\n##### Show ra, dec coordinates\n\nBy default `radec` is ` True`, which implies that the output DataFrame has the [ra, dec] position. You can hide this attribute (and lose it) setting `radec` to `False`.\n\n#### To crossmatch a DataFrame\n\nIf you want to get and provide just the DataFrame with your info, use the crossmatch method provided as follow:\n\n````python\nimport pandas as pd\nfrom alerce_xmatch import crossmatch, TargetCatalogs, OutputCols\n\nsource_catalog = pd.DataFrame()\n\nresult = crossmatch(source_catalog, TargetCatalogs.ZTF, output=OutputCols.BOTH, radec=True)\n````\n\nHere, the example target catalog is ZTF, and the optional parameters are used with its default value.\n\nThe output type, given a DataFrame, it is a pandas DataFrame. This static method can be used identically providing a Catalog as the `source_catalog` and the output type will be a Catalog object.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/alercebroker/xmatch_client", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "alerce-xmatch", "package_url": "https://pypi.org/project/alerce-xmatch/", "platform": "", "project_url": "https://pypi.org/project/alerce-xmatch/", "project_urls": { "Homepage": "https://github.com/alercebroker/xmatch_client" }, "release_url": "https://pypi.org/project/alerce-xmatch/0.0.10/", "requires_dist": null, "requires_python": ">=3.*", "summary": "Client of the ALeRCE xmatch service", "version": "0.0.10" }, "last_serial": 5695810, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "bff49ea99f677f1eed84d7af6955adca", "sha256": "c86288c143f9e1b1b342aa81ebfddb9ca301554482cf946cb48a92202f61bb15" }, "downloads": -1, "filename": "alerce_xmatch-0.0.1-py2.7.egg", "has_sig": false, "md5_digest": "bff49ea99f677f1eed84d7af6955adca", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 5773, "upload_time": "2019-07-10T15:12:23", "url": "https://files.pythonhosted.org/packages/48/83/ed7e4a93304927e3c03908a3eb9261b9161f527c597b87efefd087dc5bc8/alerce_xmatch-0.0.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "7684830eec85fcbfb22dd79d0ab96b48", "sha256": "8a7da798bf593f0bf29ed69b588dbbf0d4182505d258b426df3585cb6cd9d5dc" }, "downloads": -1, "filename": "alerce_xmatch-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7684830eec85fcbfb22dd79d0ab96b48", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17448, "upload_time": "2019-06-13T16:36:56", "url": "https://files.pythonhosted.org/packages/3a/91/7f460eb8018af72c9b2be44580e030b42d2e62c92a324e94f8afb40c19ec/alerce_xmatch-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "369b50ca5c3704271db502c089b71c3c", "sha256": "61eaef3a5d410ec054638c50485f995cdb4bff78c7e4852c065fbc699cd94a3f" }, "downloads": -1, "filename": "alerce_xmatch-0.0.1.tar.gz", "has_sig": false, "md5_digest": "369b50ca5c3704271db502c089b71c3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3945, "upload_time": "2019-06-13T16:37:00", "url": "https://files.pythonhosted.org/packages/b5/77/38f22ffbcbbafa9ec2c4f979db451a3b8b2760397a1be9af3af21f3cfdb2/alerce_xmatch-0.0.1.tar.gz" } ], "0.0.10": [ { "comment_text": "", "digests": { "md5": "9873d79ab63029644306f76aff197467", "sha256": "fca2064cb96c8293a7391228c8e64d9ee985f483f311f9f2e31400657cb9a0f9" }, "downloads": -1, "filename": "alerce_xmatch-0.0.10.tar.gz", "has_sig": false, "md5_digest": "9873d79ab63029644306f76aff197467", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.*", "size": 4733, "upload_time": "2019-08-18T21:19:09", "url": "https://files.pythonhosted.org/packages/3f/c0/183e68f6fcb5e5ae9755d175a8869d08efc338c3362f77eef6ede96ae821/alerce_xmatch-0.0.10.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "7ee9203bdaa2be607d4f5735cc72458a", "sha256": "8968d4ad897b3d1522244e4554b13931de094947261458eb256ad8f57943a13b" }, "downloads": -1, "filename": "alerce_xmatch-0.0.2-py3.6.egg", "has_sig": false, "md5_digest": "7ee9203bdaa2be607d4f5735cc72458a", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 8144, "upload_time": "2019-06-17T19:40:35", "url": "https://files.pythonhosted.org/packages/7f/fa/d439445b58b68ccfd577b7f4c938bb72fada158c2b1bc7ebbc0f0a89ca91/alerce_xmatch-0.0.2-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "e8dd03144ed0c342e3f3cd8bc5272bbe", "sha256": "ca613a556a60bb2373a1bb27adb472043497065d09910ba64ddc55e1d5e0a54b" }, "downloads": -1, "filename": "alerce_xmatch-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "e8dd03144ed0c342e3f3cd8bc5272bbe", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17445, "upload_time": "2019-06-13T16:53:18", "url": "https://files.pythonhosted.org/packages/96/4e/cbde3cf4b59748d4d465db8f8f769283f2a580d2abb3ba8b889fd52efe47/alerce_xmatch-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ada952a9ad65cebfbca613a1a9336ce2", "sha256": "f4d828011ac7ed9741676a49921ecc350676b9970e6948a4ad24b7814471cc14" }, "downloads": -1, "filename": "alerce_xmatch-0.0.2.tar.gz", "has_sig": false, "md5_digest": "ada952a9ad65cebfbca613a1a9336ce2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3953, "upload_time": "2019-06-13T16:53:19", "url": "https://files.pythonhosted.org/packages/19/92/86bc17b890ab4ca0aa39667a7eacc6cc289a8fde918daf052ab722a7bd96/alerce_xmatch-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "1097cf75eb5aaa4d6f611b09b4c736f1", "sha256": "641807c83a305ee11a12fc37794baa8c851054b54da776c69b3e21bec7b4d9a6" }, "downloads": -1, "filename": "alerce_xmatch-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "1097cf75eb5aaa4d6f611b09b4c736f1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7.*", "size": 17829, "upload_time": "2019-06-17T19:40:32", "url": "https://files.pythonhosted.org/packages/1e/b6/38959ae628599bd3271c6aff6cab26fb745d283951c38c714a400740c688/alerce_xmatch-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "897a4b092c59e9cf3d69a4ef21c0898d", "sha256": "0ba23103832795a3cb91b6f874249ffae444df8aaed7a150925303802a7a4b52" }, "downloads": -1, "filename": "alerce_xmatch-0.0.3.tar.gz", "has_sig": false, "md5_digest": "897a4b092c59e9cf3d69a4ef21c0898d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.*", "size": 4446, "upload_time": "2019-06-17T19:40:36", "url": "https://files.pythonhosted.org/packages/03/05/e7cd93bae24900289efbc5853a78f1e352ff607923c4299006595c67756b/alerce_xmatch-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "03b375f94cad5f41863a8efe5703d767", "sha256": "bb2bdf5e87efe5475cccfa254943a0ed9043a8ac57b128b75487481ebd343af4" }, "downloads": -1, "filename": "alerce_xmatch-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "03b375f94cad5f41863a8efe5703d767", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7.*", "size": 17824, "upload_time": "2019-06-17T19:49:08", "url": "https://files.pythonhosted.org/packages/e0/6b/1dac4268a52b51ae47cbb73f5e2509d6b7938acebf2bed1de245203a477a/alerce_xmatch-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "14a238debfb0f8723dce243c876fa413", "sha256": "32f2931a58320c5771e1bac2feba6c8b4a7e5fc79ca54b96ea8dd8c6bca35649" }, "downloads": -1, "filename": "alerce_xmatch-0.0.4.tar.gz", "has_sig": false, "md5_digest": "14a238debfb0f8723dce243c876fa413", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.*", "size": 4446, "upload_time": "2019-06-17T19:49:09", "url": "https://files.pythonhosted.org/packages/fd/b0/4b15686fb88dbfdf6b17d610415e3ab33707703039762ba6f96565ae6e3d/alerce_xmatch-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "0501c1bee3d81ed51b8286164185795e", "sha256": "3beca282e9686e408660bc3afdc1ecfb71e60814e7c61f5d495a219ed745ee82" }, "downloads": -1, "filename": "alerce_xmatch-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "0501c1bee3d81ed51b8286164185795e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7.*", "size": 17966, "upload_time": "2019-06-17T21:12:24", "url": "https://files.pythonhosted.org/packages/f0/a0/12cbd8ef8b859cef79197acf8c5efcd81a5548ba195e582d651e9ca2f10b/alerce_xmatch-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9d4b115698757afe9914a380e21e26f5", "sha256": "f4f4dbd39fce805e8f8a0939503f1fb0b40db429f65dd8f49d732094f3811942" }, "downloads": -1, "filename": "alerce_xmatch-0.0.5.tar.gz", "has_sig": false, "md5_digest": "9d4b115698757afe9914a380e21e26f5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.*", "size": 4597, "upload_time": "2019-06-17T21:12:26", "url": "https://files.pythonhosted.org/packages/c1/90/11b54d376778858399c0d97177081f3b5b008b031a8f3e6c037789a9574f/alerce_xmatch-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "6685463317e856b97c03fadedfd75bbb", "sha256": "457c8a26ee53ad1893cde48e337bf5a959a2e78bdf3dfd0717fc186caf3f6204" }, "downloads": -1, "filename": "alerce_xmatch-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "6685463317e856b97c03fadedfd75bbb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.*", "size": 19209, "upload_time": "2019-06-20T01:25:00", "url": "https://files.pythonhosted.org/packages/6a/e5/aae4370b58d643b5005922e2110b1b54156ec7bf0919ac1ec7acb2138da1/alerce_xmatch-0.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1c242cbcfe590d3be88159dab2dc7abd", "sha256": "13b6d6d9a6e039f81becc28cce65c049a57a806a996a53833eff5185caf3a17d" }, "downloads": -1, "filename": "alerce_xmatch-0.0.6.tar.gz", "has_sig": false, "md5_digest": "1c242cbcfe590d3be88159dab2dc7abd", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.*", "size": 4791, "upload_time": "2019-06-20T01:25:02", "url": "https://files.pythonhosted.org/packages/cb/ef/4d9f292ef2bee9ea95c2b18709d12803af7edf67b0287a4d4ec99bdf4255/alerce_xmatch-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "10502b108b9d6e3fa20ad044c9c85ce0", "sha256": "559c99d67c79f3d9717e31412edd936ab9bf5182af6a975fea66de2091352cce" }, "downloads": -1, "filename": "alerce_xmatch-0.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "10502b108b9d6e3fa20ad044c9c85ce0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.*", "size": 19187, "upload_time": "2019-06-20T15:48:33", "url": "https://files.pythonhosted.org/packages/09/29/f75d94e65e23bb35debe259e925f009bb89f7cc3f285018337647057f200/alerce_xmatch-0.0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8801b295830d9436edfb01b83afd9eb9", "sha256": "1b4d753dff0ca7ce0ed509884b165fea55019c0369c5739e645be82aad2d742b" }, "downloads": -1, "filename": "alerce_xmatch-0.0.7.tar.gz", "has_sig": false, "md5_digest": "8801b295830d9436edfb01b83afd9eb9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.*", "size": 4749, "upload_time": "2019-06-20T15:48:35", "url": "https://files.pythonhosted.org/packages/08/f3/ececb64678be7fcff6c7d76c33928e8a9fcb5429928cacded884e485c8e5/alerce_xmatch-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "ce0636ca8a65108925fcb232ec6c0a73", "sha256": "eacf1d5e7dc8077723a2d02a94b05fbaa5d62cd23979424e0320eb5c3988f9da" }, "downloads": -1, "filename": "alerce_xmatch-0.0.8.tar.gz", "has_sig": false, "md5_digest": "ce0636ca8a65108925fcb232ec6c0a73", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.*", "size": 4854, "upload_time": "2019-07-10T15:12:24", "url": "https://files.pythonhosted.org/packages/53/9b/d88e57aa9f856bcd24cc0e1b9ea4be9d46cfdd40ad2afb3e3ccc0f4a1633/alerce_xmatch-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "7d387824a2a3b52f663c8228da962687", "sha256": "66a08d2e86df55266d6550809988491d92094f463d39e199bf717b0bfb440771" }, "downloads": -1, "filename": "alerce_xmatch-0.0.9.tar.gz", "has_sig": false, "md5_digest": "7d387824a2a3b52f663c8228da962687", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.*", "size": 4816, "upload_time": "2019-07-10T16:30:16", "url": "https://files.pythonhosted.org/packages/4c/d3/2bd77c7915f0d9ed7389dea539cbb02eab479ecc44523f7f2a14875c2d44/alerce_xmatch-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9873d79ab63029644306f76aff197467", "sha256": "fca2064cb96c8293a7391228c8e64d9ee985f483f311f9f2e31400657cb9a0f9" }, "downloads": -1, "filename": "alerce_xmatch-0.0.10.tar.gz", "has_sig": false, "md5_digest": "9873d79ab63029644306f76aff197467", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.*", "size": 4733, "upload_time": "2019-08-18T21:19:09", "url": "https://files.pythonhosted.org/packages/3f/c0/183e68f6fcb5e5ae9755d175a8869d08efc338c3362f77eef6ede96ae821/alerce_xmatch-0.0.10.tar.gz" } ] }