Skip to content

aplbrain/motifstudio_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Motif Studio Client

This is the official Python client for the Motif Studio API, which allows you to query and interact with motif search results from various hosts.

https://motifstudio.bossdb.org

Usage

from motifstudio_client import MotifStudioClient

client = MotifStudioClient()

# List available hosts
hosts = client.list_hosts()
print(hosts)

For more examples, see the docs.

Development

Generating the FastAPI client

To generate the FastAPI client for the Motif Studio API, you can use the openapi-python-client tool. This tool will create a Python client based on the OpenAPI specification provided by the Motif Studio API.

uvx openapi-python-client generate --url https://api.motifstudio.bossdb.org/openapi.json --overwrite --meta setup --output-path ./motifstudio_client/fastapi_client/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages