{ "info": { "author": "OculusD", "author_email": "info@oculusd.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet", "Topic :: Software Development :: Libraries" ], "description": "# OculusD Client Libraries - Common Libraries\n\nThese libraries are supporting libraries for other OculusD.com Inc projects.\n\nMore details and documentation will follow in the near future. \n\nThis is an initial development effort in very early stages (Alpha) and no \nguarantees are made in terms of production readiness at this stage.\n\n## Installation\n\n### Quick Install\n\nUsing pip:\n\n```bash\n$ pip install odc-pycommons\n```\n\n### Installation from Source\n\nAs with most other GitHub projects, the basic steps of clone, build and install \nshould be followed. Below is a very simple example:\n\n```bash\n$ git clone https://github.com/oculusd/odc_pycommons.git\n$ cd odc_pycommons\n$ python3 setup.py sdist\n$ pip3 install dist/odc_pycommons-0.0.1.tar.gz\n```\n\n## Debugging\n\nYou can enable debugging be setting the environment variable `DEBUG` to anything \nelse than `'0'`. On Linux, you can accomplish this by running the following at \nthe command prompt: `$ export DEBUG=1`.\n\nBelow is a simple example of the output that will now be printed to `STDOUT`:\n\n```python\n>>> from odc_pycommons.models import CommsRequest, CommsRestFulRequest, CommsResponse\n* debug enabled\n>>> from odc_pycommons.comms import get\n>>> req = CommsRequest(uri='https://www.york.ac.uk/teaching/cws/wws/webpage1.html')\n>>> resp = get(request=req)\n* debugging GET request\nsend: b'GET /teaching/cws/wws/webpage1.html HTTP/1.1\\r\\nAccept-Encoding: identity\\r\\nHost: www.york.ac.uk\\r\\nUser-Agent: Python-urllib/3.7\\r\\nConnection: close\\r\\n\\r\\n'\nreply: 'HTTP/1.1 200 OK\\r\\n'\nheader: Date header: Server header: Accept-Ranges header: Cache-Control header: Expires header: Vary header: X-Frame-Options header: Content-Length header: Connection header: Content-Type \n>>> resp.response_code\n200\n```\n\n## Third Party Dependencies\n\nThe following third party libraries are used in this project:\n\n* [email-validator](https://github.com/JoshData/python-email-validator)\n* [pyyaml](https://github.com/yaml/pyyaml/)\n\nPlease refer to the various third party suppliers home pages for specific \nlicensing information.\n\nInstallation:\n\n```bash\n$ pip3 install email-validator pyyaml\n```\n\n## Need more help?\n\nTry one of these resources:\n\n* [The project Wiki](https://github.com/oculusd/odc_pycommons/wiki)\n* And don't forget to [check/log issues](https://github.com/oculusd/odc_pycommons/issues)\n* Also consider the [primary documentation](https://docs.oculusd.com/index.html)\n* Finally, you can also reach us on [Discord](https://discord.gg/7utRC3X) or [Twitter](https://twitter.com/oculusdinc)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/oculusd/odc_pycommons/archive/release-0.3.2.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://www.oculusd.com/", "keywords": "cli library iot oculusd", "license": "", "maintainer": "", "maintainer_email": "", "name": "odc-pycommons", "package_url": "https://pypi.org/project/odc-pycommons/", "platform": "", "project_url": "https://pypi.org/project/odc-pycommons/", "project_urls": { "Bug Reports": "https://www.oculusd.com/", "Download": "https://github.com/oculusd/odc_pycommons/archive/release-0.3.2.tar.gz", "Funding": "https://www.oculusd.com/", "Homepage": "https://www.oculusd.com/", "Say Thanks!": "https://www.oculusd.com/", "Source": "https://www.oculusd.com/" }, "release_url": "https://pypi.org/project/odc-pycommons/0.3.2/", "requires_dist": null, "requires_python": "", "summary": "OculusD Python Commons Library", "version": "0.3.2" }, "last_serial": 5394263, "releases": { "0.3.1": [ { "comment_text": "", "digests": { "md5": "8f0d0a9ac919cc1f38958aca6bc15156", "sha256": "1e5b10e650b4a2756a15c6a0b02b3f6645e0baceb0bff807a96cd7477a822fad" }, "downloads": -1, "filename": "odc_pycommons-0.3.1.tar.gz", "has_sig": false, "md5_digest": "8f0d0a9ac919cc1f38958aca6bc15156", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16300, "upload_time": "2019-06-13T05:13:52", "url": "https://files.pythonhosted.org/packages/cb/8b/c054e771da97646b3a2e1b061f7bd9355ad689a9eff317d60439a6bb30b1/odc_pycommons-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "be0643e004fa330e5ceee1acb1cfe698", "sha256": "926a8ffddc470592885ace37ca4ede4a2e720cd8a68d6d68d90cef3f955f485c" }, "downloads": -1, "filename": "odc_pycommons-0.3.2.tar.gz", "has_sig": false, "md5_digest": "be0643e004fa330e5ceee1acb1cfe698", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16400, "upload_time": "2019-06-13T05:39:06", "url": "https://files.pythonhosted.org/packages/cd/be/6e003ecf8ce63d170c40c5745155f2276e7c698391262668ec1f271270cb/odc_pycommons-0.3.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "be0643e004fa330e5ceee1acb1cfe698", "sha256": "926a8ffddc470592885ace37ca4ede4a2e720cd8a68d6d68d90cef3f955f485c" }, "downloads": -1, "filename": "odc_pycommons-0.3.2.tar.gz", "has_sig": false, "md5_digest": "be0643e004fa330e5ceee1acb1cfe698", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16400, "upload_time": "2019-06-13T05:39:06", "url": "https://files.pythonhosted.org/packages/cd/be/6e003ecf8ce63d170c40c5745155f2276e7c698391262668ec1f271270cb/odc_pycommons-0.3.2.tar.gz" } ] }