# DQSEGDB2
[![PyPI version](https://badge.fury.io/py/dqsegdb2.svg)](http://badge.fury.io/py/dqsegdb2)
[![Conda version](https://img.shields.io/conda/vn/conda-forge/dqsegdb2.svg)](https://anaconda.org/conda-forge/dqsegdb2/)
[![License](https://img.shields.io/pypi/l/dqsegdb2.svg)](https://choosealicense.com/licenses/gpl-3.0/)
[![DOI](https://zenodo.org/badge/136390328.svg)](https://zenodo.org/badge/latestdoi/136390328)
![Supported Python versions](https://img.shields.io/pypi/pyversions/dqsegdb2.svg)
[![Build status](https://git.ligo.org/duncanmmacleod/dqsegdb2/badges/main/pipeline.svg)](https://git.ligo.org/duncanmmacleod/dqsegdb2/-/pipelines)
![Code coverage](https://git.ligo.org/duncanmmacleod/dqsegdb2/badges/main/coverage.svg)
[![Documentation status](https://readthedocs.org/projects/dqsegdb2/badge/?version=latest)](https://dqsegdb2.readthedocs.io/en/latest/?badge=latest)
DQSEGDB2 is a simplified Python implementation of the DQSEGDB API as defined in
[LIGO-T1300625](https://dcc.ligo.org/LIGO-T1300625).
This package only provides a query interface for `GET` requests, any users
wishing to make `POST` requests should refer to the official `dqsegdb` Python
client available from <https://github.com/ligovirgo/dqsegdb/>.
## Installation
For best results, please install from [conda-forge](https://conda-forge.org/):
```shell
conda install -c conda-forge dqsegdb2
```
On Unix systems, you can also install directly from PyPI:
```shell
pip install dqsegdb2
```
## Basic Usage
```python
from dqsegdb2.query import query_segments
print(query_segments('G1:GEO-SCIENCE:1', 1000000000, 1000001000))
```
Raw data
{
"_id": null,
"home_page": "https://pypi.org/project/dqsegdb2/",
"name": "dqsegdb2",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Duncan Macleod",
"author_email": "duncan.macleod@ligo.org",
"download_url": "https://files.pythonhosted.org/packages/5d/aa/b4bb24735f0b4f167b7ce3f68ec3d6682cd49ea90130b73b98c544774372/dqsegdb2-1.2.1.tar.gz",
"platform": null,
"description": "# DQSEGDB2\n\n[![PyPI version](https://badge.fury.io/py/dqsegdb2.svg)](http://badge.fury.io/py/dqsegdb2)\n[![Conda version](https://img.shields.io/conda/vn/conda-forge/dqsegdb2.svg)](https://anaconda.org/conda-forge/dqsegdb2/)\n[![License](https://img.shields.io/pypi/l/dqsegdb2.svg)](https://choosealicense.com/licenses/gpl-3.0/)\n[![DOI](https://zenodo.org/badge/136390328.svg)](https://zenodo.org/badge/latestdoi/136390328)\n![Supported Python versions](https://img.shields.io/pypi/pyversions/dqsegdb2.svg)\n\n[![Build status](https://git.ligo.org/duncanmmacleod/dqsegdb2/badges/main/pipeline.svg)](https://git.ligo.org/duncanmmacleod/dqsegdb2/-/pipelines)\n![Code coverage](https://git.ligo.org/duncanmmacleod/dqsegdb2/badges/main/coverage.svg)\n[![Documentation status](https://readthedocs.org/projects/dqsegdb2/badge/?version=latest)](https://dqsegdb2.readthedocs.io/en/latest/?badge=latest)\n\nDQSEGDB2 is a simplified Python implementation of the DQSEGDB API as defined in\n[LIGO-T1300625](https://dcc.ligo.org/LIGO-T1300625).\n\nThis package only provides a query interface for `GET` requests, any users\nwishing to make `POST` requests should refer to the official `dqsegdb` Python\nclient available from <https://github.com/ligovirgo/dqsegdb/>.\n\n## Installation\n\nFor best results, please install from [conda-forge](https://conda-forge.org/):\n\n```shell\nconda install -c conda-forge dqsegdb2\n```\n\nOn Unix systems, you can also install directly from PyPI:\n\n```shell\npip install dqsegdb2\n```\n\n## Basic Usage\n\n```python\nfrom dqsegdb2.query import query_segments\nprint(query_segments('G1:GEO-SCIENCE:1', 1000000000, 1000001000))\n```\n",
"bugtrack_url": null,
"license": "GPL-3.0-or-later",
"summary": "Simplified python interface to DQSEGDB",
"version": "1.2.1",
"project_urls": {
"Bug Tracker": "https://git.ligo.org/duncanmmacleod/dqsegdb2/-/issues",
"Documentation": "https://dqsegdb2.readthedocs.io",
"Homepage": "https://pypi.org/project/dqsegdb2/",
"Source Code": "https://git.ligo.org/duncanmmacleod/dqsegdb2.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ab7e097ec2c8da84074bafae6ceca298b638eacf82510484b0d03ea7c8f182a2",
"md5": "082b0b24b0904495ea780cad53d4a9cc",
"sha256": "4a6eb2ad66bcd596f7eebd18229674b3ae262a54480c75ac135755b0a5e8f783"
},
"downloads": -1,
"filename": "dqsegdb2-1.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "082b0b24b0904495ea780cad53d4a9cc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 25089,
"upload_time": "2023-08-25T09:07:42",
"upload_time_iso_8601": "2023-08-25T09:07:42.208410Z",
"url": "https://files.pythonhosted.org/packages/ab/7e/097ec2c8da84074bafae6ceca298b638eacf82510484b0d03ea7c8f182a2/dqsegdb2-1.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5daab4bb24735f0b4f167b7ce3f68ec3d6682cd49ea90130b73b98c544774372",
"md5": "5e84123be4148b9976c93f6de374f19a",
"sha256": "6a222dbb7024de6de845ba5ad3583859cecf8ed5ce584ff5db6f01581b821f81"
},
"downloads": -1,
"filename": "dqsegdb2-1.2.1.tar.gz",
"has_sig": false,
"md5_digest": "5e84123be4148b9976c93f6de374f19a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 35041,
"upload_time": "2023-08-25T09:07:44",
"upload_time_iso_8601": "2023-08-25T09:07:44.446862Z",
"url": "https://files.pythonhosted.org/packages/5d/aa/b4bb24735f0b4f167b7ce3f68ec3d6682cd49ea90130b73b98c544774372/dqsegdb2-1.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-25 09:07:44",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "dqsegdb2"
}