cheminfo-py / xtbservice

MIT License
4 stars 2 forks source link

xtb-service

This is a webservice built using FastAPI.

Allows to:

Usage

To be usable on Heroku or Dokku, which use PORT environmental variables, you need to either create this environmental variable or put it into an .env file. For local development, the run_docker.sh script uses 8091.

./build_docker # builds the docker image
./run_docker # starts the service

For production, you may want to use Docker compose

docker-compose up

Customization

You have the option to customize the behavior of the app using environment variables:

Acknowledgments

This webservices heavily relies on xtb and ase. If you find this service useful and mention it in a publication, please also cite ase and xtb:

It also uses RDKit and the conformer search proposed by Riniker/Landrum:

You find docs on http://127.0.0.1:$PORT/v1/docs.