{ "info": { "author": "yanminhui", "author_email": "yanminhui163@163.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "Python-FacePP\n==============\n\nPython-FacePP is a library for communicating with a `Face++ `__\nfacial recognition service. Face++ exposes some of it's data via `Web API\n`__ for which Python-FacePP provides\na simple but powerful Pythonic API inspired by a well-known `Django ORM\n`__:\n\n`Example: `_\n\n.. code-block:: python\n\n >>> from facepplib import FacePP\n\n >>> facepp = FacePP(api_key='eFWami68yL25RPrSuG0oi0lFfYRle26L', \n ... api_secret='Zf_obifstMlZTPmejoY1MHNKyioD_Jtz')\n >>> image = facepp.image.get(image_url='https://www.faceplusplus.com/scripts/demoScript/images/demo-pic6.jpg', \n ... return_attributes=['smiling', 'age'])\n\n >>> image.image_id\n '8g2nrvINBnpyFseprStfyA=='\n\n >>> len(image.faces)\n 3\n\n >>> image.faces\n \n\n >>> image.faces[0]\n \n\n >>> image.faces[0].age['value']\n 32\n\n >>> image.faces[0].smile\n {'threshold': 50.0, 'value': 100.0}\n\n*More example in* `__main__.py `__\n\nFeatures\n--------\n\n* Supports Python 2.7, 3.4 - 3.7\n* Supports different request engines\n* Extendable via custom resources and custom request engines\n* Provides ORM-style Pythonic API\n* And many more...\n\nInstallation\n------------\n\nThe recommended way to install is from Python Package Index (PyPI) with `pip `__:\n\n.. code-block:: bash\n\n $ pip install python-facepp\n\nCheck **facepplib**:\n\n.. code-block:: bash\n\n $ python -m facepplib\n\nContacts\n--------------------\n\nIf you have questions regarding the library, I would like to invite you to `open an issue at GitHub `__. \nOpening an issue at GitHub allows other users and contributors to this library to collaborate.\n\nLicense\n---------------------\n\nThe class is licensed under the `MIT License `__:\n\nCopyright (c) 2019 `yanminhui `__\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\nChangelog\n---------\n\n0.1.0a5 (2019-02-26)\n++++++++++++++++++++\n\n**Bugfixes**:\n\n- `pip install python-facepp` raise UnicodeDecodeError in windows\n\n0.1.0a4 (2019-02-25)\n++++++++++++++++++++\n\n**Bugfixes**:\n\n- `isinstance(fp, file)` file is undefined in python 3\n\n0.1.0a1 (2019-02-24)\n++++++++++++++++++++\n\n- Initial", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/yanminhui/python-facepp", "keywords": "face++ faceplusplus facepp python-facepp facepplib", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "python-facepp", "package_url": "https://pypi.org/project/python-facepp/", "platform": "", "project_url": "https://pypi.org/project/python-facepp/", "project_urls": { "Homepage": "https://github.com/yanminhui/python-facepp" }, "release_url": "https://pypi.org/project/python-facepp/0.1.0a5/", "requires_dist": null, "requires_python": "", "summary": "Library for communicating with a Face++ facial recognition service", "version": "0.1.0a5" }, "last_serial": 4869867, "releases": { "0.1.0a1": [ { "comment_text": "", "digests": { "md5": "9f21a6fce9cb33729c28b148974de565", "sha256": "082580e2d6c5dac14d431364cc9be8099f0d0306d08063204d85e424a0e42da0" }, "downloads": -1, "filename": "python-facepp-0.1.0a1.tar.gz", "has_sig": false, "md5_digest": "9f21a6fce9cb33729c28b148974de565", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 23202, "upload_time": "2019-02-24T14:43:57", "url": "https://files.pythonhosted.org/packages/02/6a/328a78a5eee98d221e7a305eba7490ca68bc8f26ceaf01c230976f8228d5/python-facepp-0.1.0a1.tar.gz" } ], "0.1.0a2": [ { "comment_text": "", "digests": { "md5": "9adeec86384096624f0b2bc913e4d11e", "sha256": "ba430515087c44511e4cdd55f695984c326c5bfdebad071071115ede23b9cf1a" }, "downloads": -1, "filename": "python-facepp-0.1.0a2.tar.gz", "has_sig": false, "md5_digest": "9adeec86384096624f0b2bc913e4d11e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 23326, "upload_time": "2019-02-25T15:09:15", "url": "https://files.pythonhosted.org/packages/e7/96/af4921190ff08b3b72b6b784dcad1e947444396689a5829f2800e27aeae8/python-facepp-0.1.0a2.tar.gz" } ], "0.1.0a3": [ { "comment_text": "", "digests": { "md5": "5e4901ed6202b3d394b9ab52b2c8a31a", "sha256": "34055cfce7d6029b9a4d95803b4fc9e27954fef2256496d9a0c81c126ce0ac61" }, "downloads": -1, "filename": "python-facepp-0.1.0a3.tar.gz", "has_sig": false, "md5_digest": "5e4901ed6202b3d394b9ab52b2c8a31a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21172, "upload_time": "2019-02-25T15:49:02", "url": "https://files.pythonhosted.org/packages/29/a4/85c636411cd5d2b5cad8bfa5b1a9e0aad86d32dfce70c55059433a3bda12/python-facepp-0.1.0a3.tar.gz" } ], "0.1.0a4": [ { "comment_text": "", "digests": { "md5": "30442b9d71209eb6ab64ff020d280106", "sha256": "7fc5cbce93606a6bf66bf846a1bdb3845b35422f95defc71383e8a21cd3a26f8" }, "downloads": -1, "filename": "python-facepp-0.1.0a4.tar.gz", "has_sig": false, "md5_digest": "30442b9d71209eb6ab64ff020d280106", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21171, "upload_time": "2019-02-25T15:59:55", "url": "https://files.pythonhosted.org/packages/3d/20/2df7487fc21a9069595ded0594f50cca82471c0273bbbd6fd0fa9cd9a81b/python-facepp-0.1.0a4.tar.gz" } ], "0.1.0a5": [ { "comment_text": "", "digests": { "md5": "a7c85a4cdc97fdd0f9c20dd1754f49e8", "sha256": "fcf7690a319fca1534a55f7b17547572eea5692b1c4deb4d5ca882afcf27af9e" }, "downloads": -1, "filename": "python-facepp-0.1.0a5.tar.gz", "has_sig": false, "md5_digest": "a7c85a4cdc97fdd0f9c20dd1754f49e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21215, "upload_time": "2019-02-26T14:26:05", "url": "https://files.pythonhosted.org/packages/0c/0e/8bd6ddfe94e289bc53aaacba7c83b18b071e73c5c28b23d087765512c746/python-facepp-0.1.0a5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a7c85a4cdc97fdd0f9c20dd1754f49e8", "sha256": "fcf7690a319fca1534a55f7b17547572eea5692b1c4deb4d5ca882afcf27af9e" }, "downloads": -1, "filename": "python-facepp-0.1.0a5.tar.gz", "has_sig": false, "md5_digest": "a7c85a4cdc97fdd0f9c20dd1754f49e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21215, "upload_time": "2019-02-26T14:26:05", "url": "https://files.pythonhosted.org/packages/0c/0e/8bd6ddfe94e289bc53aaacba7c83b18b071e73c5c28b23d087765512c746/python-facepp-0.1.0a5.tar.gz" } ] }