R2DT API Client
Project description
R2DT API Client
Features
- TODO
Requirements
- Python 3.9+
- [pdm] 2.0.0+
Installation
You can install R2DT API Client via [pip] from [PyPI]:
$ pip install r2dt-client
Usage
Example usage in the code:
from time import sleep
from r2dt_client import setup, submit, update_status_for, fetch_results_for
setup(email="YOUR_EMAIL")
job = submit(
">S box leader))\nCTCTTATCGAGAGTTGGGCGAGGGATTTGGCCTTTTGACCCCAAAAGCAACCGACCGTAATTCCATTGTGAAATGGGGCGCATTTTTTTCGCGCCGAGACGCTGGTCTCTTAAGGCACGGTGCTAATTCCATTCAGATCTGATCTGAGAGATAAGAG")
while not job.done:
update_status_for(job)
sleep(5)
fetch_results_for(job)
print(job.results['fasta'])
Using the widget via Jupyter Notebook:
!pip install r2dt_client[widget]
from r2dt_client import setup, draw
setup(email="YOUR_EMAIL")
draw(
">S box leader))\nCTCTTATCGAGAGTTGGGCGAGGGATTTGGCCTTTTGACCCCAAAAGCAACCGACCGTAATTCCATTGTGAAATGGGGCGCATTTTTTTCGCGCCGAGACGCTGGTCTCTTAAGGCACGGTGCTAATTCCATTCAGATCTGATCTGAGAGATAAGAG")
Contributing
Contributions are very welcome. To learn more, see the [Contributor Guide].
License
Distributed under the terms of the [MIT license][license], R2DT API Client is free and open source software.
Issues
If you encounter any problems, please [file an issue] along with a detailed description.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
r2dt_client-0.1.8.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for r2dt_client-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13257117e19f395e07c90b40c441f20b6cd0ff5f8e4f2dd2d5c5188bf4a4c992 |
|
MD5 | 7ba60c8a7fed5be5c7700dee1b2e0995 |
|
BLAKE2b-256 | 1c3d12ea4550b43a2b3596f6bfaf11e03d9c63fbf2f615dc1de22e875fa9165d |