8000 GitHub - gardnmi/databricks_snippets
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

gardnmi/databricks_snippets

Repository files navigation


Databricks Snippets

An elastic search site to help you find snippets of code in your databricks notebooks.

UPDATES:

About The Project

Alt Text

An elastic search website built to find code snippets in your databricks instance.

(back to top)

Built With

(back to top)

Prerequisites

Docker must be installed

(back to top)

Installation

  1. Clone the repo

    git clone https://github.com/gardnmi/databricks_snippets
  2. Create a .env file with the below enviromental variables and place it at the top level of the project.

    DATABRICKS_USERNAME = <user_name> # i.e. my.email@company_name.com
    DATABRICKS_PASSWORD =  <password> # i.e. ILoveDogs1
    DATABRICKS_URL = https://<databricks-instance>.com # i.e. https://cust-success.cloud.databricks.com
    DATABRICKS_TOKEN = <token>  # https://docs.databricks.com/dev-tools/api/latest/authentication.html
    DATABRICKS_OID = 5468435218588646 # found in url .databricks.com/?o=5468435218588646

    The file should be saved directly below the root directory

    ├── databricks_snippets
    │   ├── .env
    │   └── app.py
    │   └── ..
  3. Navigate to the project in your shell

    cd databricks_snippets
  4. Run the docker command in your shell

    docker-compose up
  5. Open up your browser and navigate to:

    http://localhost:5000/
    
  6. Before searching you will need to import Notebooks from your Workspace or Repo.

    /Users/mike.gardner@kytheralabs.com
    

    or

    /Repos/mike.gardner@kytheralabs.com
    

    The app uses the workspace api to list the desired notebooks and scrape the command b 5BC7 locks.

    (back to top)

Debug Resources

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0