High-level ThunkMetrc Python SDK
Project description
ThunkMetrc
High-level Python SDK for Metrc with convenience functions like active_packages_inventory_sync.
Installation
pip install thunkmetrc
Usage
from thunkmetrc import active_packages_inventory_sync
from thunkmetrc_wrapper import MetrcWrapper
wrapper = MetrcWrapper("https://api.metrc.com", "vendor_key", "user_key")
# Sync active packages inventory
packages = active_packages_inventory_sync(
wrapper,
"license_number",
last_known_sync=None,
buffer_minutes=5
)
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
thunkmetrc-0.3.0.tar.gz
(9.9 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
File details
Details for the file thunkmetrc-0.3.0.tar.gz.
File metadata
- Download URL: thunkmetrc-0.3.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8196bf384e4565d87e7584076231de08aa59de7c64b2950469a0b6e0c580135
|
|
| MD5 |
469a38486a24c1032b25baa640a3145b
|
|
| BLAKE2b-256 |
cab991db0e95ecb9a54e206d14d978ceb2197d44b203856f169f68183bb96841
|
File details
Details for the file thunkmetrc-0.3.0-py3-none-any.whl.
File metadata
- Download URL: thunkmetrc-0.3.0-py3-none-any.whl
- Upload date:
- Size: 23.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6962c4b1af78fba725abdab9203f99e8ea15888ffcd1c13dd3b3701d8dab9134
|
|
| MD5 |
85aacdbc68028f00c1761bdc0efad6e7
|
|
| BLAKE2b-256 |
186f43c02277373c46bedefd1b7992a478736b037a91351122c4bd2d3f0440c1
|