Skip to content

Ready-to-use code snippets for building interactive data applications using Databricks Apps.

License

Notifications You must be signed in to change notification settings

databricks-solutions/databricks-apps-cookbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📖 Databricks Apps Cookbook 🍳

Ready-to-use code snippets for building data and AI applications using Databricks Apps.

Learn more about the Databricks Apps Cookbook on apps-cookbook.dev.

What is the Databricks Apps Cookbook?

  • 10+ recipes for common Apps use cases such as reading and writing to and from tables and volumes, invoking traditional ML models and GenAI, or triggering workflows.
  • Try recipes in the Cookbook app and simply copy a code snippet to build your own.
  • Description of requirements (permissions, resources, dependencies) for each recipe.
  • Deploy to Databricks Apps or run locally.
  • Snippets for both Dash and Streamlit are available.

Databricks Apps Cookbook

Documentation

Find deployment instructions and all code snippets on apps-cookbook.dev.

Contributions

We welcome contributions! Submit a pull request to add or improve recipes. Raise an issue to report a bug or raise a feature request.

Not sure what to contribute? Here are some commonly requested samples:

  • Write data from a form into a Delta table
  • Display coordinates from a Delta table in a map component
  • Display data from a Delta table in Streamlit/Dash-native diagram components
  • Gradio implementation
  • Flask implementation

Support

These samples are experimental and meant for demonstration purposes only. They are provided as-is and without formal support by Databricks. Ensure your organization's security, compliance, and operational best practices are applied before deploying them to production.

License

© 2024 Databricks, Inc. All rights reserved. The source in this notebook is provided subject to the Databricks License [https://databricks.com/db-license-source]. All included or referenced third party libraries are subject to the licenses set forth below.

library description license source
Plotly Graphing library for interactive visualizations MIT GitHub
Dash Framework for building web apps with Plotly MIT GitHub
Streamlit App framework for Machine Learning and Data Apps Apache 2.0 GitHub
FastAPI High-performance API framework based on Starlette MIT GitHub

About

Ready-to-use code snippets for building interactive data applications using Databricks Apps.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published