Skip to main content

Python client library for accessing the Metrc API

Project description

metrc-python

Python backend for connecting with Metrc

Instructions for example Flask server

Install pipenv

Clone this repostitory, go to the root folder, and run the following commands

pipenv shell

pip install -r requirements.txt

Now edit the file example/flask/configs.yml.example to have key value pairs of the states you have vendor keys in to those vendor keys and rename to example/flask/configs.yml

Now run the following and the server should run

cd example/flask

flask run

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

metrc-client-python-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

metrc_client_python-0.0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file metrc-client-python-0.0.1.tar.gz.

File metadata

  • Download URL: metrc-client-python-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for metrc-client-python-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5e2969e251b2a06905a0505f68cdb76164c7dff85d27010f8108ccfb42b62098
MD5 a09fe207ed7853bbc6c4d44cd3a6d84d
BLAKE2b-256 adfcd7fc070f64822a3fc6b530ab8b47b12d56529c6002104f9850dac53e5968

See more details on using hashes here.

File details

Details for the file metrc_client_python-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: metrc_client_python-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for metrc_client_python-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5891218bfb53f7fa6f1c15a9bf7e49b443286300a781e672e9aa39a86a0c994d
MD5 98abbbacf4e0d42670060a84de78474f
BLAKE2b-256 f43a257a73003ead6d5754646bcc4d1171908a64ee27fcd3f5d3d6471086aec3

See more details on using hashes here.

Supported by

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