Skip to main content

Deploy models into REST endpoints

Project description

vetiver 🏺

Lifecycle: experimental codecov

Vetiver, the oil of tranquility, is used as a stabilizing ingredient in perfumery to preserve more volatile fragrances.

Python parallel to R vetiver package.

Usage

vetiver is used to deploy a trained model to predict from a remote endpoint.

Key features include:

  • Simple: designed to fit into a data scientist's natural workflow
  • Robust: ability to check input data types to minimize type failures in a model
  • Advanced support: easily deploy multiple endpoints to handle pre- and post- processing
  • Based on FastAPI, using OpenAPI

Get Started

pip install vetiver

To begin, initialize a VetiverModel with a trained model and an example of data (usually training data) to built a data prototype.

my_model = VetiverModel(model = linear_reg, ptype_data = train_data)

Next, you can build a model-aware API and run it locally.

my_app = VetiverAPI(my_model)
my_app.run()

To view more, see this repo of examples.

License

Contributing

This project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

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

vetiver-0.1.3.tar.gz (17.5 kB view hashes)

Uploaded Source

Built Distribution

vetiver-0.1.3-py3-none-any.whl (13.1 kB view hashes)

Uploaded Python 3

Supported by

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