=================
legacyplate query
=================
Description
-----------
legacyplatequery is a legacyplate query tool developed by Shanghai Astronomical Observatory.
It provide a python package like Astroquery.
Installation
------------
You can use pip command to install it:
```shell
pip install legacyplatequery
```
Usage
-----
1. import the package.
```python
import legacyplatequery as lpdata
```
2. Login
```python
user = 'wangweihua'
password = 'xxx'
lpdata.auth(user, password)
```
3. Get the total number of legacy plate
```python
lpdata.get_total_of_plates()
```
4. Get the total number of the stars in the star catalog
```python
lpdata.get_total_of_star_catalog()
```
5. Search the legacy plates with `q3c_radial_query`
```python
ra = 12.0
dec = 12.0
radius = 12
plates = lpdata.get_plates_by_radial_query(ra, dec, radius)
print(plates)
```
6. Search the stars with `q3c_radial_query`
```python
stars = lpdata.get_star_catalog_by_radial_query(ra, dec)
print(stars)
```
=======
History
=======
0.1.0 (2023-04-11)
------------------
* First release on PyPI.
Raw data
{
"_id": null,
"home_page": "https://github.com/wangweihua/legacyplatequery",
"name": "legacyplatequery",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "legacyplatequery",
"author": "Wang Weihua",
"author_email": "wangwh@czu.cn",
"download_url": "https://files.pythonhosted.org/packages/4d/c1/78f4c487efee31de80492e23e5d96a60e5442c4370fe52b599b57ec2de65/legacyplatequery-0.1.3.tar.gz",
"platform": null,
"description": "=================\r\nlegacyplate query\r\n=================\r\n\r\nDescription\r\n-----------\r\nlegacyplatequery is a legacyplate query tool developed by Shanghai Astronomical Observatory. \r\nIt provide a python package like Astroquery.\r\n\r\n\r\nInstallation\r\n------------\r\n\r\nYou can use pip command to install it:\r\n```shell\r\npip install legacyplatequery\r\n```\r\n\r\nUsage\r\n-----\r\n\r\n1. import the package.\r\n\r\n```python\r\nimport legacyplatequery as lpdata\r\n```\r\n\r\n2. Login\r\n\r\n```python\r\nuser = 'wangweihua'\r\npassword = 'xxx'\r\nlpdata.auth(user, password)\r\n```\r\n\r\n3. Get the total number of legacy plate\r\n\r\n```python\r\nlpdata.get_total_of_plates()\r\n```\r\n\r\n4. Get the total number of the stars in the star catalog\r\n\r\n```python\r\nlpdata.get_total_of_star_catalog()\r\n```\r\n\r\n5. Search the legacy plates with `q3c_radial_query`\r\n\r\n```python\r\nra = 12.0\r\ndec = 12.0\r\nradius = 12\r\nplates = lpdata.get_plates_by_radial_query(ra, dec, radius)\r\nprint(plates)\r\n```\r\n\r\n6. Search the stars with `q3c_radial_query`\r\n\r\n```python\r\nstars = lpdata.get_star_catalog_by_radial_query(ra, dec)\r\nprint(stars)\r\n```\r\n\r\n\r\n\r\n\r\n\r\n=======\r\nHistory\r\n=======\r\n\r\n0.1.0 (2023-04-11)\r\n------------------\r\n\r\n* First release on PyPI.\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Legacyplate Data Query",
"version": "0.1.3",
"split_keywords": [
"legacyplatequery"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4dc178f4c487efee31de80492e23e5d96a60e5442c4370fe52b599b57ec2de65",
"md5": "23d356a1ec3e1e8d7f283fd5739f1cce",
"sha256": "f7bd800daff064800f17f5108ac203003feea3b58abdaab780da136608e5689d"
},
"downloads": -1,
"filename": "legacyplatequery-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "23d356a1ec3e1e8d7f283fd5739f1cce",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 13358,
"upload_time": "2023-04-11T15:18:23",
"upload_time_iso_8601": "2023-04-11T15:18:23.610532Z",
"url": "https://files.pythonhosted.org/packages/4d/c1/78f4c487efee31de80492e23e5d96a60e5442c4370fe52b599b57ec2de65/legacyplatequery-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-11 15:18:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "wangweihua",
"github_project": "legacyplatequery",
"lcname": "legacyplatequery"
}