{ "info": { "author": "zengwh", "author_email": "zengwh513@163.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# open-falcon api python client\nexample usuage \n\n```python\nfrom openfalconclient.client import FalconClient\ncli = FalconClient(endpoint=\"http://127.0.0.1:8080\", user='admin', password='admin123')\n# ex api/v1/user/users get\nr = cli.user.users.list()\n\n# /api/v1/user/name/xxxx get\nr = cli.user.name['admin'].get()\n\n# /api/v1/user/u/xxxx get\nr = cli.user.u['1'].get()\n\n# /api/v1/user/update put\ndata = {\n \"name\": \"test1\",\n \"cnname\": \"est\",\n \"email\": \"root123@cepave.com\",\n \"im\": \"44955834958\",\n \"phone\": \"99999999999\",\n \"qq\": \"904394234239\"\n}\ncli.user.update.update(data=data)\n\n# /api/v1/admin/delete_user delete\nparams = {\"user_id\": 31}\ncli.admin.delete_user.delete(params=params)\n\n# /api/v1/template/7 delete\ncli.template['7'].delete()\n\nquery = [{\n \"endpoint\": \"zwhtest.net\",\n \"counter\": \"net.if.info/region=gd1\"\n }]\ncli.graph.lastpoint.post(data=query)\n```", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/willhope/open-falcon-api-python-cleint.git", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "openfalconclient", "package_url": "https://pypi.org/project/openfalconclient/", "platform": "", "project_url": "https://pypi.org/project/openfalconclient/", "project_urls": { "Homepage": "https://github.com/willhope/open-falcon-api-python-cleint.git" }, "release_url": "https://pypi.org/project/openfalconclient/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "open-falcon client", "version": "0.0.3" }, "last_serial": 3370908, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "8b295c20347605ea67d74c0fb080d181", "sha256": "e21f1e78c90f8dd7427b456399b257990cf574d6fe3f564602f3b396453e73e2" }, "downloads": -1, "filename": "openfalconclient-0.0.1.tar.gz", "has_sig": false, "md5_digest": "8b295c20347605ea67d74c0fb080d181", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4485, "upload_time": "2017-11-10T03:21:16", "url": "https://files.pythonhosted.org/packages/21/ff/e3de4a0b6a699144ab00db72a3d6130bdebf83550fe1bf6acf2a98f3a45f/openfalconclient-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "ddaeabde81b2205c6ce0df2014857b28", "sha256": "36beaa7c55b8f3a98964e685e8ddf4bef7e5cf37460b22ba4a941e2f21360564" }, "downloads": -1, "filename": "openfalconclient-0.0.2.tar.gz", "has_sig": false, "md5_digest": "ddaeabde81b2205c6ce0df2014857b28", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4627, "upload_time": "2017-11-24T12:49:08", "url": "https://files.pythonhosted.org/packages/2d/ca/846be663a9fad0656770d68cf50bd6e319d2d68f46c4d2d9e7252229fd18/openfalconclient-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "6ac49c3c4279c199228d3ac3216e83b6", "sha256": "2dafa7f61844129c151d766624b856d1bf800a3116ee89b92405507d061d35e4" }, "downloads": -1, "filename": "openfalconclient-0.0.3.tar.gz", "has_sig": false, "md5_digest": "6ac49c3c4279c199228d3ac3216e83b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4475, "upload_time": "2017-11-28T12:47:30", "url": "https://files.pythonhosted.org/packages/ff/f5/5f160152c4bbbd76709d68206e8e6e2857411ba1b6ce0efd7169dc579f68/openfalconclient-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6ac49c3c4279c199228d3ac3216e83b6", "sha256": "2dafa7f61844129c151d766624b856d1bf800a3116ee89b92405507d061d35e4" }, "downloads": -1, "filename": "openfalconclient-0.0.3.tar.gz", "has_sig": false, "md5_digest": "6ac49c3c4279c199228d3ac3216e83b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4475, "upload_time": "2017-11-28T12:47:30", "url": "https://files.pythonhosted.org/packages/ff/f5/5f160152c4bbbd76709d68206e8e6e2857411ba1b6ce0efd7169dc579f68/openfalconclient-0.0.3.tar.gz" } ] }