Daipe framework development environment initializer
Project description
Development environment initialization
for the Daipe stack
What it does
Local Computer
- Extends the Pyfony dev environment initialization
- Downloads Hadoop's
winutils.exe
and puts it into the project's.venv
directory (Windows only) - Downloads Java 1.8 binaries and puts them into the
~/.databricks-connect-java
dir - Creates the empty
~/.databricks-connect
file
Databricks Repos Environment
- Download and install poetry package manager
- Install dependencies from poetry.lock
- Set current working directory to project root
- Append src folder to sys path
- Set proper environment variables
Usage
%sh
pip install benvy==1.2.0
from benvy.databricks.repos import bootstrap # noqa
from benvy.databricks.detector import is_databricks_repo # noqa
if is_databricks_repo():
bootstrap.install()
from benvy.databricks.repos import bootstrap # noqa
from benvy.databricks.detector import is_databricks_repo # noqa
if is_databricks_repo():
bootstrap.setup_env()
# %install_master_package_whl
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
benvy-1.2.6.dev2.tar.gz
(10.6 kB
view hashes)
Built Distribution
benvy-1.2.6.dev2-py3-none-any.whl
(19.7 kB
view hashes)
Close
Hashes for benvy-1.2.6.dev2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75bcaa68e36b35f3f2a6e651ddee86cf236b8b28235cc89ace9bf14e64b6d4d3 |
|
MD5 | aa0b3c2ecc495a04563a6f1bedd0544a |
|
BLAKE2b-256 | a89cea83072626af152e66e77a1e73534e3c19fe5ad93df152a6f2b063b8aaf0 |