Tools and utilities developed by the Autonomy Data Unit (ADU).
Project description
adulib
Tools and utilities for the Autonomy Data Unit (ADU)
The lifecycle of a shared ADU utility or tool is as follows:
- Implement the utility in this repo.
- If the utility grows in complexity, it should be moved to its own dedicated package, and will be included in
adulibas a (potentially optional) dependency.
Development install instructions
Prerequisites
- Install uv.
- Install direnv to automatically load the project virtual environment when entering it.
- Mac:
brew install direnv - Linux:
curl -sfL https://direnv.net/install.sh | bash
- Mac:
Setting up the environment
Run the following:
# CD into the root of the repo folder
uv sync --all-extras # Installs the virtual environment at './.venv'
direnv allow # Allows the automatic running of the script './.envrc'
nbl install-hooks # Installs some git hooks that ensures that notebooks are added properly
You are now set up to develop the codebase.
Further instructions:
- To export notebooks run
nbl export. - To clean notebooks run
nbl clean. - To see other available commands run just
nbl. - To add a new dependency run
uv add package-name. See the the uv documentation for more details. - You need to git add all 'twinned' notebooks for the commit to be validated. For example, if you add
nbs/my-nb.ipynb, you must also addpts/my-nb.pct.py. - To render the documentation, run
nbl render-docs. To preview it runnbl preview-docs
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
adulib-0.4.6.tar.gz
(34.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
adulib-0.4.6-py3-none-any.whl
(44.4 kB
view details)
File details
Details for the file adulib-0.4.6.tar.gz.
File metadata
- Download URL: adulib-0.4.6.tar.gz
- Upload date:
- Size: 34.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93e3b629f20ab28f87cdd3a851cf33943e056031893462e0f7770f5b5cf2b93a
|
|
| MD5 |
843530e28308d24d65c9070d11ef3d9c
|
|
| BLAKE2b-256 |
355bc443bfa21f09f40e7e943958bebc8aad9762b9fc6038e70210249832a019
|
File details
Details for the file adulib-0.4.6-py3-none-any.whl.
File metadata
- Download URL: adulib-0.4.6-py3-none-any.whl
- Upload date:
- Size: 44.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebcd07840e64c9d6406b9d00f95faea3c5e15cdf9da0a9c217472689fd28d345
|
|
| MD5 |
9ebecbe4f32ad4af52fca1cdb8e25f26
|
|
| BLAKE2b-256 |
62e6fac3cb6f598684c16ceaca3801f7f9092ccc8c81586f2c04518a1eb8e611
|