{ "info": { "author": "DigiThinkIT, Inc.", "author_email": "hello@digithinkit.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "============\nPython METRC\n============\n\nA light Python wrapper around the METRC Web API\n\n.. image:: https://img.shields.io/pypi/v/python_metrc.svg\n :target: https://pypi.python.org/pypi/python_metrc\n\n.. image:: https://img.shields.io/travis/DigiThinkIT/python-metrc.svg\n :target: https://travis-ci.org/DigiThinkIT/python-metrc\n\nGetting Started\n---------------\n\nThese instructions will get you a copy of the project up and running on\nyour local machine for development and testing purposes.\n\nInstalling\n~~~~~~~~~~\n\n::\n\n $ pip install python_metrc\n\nRunning the tests\n~~~~~~~~~~~~~~~~~\n\n::\n\n cd python_metrc\n pytest\n\nDocumentation\n-------------\n\nTo generate and call the endpoint - ``https://sandbox-api-ca.metrc.com/transfers/v1/delivery/packages/states`` - you can use any of the following combinations:\n\n::\n\n >>> from python_metrc import METRC\n >>> metrc = METRC('https://sandbox-api-ca.metrc.com', vendor_key={VENDOR_KEY}, user_key={USER_KEY}, license_number={LICENSE_NUMBER})\n >>> metrc.transfers('delivery').packages('states').get()\n \n >>> metrc.transfers.delivery.packages('states').get()\n \n >>> metrc.transfers.delivery.packages.states.get()\n \n >>> metrc.transfers('delivery', 'packages', 'states').get()\n \n\nThe ``METRC`` class instance provides the ``GET``, ``POST`` and ``DELETE`` HTTP methods as binded on itself. The return type is the ``requests`` module's ``Response`` object.\n\nContributing\n------------\n\nPlease read the `Contribution`_ guidelines for details on our code of conduct, and the process for submitting pull requests to us.\n\nAuthors\n-------\n\nSee the list of `contributors`_ who participated in this project.\n\nLicense\n-------\n\nThis project is licensed under the MIT License - see the `LICENSE`_ file for details\n\nAcknowledgments\n---------------\n\n- `Hammock`_ - Used to generate RESTful URLs\n\n.. _Hammock: https://github.com/kadirpekel/hammock\n.. _Contribution: https://github.com/DigiThinkIT/python-metrc/blob/master/CONTRIBUTING.rst\n.. _tags on this repository: https://github.com/DigiThinkIT/python-metrc/tags\n.. _contributors: https://github.com/DigiThinkIT/python-metrc/contributors\n.. _LICENSE: https://github.com/DigiThinkIT/python-metrc/blob/master/LICENSE\n\n\n=======\nHistory\n=======\n\n0.1.2 (2018-09-26)\n------------------\n\n* Convert main class to inherit from Hammock instead.\n\n0.1.1 (2018-09-26)\n------------------\n\n* Clean up unnecessary artefacts after setup.\n\n0.1.0 (2018-09-26)\n------------------\n\n* First release on PyPI.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/DigiThinkIT/python-metrc", "keywords": "python_metrc", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "python-metrc", "package_url": "https://pypi.org/project/python-metrc/", "platform": "", "project_url": "https://pypi.org/project/python-metrc/", "project_urls": { "Homepage": "https://github.com/DigiThinkIT/python-metrc" }, "release_url": "https://pypi.org/project/python-metrc/0.1.4/", "requires_dist": [ "hammock (>=0.2.4)" ], "requires_python": "", "summary": "A light Python wrapper around the METRC Web API", "version": "0.1.4" }, "last_serial": 4351239, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6bd6e445ae1f6947e78e1d10824d547e", "sha256": "1f034af4fbf54ab1b7a930d5ec56c2452d62e4f279935b99e034e62af38397bc" }, "downloads": -1, "filename": "python_metrc-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6bd6e445ae1f6947e78e1d10824d547e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6184, "upload_time": "2018-09-28T08:03:40", "url": "https://files.pythonhosted.org/packages/cb/27/ea6c89abf72b2a459aa73e906206f61ffffa22f0e37adfb568de8ef3ce64/python_metrc-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c72ec45237db1d0449229a86e106571b", "sha256": "3b2922c7dc446da14cfc3768870803d0628812b6eb0cd2f3fce6ca5aedccd887" }, "downloads": -1, "filename": "python_metrc-0.1.0.tar.gz", "has_sig": false, "md5_digest": "c72ec45237db1d0449229a86e106571b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15381, "upload_time": "2018-09-28T08:03:41", "url": "https://files.pythonhosted.org/packages/33/e1/9e77a0f8ce4aaa9e413877d6972311c7832adb9c21c5d846393f24c74060/python_metrc-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "31d11439f30edc3ae738ae16c59dfe3b", "sha256": "020f4bbb33e0bb179e79d11f09f867eb74696b95255e705e2ea91ae6a1300e96" }, "downloads": -1, "filename": "python_metrc-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "31d11439f30edc3ae738ae16c59dfe3b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5780, "upload_time": "2018-09-28T13:09:59", "url": "https://files.pythonhosted.org/packages/eb/ec/66603e2f937f2a27bdb484b3c5baea59188dbec41c9465b8366956e73381/python_metrc-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f8df1d9763a9ce16c60813391acc709c", "sha256": "9867eb1daacf27e4ee6a18b574bddc6ea4518e4923c6860acd10c04c64b4c82a" }, "downloads": -1, "filename": "python_metrc-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f8df1d9763a9ce16c60813391acc709c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14977, "upload_time": "2018-09-28T13:10:00", "url": "https://files.pythonhosted.org/packages/ab/da/39a00a0a274af516b8341bdb18355b6752f7dde680df20fa9bb26ee9ca6c/python_metrc-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "632ec94c6deed530460740104b19c354", "sha256": "9931c3a8bdbe2f895f3d0557210d62ad6515063a8e64da1962b5299e9d91f770" }, "downloads": -1, "filename": "python_metrc-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "632ec94c6deed530460740104b19c354", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3198, "upload_time": "2018-09-28T20:17:53", "url": "https://files.pythonhosted.org/packages/e7/6d/4335d89f10a418a8639cca57b6156ba9382ef12c4a98e08d9bc0dd12716f/python_metrc-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d2c4f47aa28d6652944fa0e69f706447", "sha256": "cb0570f2e9765890042371df461212305cd1f8bd45e838d8c5df4596cf446783" }, "downloads": -1, "filename": "python_metrc-0.1.2.tar.gz", "has_sig": false, "md5_digest": "d2c4f47aa28d6652944fa0e69f706447", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9147, "upload_time": "2018-09-28T20:17:54", "url": "https://files.pythonhosted.org/packages/f2/b7/046dedcc0bb2775252281ee3706f6405ad22398b9912d1b343d8c5f96eb7/python_metrc-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "31e0c0247640c278749c89973bd6ae09", "sha256": "d1fd7d36c25efd0ff70b1c63cf5cdfcb87ff59c77fa22a2beaf5fcc5df16c2a4" }, "downloads": -1, "filename": "python_metrc-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "31e0c0247640c278749c89973bd6ae09", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5217, "upload_time": "2018-10-08T07:32:28", "url": "https://files.pythonhosted.org/packages/05/33/967d54a3eed59c1f95c87ed1495c6067dc2f3dfdb8dcd3c5260849f6aeec/python_metrc-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9292ab429a74129446458869e903c030", "sha256": "c11295e5dc45f926de8fa8a348f74a141771be60b5aa356edfb36a0aaef1b7e6" }, "downloads": -1, "filename": "python_metrc-0.1.3.tar.gz", "has_sig": false, "md5_digest": "9292ab429a74129446458869e903c030", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14830, "upload_time": "2018-10-08T07:32:30", "url": "https://files.pythonhosted.org/packages/86/c5/0b91fa8eb6d7b8714f71d14c903c0505e9648a5228cb35f4855c759d2226/python_metrc-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "c64e6910e54c1f31c330fd6a72fa7d24", "sha256": "f73c8e59035ccc210f88e011ba17dffbc9534987d81ca78cb74e05325f79b5c5" }, "downloads": -1, "filename": "python_metrc-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c64e6910e54c1f31c330fd6a72fa7d24", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4357, "upload_time": "2018-10-08T09:08:50", "url": "https://files.pythonhosted.org/packages/5c/3d/3e454a4175c7f0e992313591a9fe5e0bdd2e15323e176e6749e70c7189b2/python_metrc-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "00b8b35408776fd9f464cf2ea79dc0a0", "sha256": "193b7cc2fe292e3aac7e122cb4a92b793f9e90fc08d78a159a56065ee3aeaaf2" }, "downloads": -1, "filename": "python_metrc-0.1.4.tar.gz", "has_sig": false, "md5_digest": "00b8b35408776fd9f464cf2ea79dc0a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9178, "upload_time": "2018-10-08T09:08:52", "url": "https://files.pythonhosted.org/packages/4e/c3/a990c16119a573bd773829a033170774d9d0d023ba2d4443182d0f72b436/python_metrc-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c64e6910e54c1f31c330fd6a72fa7d24", "sha256": "f73c8e59035ccc210f88e011ba17dffbc9534987d81ca78cb74e05325f79b5c5" }, "downloads": -1, "filename": "python_metrc-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c64e6910e54c1f31c330fd6a72fa7d24", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4357, "upload_time": "2018-10-08T09:08:50", "url": "https://files.pythonhosted.org/packages/5c/3d/3e454a4175c7f0e992313591a9fe5e0bdd2e15323e176e6749e70c7189b2/python_metrc-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "00b8b35408776fd9f464cf2ea79dc0a0", "sha256": "193b7cc2fe292e3aac7e122cb4a92b793f9e90fc08d78a159a56065ee3aeaaf2" }, "downloads": -1, "filename": "python_metrc-0.1.4.tar.gz", "has_sig": false, "md5_digest": "00b8b35408776fd9f464cf2ea79dc0a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9178, "upload_time": "2018-10-08T09:08:52", "url": "https://files.pythonhosted.org/packages/4e/c3/a990c16119a573bd773829a033170774d9d0d023ba2d4443182d0f72b436/python_metrc-0.1.4.tar.gz" } ] }