This is a lightweight python wrapper around the shade-agent-api.
For example usage see the test
Fill out the environment variables and open Docker
Set up virtual environment and install dependencies
python -m venv venv
source venv/bin/activate
pip install -e .Set the contract prefix to ac-proxy.
Run the CLI
cd test
shade-agent-cliIn another terminal run the tests
python test/src/app.pySet the contract prefix to ac-sandbox.
Build the test image (change your docker ID for your own)
docker build --no-cache --platform linux/amd64 -t pivortex/my-app:latest -f test/Dockerfile . && docker push pivortex/my-app:latestEdit the app codehash in your .env.development.local and docker-compose.yaml files
Run the CLI without building
cd test
shade-agent-cli --no-buildBuild the project
python -m buildTest on TestPyPI
python -m twine check dist/*Publish to TestPyPI
python -m twine upload --repository testpypi dist/*Publish to PyPI
python -m twine upload dist/*