DIPConnect is a Python utility designed to simplify the process of authenticating with Databricks APIs using OAuth2. It encapsulates the complexity of Databricks CLI authentication, providing data scientists and developers an effortless way to establish a connection with Databricks services. With just a single connect()
command, users can authenticate and start utilizing Databricks APIs for their data engineering and analysis tasks.
- 🔒 Easy-to-use interface for Databricks OAuth2 authentication.
- 🌐 Wraps the Databricks CLI logic for seamless interaction.
- 👤 Allows authentication using just a profile name.
- 💡 Designed specifically for data scientists and developers with minimal setup.
Before you begin, ensure you have met the following requirements:
- 🐍 Python 3.x installed on your machine.
- 🛠 Access to Databricks workspace and the ability to generate OAuth tokens.
To install DatabricksAuth, follow these steps:
- Clone the repository:
git clone [Your Repository URL] cd DIPConnect pip install -e .
Check out the examples/ directory for end-to-end examples demonstrating how to use DatabricksAuth in various scenarios.
Contributions to DatabricksAuth are welcome and appreciated. If you have suggestions for improvement or want to contribute to the code, please feel free to fork the repository and submit a pull request.
MIT