# Refget
![Run pytests](https://github.com/pepkit/looper/workflows/Run%20pytests/badge.svg)
The refget package provides a Python interface to both remote and local use of the refget protocol.
This package provides clients and functions for both refget sequences and refget sequence collections (seqcol).
Documentation is hosted at [refgenie.org/refget](https://refgenie.org/refget/).
## Testing
### Local unit tests of refget package
- `pytest` to test `refget` package, local unit tests
### Compliance testing
Under `/test_api` are compliance tests for a service implementing the sequence collections API. This will test your collection and comparison endpoints to make sure the comparison function is working.
- `pytest test_api` to tests API compliance
- `pytest test_api --api_root http://127.0.0.1:8100` to customize the API root URL to test
1. Load the fasta files from the `test_fasta` folder into your API database.
2. Run `pytest test_api --api_root <API_URL>`, pointing to your URL to test
For example, this will test my remote server instance:
```
pytest test_api --api_root https://seqcolapi.databio.org
```
Raw data
{
"_id": null,
"home_page": "https://github.com/refgenie/refget",
"name": "refget",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "genome,assembly,bioinformatics,reference,sequence",
"author": "Nathan Sheffield, Michal Stolarczyk",
"author_email": "nathan@code.databio.org",
"download_url": "https://files.pythonhosted.org/packages/4f/fc/de232df186c361d99bb62b08697e80cae8d5a11bbb1e184d7915d6af6462/refget-0.3.0.tar.gz",
"platform": null,
"description": "# Refget\n\n![Run pytests](https://github.com/pepkit/looper/workflows/Run%20pytests/badge.svg)\n\nThe refget package provides a Python interface to both remote and local use of the refget protocol.\n\nThis package provides clients and functions for both refget sequences and refget sequence collections (seqcol).\n\nDocumentation is hosted at [refgenie.org/refget](https://refgenie.org/refget/).\n\n## Testing\n\n### Local unit tests of refget package\n\n- `pytest` to test `refget` package, local unit tests\n\n### Compliance testing \n\nUnder `/test_api` are compliance tests for a service implementing the sequence collections API. This will test your collection and comparison endpoints to make sure the comparison function is working. \n\n- `pytest test_api` to tests API compliance\n- `pytest test_api --api_root http://127.0.0.1:8100` to customize the API root URL to test\n\n1. Load the fasta files from the `test_fasta` folder into your API database.\n2. Run `pytest test_api --api_root <API_URL>`, pointing to your URL to test\n\nFor example, this will test my remote server instance:\n\n```\npytest test_api --api_root https://seqcolapi.databio.org\n```\n",
"bugtrack_url": null,
"license": "BSD2",
"summary": "Python client for refget",
"version": "0.3.0",
"project_urls": {
"Homepage": "https://github.com/refgenie/refget"
},
"split_keywords": [
"genome",
"assembly",
"bioinformatics",
"reference",
"sequence"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ca3033a74e885ec467aa1cec025e95254dbced647f2153504126a98c92ac7bfc",
"md5": "a7f8e2aa3ba3e1191cc9cc24d0d7e55f",
"sha256": "9b41e12fda2de697b02a60ed7c39950921d04b233a7a2df2ea63f38ab93bdbd5"
},
"downloads": -1,
"filename": "refget-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a7f8e2aa3ba3e1191cc9cc24d0d7e55f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 19142,
"upload_time": "2024-02-23T17:24:13",
"upload_time_iso_8601": "2024-02-23T17:24:13.943892Z",
"url": "https://files.pythonhosted.org/packages/ca/30/33a74e885ec467aa1cec025e95254dbced647f2153504126a98c92ac7bfc/refget-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4ffcde232df186c361d99bb62b08697e80cae8d5a11bbb1e184d7915d6af6462",
"md5": "5a8053fab07a89b26b2a1471a0987828",
"sha256": "4ef308748b3e950a080495aa4c9ad06eedbfde534ef1fed1d58ca020ba80b531"
},
"downloads": -1,
"filename": "refget-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "5a8053fab07a89b26b2a1471a0987828",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 17606,
"upload_time": "2024-02-23T17:24:31",
"upload_time_iso_8601": "2024-02-23T17:24:31.224660Z",
"url": "https://files.pythonhosted.org/packages/4f/fc/de232df186c361d99bb62b08697e80cae8d5a11bbb1e184d7915d6af6462/refget-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-23 17:24:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "refgenie",
"github_project": "refget",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "refget"
}