Skip to main content

Python client for refget

Project description

Refget

Run pytests

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.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

refget-0.3.0.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

refget-0.3.0-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file refget-0.3.0.tar.gz.

File metadata

  • Download URL: refget-0.3.0.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for refget-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4ef308748b3e950a080495aa4c9ad06eedbfde534ef1fed1d58ca020ba80b531
MD5 5a8053fab07a89b26b2a1471a0987828
BLAKE2b-256 4ffcde232df186c361d99bb62b08697e80cae8d5a11bbb1e184d7915d6af6462

See more details on using hashes here.

File details

Details for the file refget-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: refget-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for refget-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9b41e12fda2de697b02a60ed7c39950921d04b233a7a2df2ea63f38ab93bdbd5
MD5 a7f8e2aa3ba3e1191cc9cc24d0d7e55f
BLAKE2b-256 ca3033a74e885ec467aa1cec025e95254dbced647f2153504126a98c92ac7bfc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page