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.3.tar.gz
(16.8 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.3.tar.gz.
File metadata
- Download URL: thunkmetrc-0.3.3.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cc2b236b3781a37c78e6098dda4c17c1e292ba71ee4364fe05e09edcd27117d
|
|
| MD5 |
c0b273c256378593f930a21559509f7c
|
|
| BLAKE2b-256 |
6c6649faf9a953ed151f1c95758c16b00b2bbd2183c85cd55d0fc09a328eb89a
|
File details
Details for the file thunkmetrc-0.3.3-py3-none-any.whl.
File metadata
- Download URL: thunkmetrc-0.3.3-py3-none-any.whl
- Upload date:
- Size: 23.1 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 |
d39cc8d8469d107880941349f9480afb2294f2af514cdcfc734d818812be4149
|
|
| MD5 |
a327d58ede66ebdb900244e0cefd8519
|
|
| BLAKE2b-256 |
579b023fecb2429a1a299b5a8a7fe83c4d96982df1efeb8aacd15099314fd891
|