{ "info": { "author": "Jerod Gawne", "author_email": "jerod@jerodg.dev", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "Intended Audience :: System Administrators", "License :: Other/Proprietary License", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Topic :: Internet", "Topic :: Internet :: WWW/HTTP", "Topic :: Utilities" ], "description": "```\n ___ _ ___ ___ ___ _ _ _ \n| _ ) __ _ ___ ___ /_\\ | _ \\_ _| / __| (_)___ _ _| |_ \n| _ \\/ _` (_-\n![0%](https://img.shields.io/badge/Coverage-0%25-red.svg)\n\n\n\nBase module for REST API clients.\n\n## Installation\n```bash\npip install base-api-client\n```\n\n## Basic Usage\nThis modules' primary use-case is inheritance from other REST API clients.\n\n```python\nfrom base_api_client import BaseApiClient\nfrom typing import Optional, Union\n\nclass SomeApiClient(BaseApiClient):\n def __init__(self, cfg: Union[str, dict], sem: Optional[int] = None):\n BaseApiClient.__init__(self, cfg=cfg, sem=sem or self.SEM)\n\n def __aenter__(self):\n return self\n\n def __aexit__(self, exc_type, exc_val, exc_tb):\n await BaseApiClient.__aexit__(self, exc_type, exc_val, exc_tb)\n```\n\n## Documentation\n[GitHub Pages](https://jerodg.github.io/base-api-client/)\n- Work in Process\n\n## License\n\nCopyright \u00a9 2019 Jerod Gawne \n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the Server Side Public License (SSPL) as\npublished by MongoDB, Inc., either version 1 of the\nLicense, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nSSPL for more details.\n\nYou should have received a copy of the SSPL along with this program.\nIf not, see .\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://pypi.org/project/base-api-client/", "keywords": "base api client rest", "license": "Server Side Public License (SSPL)", "maintainer": "", "maintainer_email": "", "name": "base-api-client", "package_url": "https://pypi.org/project/base-api-client/", "platform": "", "project_url": "https://pypi.org/project/base-api-client/", "project_urls": { "Bugs": "https://github.com/jerodg/base-api-client/issues", "Documentation": "https://jerodg.github.io/base-api-client", "Funding": "https://www.paypal.me/jerodgawne", "Homepage": "https://pypi.org/project/base-api-client/", "Say Thanks!": "https://saythanks.io/to/jerodg", "Source": "https://github.com/jerodg/base-api-client" }, "release_url": "https://pypi.org/project/base-api-client/0.8.4/", "requires_dist": [ "aiodns", "aiohttp", "cchardet", "tenacity", "toml", "ujson" ], "requires_python": ">=3.7, <3.9", "summary": "Base API Client Library", "version": "0.8.4" }, "last_serial": 5850364, "releases": { "0.8.1": [ { "comment_text": "", "digests": { "md5": "1a09ab93f795511886471b1caa52a24f", "sha256": "f0762abf79cf06d062da1bafb9bb0e4f1b0987fb91b7de16d93d6eabe6874be0" }, "downloads": -1, "filename": "base_api_client-0.8.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1a09ab93f795511886471b1caa52a24f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.7, <3.9", "size": 27024, "upload_time": "2019-08-14T21:23:12", "url": "https://files.pythonhosted.org/packages/9a/19/a5977d14c9afab84ff81af7f1e6e43479fd18fb0ca4d90492091b9f00486/base_api_client-0.8.1-py2.py3-none-any.whl" } ], "0.8.4": [ { "comment_text": "", "digests": { "md5": "4ce8fddd7a28a89b5758a79e94d52f55", "sha256": "74baf5124e5ca18e5efd2a5ededf61a68ce003f95a985670654e2c2505d4f25e" }, "downloads": -1, "filename": "base_api_client-0.8.4-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "4ce8fddd7a28a89b5758a79e94d52f55", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.7, <3.9", "size": 27236, "upload_time": "2019-09-18T13:46:18", "url": "https://files.pythonhosted.org/packages/e6/f0/8857c053337807dc5d3ff487b0db7548c87fb8dc5cd7a1c861c8ec82c2b6/base_api_client-0.8.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "84106d1271202dac7dc31a326b99880d", "sha256": "ce54695c24a5f0e9df0ae22669dab3d2c06152690ca7f0501d1c1e739c36bb5d" }, "downloads": -1, "filename": "base-api-client-0.8.4.tar.gz", "has_sig": true, "md5_digest": "84106d1271202dac7dc31a326b99880d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7, <3.9", "size": 20186, "upload_time": "2019-09-18T13:46:20", "url": "https://files.pythonhosted.org/packages/22/04/d486c1b5cce68816ce950fd1d0c41ba7d29634e9389025d5284bc5a431b6/base-api-client-0.8.4.tar.gz" } ], "2019.7b1.dev1": [ { "comment_text": "", "digests": { "md5": "d98bfe90aed7dbca872bece0a4fec566", "sha256": "ffefb412d3ad062949bd41bdbdb831a55b3f0515a41b03870ec3091352e3a5f3" }, "downloads": -1, "filename": "base_api_client-2019.7b1.dev1-py3-none-any.whl", "has_sig": true, "md5_digest": "d98bfe90aed7dbca872bece0a4fec566", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.8", "size": 21834, "upload_time": "2019-07-11T15:42:14", "url": "https://files.pythonhosted.org/packages/b0/39/834c3cf175fcc34d9d6796209f0ad9b1df6199fdb35df567ad792f3045cc/base_api_client-2019.7b1.dev1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6bf3a7eec2b8ca94e77f62d948f2ba1c", "sha256": "23aa40ea1033ff88a53b1a9b2ed0533a569a3defeb3887fc05ec2b87377d912a" }, "downloads": -1, "filename": "base-api-client-2019.7b1.dev1.tar.gz", "has_sig": true, "md5_digest": "6bf3a7eec2b8ca94e77f62d948f2ba1c", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.8", "size": 6289, "upload_time": "2019-07-11T15:42:17", "url": "https://files.pythonhosted.org/packages/a5/58/49c8ddb7d9b8d45a8cc10f78098f1e7670a62ac3439d1280e12815a9a3d7/base-api-client-2019.7b1.dev1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4ce8fddd7a28a89b5758a79e94d52f55", "sha256": "74baf5124e5ca18e5efd2a5ededf61a68ce003f95a985670654e2c2505d4f25e" }, "downloads": -1, "filename": "base_api_client-0.8.4-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "4ce8fddd7a28a89b5758a79e94d52f55", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.7, <3.9", "size": 27236, "upload_time": "2019-09-18T13:46:18", "url": "https://files.pythonhosted.org/packages/e6/f0/8857c053337807dc5d3ff487b0db7548c87fb8dc5cd7a1c861c8ec82c2b6/base_api_client-0.8.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "84106d1271202dac7dc31a326b99880d", "sha256": "ce54695c24a5f0e9df0ae22669dab3d2c06152690ca7f0501d1c1e739c36bb5d" }, "downloads": -1, "filename": "base-api-client-0.8.4.tar.gz", "has_sig": true, "md5_digest": "84106d1271202dac7dc31a326b99880d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7, <3.9", "size": 20186, "upload_time": "2019-09-18T13:46:20", "url": "https://files.pythonhosted.org/packages/22/04/d486c1b5cce68816ce950fd1d0c41ba7d29634e9389025d5284bc5a431b6/base-api-client-0.8.4.tar.gz" } ] }