FarmBot Sidecar Starter Pack
Project description
sidecar-starter-pack
Installation and Usage
See Sidecar Starter Pack in the FarmBot developer documentation.
Local development
If you are working on the sidecar-starter-pack itself,
(1) Clone the repository.
git clone https://github.com/FarmBot-Labs/sidecar-starter-pack
(2) Navigate to the project directory.
cd sidecar-starter-pack
(3) Create a virtual environment.
python -m venv py_venv
(4) Activate the virtual environment.
source py_venv/bin/activate
(5) Install the required libraries within the virtual environment:
python -m pip install requests paho-mqtt coverage
Ensure any changes pass all tests before submitting a pull request.
coverage run -m unittest discover
coverage html
You can review test coverage by opening htmlcov/index.html
in a browser.
Uploading package to PyPI (For FarmBot employees)
Follow this tutorial.
python -m pip install --upgrade pip build twine
rm dist/*
python -m build
python -m twine upload dist/*
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
Built Distribution
Close
Hashes for farmbot_sidecar_starter_pack-1.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e76ae32116d4dca80ae451fc03ed18d42e2e80ca9431566bf04f25ab537687fb |
|
MD5 | a5b3e26343127648c540d60888f76bb4 |
|
BLAKE2b-256 | 0739e6864866acd171367a597099e51a46c03822bb6e3bbd6e53e528e3752e16 |
Close
Hashes for farmbot_sidecar_starter_pack-1.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc4944ae924b265fef2445683e1ba5e9d0a143d2f16151f7ce7139a1aeb2edfa |
|
MD5 | 2d53456deb11465a76b59f1113e47e51 |
|
BLAKE2b-256 | 933a70fc0db89e99fb5aa44b3d1256940ac404e0986368ca0d73c053e776f0e4 |