Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

thunkmetrc-0.3.3-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

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

Hashes for thunkmetrc-0.3.3.tar.gz
Algorithm Hash digest
SHA256 9cc2b236b3781a37c78e6098dda4c17c1e292ba71ee4364fe05e09edcd27117d
MD5 c0b273c256378593f930a21559509f7c
BLAKE2b-256 6c6649faf9a953ed151f1c95758c16b00b2bbd2183c85cd55d0fc09a328eb89a

See more details on using hashes here.

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

Hashes for thunkmetrc-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d39cc8d8469d107880941349f9480afb2294f2af514cdcfc734d818812be4149
MD5 a327d58ede66ebdb900244e0cefd8519
BLAKE2b-256 579b023fecb2429a1a299b5a8a7fe83c4d96982df1efeb8aacd15099314fd891

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page