A CLI tool for Samsara Functions
Project description
A CLI tool for Samsara Functions. Streamlines local development, testing and packaging.
Installation
It is recommended to use a separate virtual environment.
python3.12 -m venv venv
source venv/bin/activate
pip install samsara-fn
Shell autocompletion
If you're using bash or zsh, you can opt-in to shell autocompletion. To enable it, first install the package with an optional dependency set:
pip install 'samsara-fn[shell-completion]'
And enable autocompletions via argcomplete. You need to either:
- Run this command every time you need the completion to work.
Make sure that the virtual Python environment was already sourced before running
eval.
eval "$(register-python-argcomplete samsara-fn)"
- Enable global completion for argcomplete-supported Python scripts with a one time installation script:
activate-global-python-argcomplete
Usage
The simulator provides a command-line interface.
Each command supports various options. Use --help with any command to see detailed usage:
samsara-fn --help
samsara-fn run manual --help
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 Distributions
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
File details
Details for the file samsara_fn-0.14.0-py3-none-any.whl.
File metadata
- Download URL: samsara_fn-0.14.0-py3-none-any.whl
- Upload date:
- Size: 69.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89dbbc22537ad98ed4a873582b274aa1db4177c6575ca59b322a3eb3c68cf88c
|
|
| MD5 |
e17ddaf48bec050fe03ce60b383931d3
|
|
| BLAKE2b-256 |
0df6e1aeee9ec706bb5ea5b64f558f31e40ebf9a15044ca0b79212df2730be40
|