Example Python scripts that use the T3 API to automatically talk to metrc.com.
New here? Start with intro.py. It will walk you through setup and authentication. All you need to do is:
- Download
intro.py(click the download icon at the top right of the file) - Install uv (handles Python and all dependencies for you)
- Run it:
uv run intro.py
Once you're set up, explore the other scripts in this repo. Every script can be run the same way:
uv run <script>.py