Contributing to Kakapo
Overview
We happily welcome contributions to Kakapo as long as CLA has been accepted. We use GitHub Issues to track community reported issues and GitHub Pull Requests for accepting changes.
Repository structure
The repository is structured as follows:
.githubCICD for both kakapo and for solution examples.python/kakapo/Kakapo python module and tests. This code is used to build databricks-kakapo pip dependency.docs/Source code for documentation. Documentation is built via sphinx.
Test & build Kakapo
Python
The python bindings can be tested using unittest.
- Move to the
python/directory and install the project and its dependencies:pip install . - Run the tests using
unittest:python -m unittest
The project wheel file can be built with build.
- Install the build requirements:
pip install build wheel. - Build the wheel using
python -m build. - Collect the .whl file from
python/dist/
Documentation
The documentation has been produced using Sphinx.
To build the docs:
- Install the pandoc library (follow the instructions for your platform here).
- Install the python requirements from
docs/docs-requirements.txt. - Build the HTML documentation by running
make htmlfromdocs/. - You can locally host the docs by running the
reload.pyscript in thedocs/source/directory.
Style
Tools we use for code formatting and checking:
scalafmtandscalastylein the main scala project.blackandisortfor the python bindings.
Release files for databricks-kakapo 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| databricks-kakapo-0.0.2.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| databricks_kakapo-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.6 kB
Release files / databricks-kakapo-0.0.2.tar.gz
| Download URL | databricks-kakapo-0.0.2.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5ad5f5e8f1311eeefc62f7d5602ac4e95dbb724b75b8a4bc3e52b557d969886
|
|
BLAKE2b-256 checksum How to use checksums |
31f9949dd2e455b43f5b5e3809d05e447ef651966f31c4d19ca56d8f58d01058
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Release files / databricks_kakapo-0.0.2-py3-none-any.whl
| Download URL | databricks_kakapo-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
734938760bdfd257316f21243fd389601094a2e5d8eb7d9c572eb6002a610d9b
|
|
BLAKE2b-256 checksum How to use checksums |
a38cf7e1f0b330775969024cee2aa2a4de53e4f2ac784309fda6ad0dd1601a3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|