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.1.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.1.tar.gz.
File metadata
- Download URL: thunkmetrc-0.3.1.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 |
317b37b1958d3c7b6bf2e1bbfa0de9ab5033eb16e78daf70c8847074731852d0
|
|
| MD5 |
7954e74dbbc6cc8cc57df8b2a300dc30
|
|
| BLAKE2b-256 |
620cf38161b77271ed39e9c6c62ec0f2dada129833320e0a8513188dec46a887
|
File details
Details for the file thunkmetrc-0.3.1-py3-none-any.whl.
File metadata
- Download URL: thunkmetrc-0.3.1-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 |
391a16d400ef49b131abb3f2d8e2b24a3208acf39a1c6fc99057175ee723bc2a
|
|
| MD5 |
9962ac2d42e27d52fd677da06b656b72
|
|
| BLAKE2b-256 |
81e78a810adc94d5c94008537021ed8dc43c50431985eb2d990310b4f528fd71
|