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.2.2.tar.gz
(2.6 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.2.2.tar.gz.
File metadata
- Download URL: thunkmetrc-0.2.2.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4683486d0371fb670d1cdc0d1d53602de59540e8bb3f893ee911c851039fd516
|
|
| MD5 |
b40c6ca33cf088020b79187bfcaf3f71
|
|
| BLAKE2b-256 |
811403ca222de3b020f2978c72522346b813b7f545b4ed0625befbb2f924e384
|
File details
Details for the file thunkmetrc-0.2.2-py3-none-any.whl.
File metadata
- Download URL: thunkmetrc-0.2.2-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d67a56c0b3ac6904395825671ebaae4aa42adf7b29c6049d69ae2467e9c043c
|
|
| MD5 |
e70cfc7f50eb765ec85198d2db794e0f
|
|
| BLAKE2b-256 |
5544fb216bf197c326980f06ae039f2f05c5eddb8f5e5c9bfe06f751631123ba
|