معرفی شرکت ها


alerce-1.2.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

ALeRCE Client
ویژگی مقدار
سیستم عامل -
نام فایل alerce-1.2.0
نام alerce
نسخه کتابخانه 1.2.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده ALeRCE Team
ایمیل نویسنده contact@alerce.online
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/alerce/
مجوز -
![image](https://github.com/alercebroker/alerce_client_new/workflows/Tests/badge.svg)![image](https://codecov.io/gh/alercebroker/alerce_client_new/branch/master/graph/badge.svg?token=ZUHW7C308N)![image](https://readthedocs.org/projects/alerce/badge/?version=latest) Welcome to ALeRCE Python Client. ================================ [ALeRCE](http://alerce.science) client is a Python library to interact with ALeRCE services and databases. For full documentation please visit the official [Documentation](https://alerce.readthedocs.io/en/latest/): Installing ALeRCE Client ======================== ``` {.sourceCode .bash} pip install alerce ``` Or clone the repository and install from there ``` {.sourceCode .bash} git clone https://github.com/alercebroker/alerce_client.git cd alerce_client python setup.py install ``` Usage ===== ``` {.sourceCode .python} from alerce.core import Alerce alerce = Alerce() dataframe = alerce.query_objects( classifier="lc_classifier", class_name="LPV", format="pandas" ) detections = alerce.query_detections("ZTF20aaelulu", format="pandas", sort="mjd") magstats = alerce.query_magstats("ZTF20aaelulu") query=''' SELECT oid, sgmag1, srmag1, simag1, szmag1, sgscore1 FROM ps1_ztf WHERE oid = 'ZTF20aaelulu' ''' detections_direct = alerce.send_query(query, format="pandas") ``` Configuration ============= By default the Alerce object should be ready to use without any external configuration, but in case you need to adjust any parameters then you can configure the Alerce object in different ways. At the client object initialization ----------------------------------- You can pass parameters to the Alerce class constructor to set the parameters for API connection. For example using the ZTF API on localhost:5000 and the DB API on localhost:5050 ``` {.sourceCode .python} alerce = Alerce(ZTF_API_URL="<http://localhost:5000>", ZTF_DB_API_URL="<http://localhost:5050>") ``` From a dictionary object ------------------------ You can pass parameters to the Alerce class from a dictionary object. ``` {.sourceCode .python} my_config = { "ZTF_API_URL": "http://localhost:5000" "ZTF_DB_API_URL": "http://localhost:5050" } alerce = Alerce() alerce.load_config_from_object(my_config) ```


نیازمندی

مقدار نام
>=1.1.2 pandas
>=4.0.1 astropy
>=2.24.0 requests


نحوه نصب


نصب پکیج whl alerce-1.2.0:

    pip install alerce-1.2.0.whl


نصب پکیج tar.gz alerce-1.2.0:

    pip install alerce-1.2.0.tar.gz