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.3.3.dev1.tar.gz
(65.1 kB
view hashes)
Built Distribution
benvy-1.3.3.dev1-py3-none-any.whl
(76.3 kB
view hashes)
Close
Hashes for benvy-1.3.3.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ce11c26a9afa00b48ebcf2bdd1f8282607ef8d274c494199cfa458869e6e24e |
|
MD5 | 75803c54d511605713a33ba36ec6bad0 |
|
BLAKE2b-256 | c64dcea7d0eebbf153ecd94beefa2f0bf575c9a5bea8e7f7ac34db6ba6a45a97 |