{ "info": { "author": "Lab Digital B.V.", "author_email": "opensource@labdigital.nl", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython" ], "description": "\n\n\nPython SDK for Commercetools\n============================\n\nThis is an unofficial Python SDK for the Commercetools platform. It only\nsupports Python 3.6+ and uses type annotation for an improved development\nexperience.\n\nThe API is mostly generated using the commercetools api RAML file and uses the\nattr library for the dataobjects and marshmallow for the serialization and\ndeserialization steps.\n\nInstallation\n------------\n\n pip install commercetools\n\nExample\n-------\n\n.. code-block:: python\n\n from commercetools import Client\n\n client = Client(\n project_key=\"\",\n client_id=\"\",\n client_secret=\"\",\n scope=[\"\"],\n url=\"https://api.sphere.io\",\n token_url=\"https://auth.sphere.io/oauth/token\",\n )\n\n product = client.products.get_by_id(\"00633d11-c5bb-434e-b132-73f7e130b4e3\")\n print(product)\n\n\nThe client can also be configured by setting the following environment\nvariables:\n\n.. code-block:: sh\n\n export CTP_PROJECT_KEY=\"\"\n export CTP_CLIENT_SECRET=\"\"\n export CTP_CLIENT_ID=\"\"\n export CTP_AUTH_URL=\"https://auth.sphere.io\"\n export CTP_API_URL=\"https://api.sphere.io\"\n export CTP_SCOPES=\"\"\n\nAnd then constructing a client without arguments:\n\n.. code-block:: python\n\n from commercetools import Client\n\n client = Client()\n\n product = client.products.get_by_id(\"00633d11-c5bb-434e-b132-73f7e130b4e3\")\n print(product)\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.co/labd/commercetools-python-sdk", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "commercetools-ratdev", "package_url": "https://pypi.org/project/commercetools-ratdev/", "platform": "", "project_url": "https://pypi.org/project/commercetools-ratdev/", "project_urls": { "Homepage": "https://github.co/labd/commercetools-python-sdk" }, "release_url": "https://pypi.org/project/commercetools-ratdev/1.5.1/", "requires_dist": [ "requests (>=2.7.0)", "pytz", "requests-oauthlib (>=1.0.0)", "attrs (>=18.2.0)", "marshmallow (>=3.0.0b17)", "marshmallow-enum (==1.4.1)", "WebOb (==1.8.4)", "wrapt (==1.10.0)", "PyYAML (==3.13) ; extra == 'codegen'", "astunparse (==1.6.1) ; extra == 'codegen'", "black (==18.9b0) ; extra == 'codegen'", "isort ; extra == 'codegen'", "Sphinx (>=1.8.1) ; extra == 'docs'", "sphinx-rtd-theme (==0.4.2) ; extra == 'docs'", "sphinx-autodoc-typehints (==1.4.0) ; extra == 'docs'", "freezegun (==0.3.8) ; extra == 'test'", "mock (==2.0.0) ; extra == 'test'", "pretend (==1.0.8) ; extra == 'test'", "pytest-cov (==2.5.1) ; extra == 'test'", "pytest (==3.1.3) ; extra == 'test'", "requests-mock (>=0.7.0) ; extra == 'test'", "isort (==4.2.15) ; extra == 'test'", "flake8 (==3.3.0) ; extra == 'test'", "flake8-blind-except (==0.1.1) ; extra == 'test'", "flake8-debugger (==1.4.0) ; extra == 'test'", "flake8-imports (==0.1.1) ; extra == 'test'", "mypy (==0.630) ; extra == 'test'" ], "requires_python": "", "summary": "Ratan's fork of SDK for Commercetools", "version": "1.5.1" }, "last_serial": 4655876, "releases": { "1.5.1": [ { "comment_text": "", "digests": { "md5": "3aa31f77ecea40087591897a7493d9e2", "sha256": "acf48ec73cc8e8cd869c1884c381ec0de9bb6ecd7f3e5798fe6edd79f663777f" }, "downloads": -1, "filename": "commercetools_ratdev-1.5.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3aa31f77ecea40087591897a7493d9e2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 177596, "upload_time": "2019-01-03T10:04:35", "url": "https://files.pythonhosted.org/packages/c0/05/df01ecae6927c2bf9a607bc3b86dc6cf8aff9f843ace2f25fe0410d91a54/commercetools_ratdev-1.5.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "09a7bf6ad0021ad56810f5f8bf7fd823", "sha256": "b8c8ac1ba504d190552bab0c51388c7d6481c7acf7dfd77e95c4e5b73b4d2687" }, "downloads": -1, "filename": "commercetools-ratdev-1.5.1.tar.gz", "has_sig": false, "md5_digest": "09a7bf6ad0021ad56810f5f8bf7fd823", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 161407, "upload_time": "2019-01-03T10:04:37", "url": "https://files.pythonhosted.org/packages/13/eb/aa46392bd6a4efa0263e8533db8492ecda90f00bcffb833161c080fb10a1/commercetools-ratdev-1.5.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3aa31f77ecea40087591897a7493d9e2", "sha256": "acf48ec73cc8e8cd869c1884c381ec0de9bb6ecd7f3e5798fe6edd79f663777f" }, "downloads": -1, "filename": "commercetools_ratdev-1.5.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3aa31f77ecea40087591897a7493d9e2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 177596, "upload_time": "2019-01-03T10:04:35", "url": "https://files.pythonhosted.org/packages/c0/05/df01ecae6927c2bf9a607bc3b86dc6cf8aff9f843ace2f25fe0410d91a54/commercetools_ratdev-1.5.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "09a7bf6ad0021ad56810f5f8bf7fd823", "sha256": "b8c8ac1ba504d190552bab0c51388c7d6481c7acf7dfd77e95c4e5b73b4d2687" }, "downloads": -1, "filename": "commercetools-ratdev-1.5.1.tar.gz", "has_sig": false, "md5_digest": "09a7bf6ad0021ad56810f5f8bf7fd823", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 161407, "upload_time": "2019-01-03T10:04:37", "url": "https://files.pythonhosted.org/packages/13/eb/aa46392bd6a4efa0263e8533db8492ecda90f00bcffb833161c080fb10a1/commercetools-ratdev-1.5.1.tar.gz" } ] }