{ "info": { "author": "Shubham Dipt", "author_email": "shubham.dipt@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Copyright (c) 2019 Dr. Shubham Dipt\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\nDescription: # Passbolt-python-API\n \n ## Installation\n \n $pip install passbolt-python-api \n \n ## Dependencies\n \n - Python3\n - GPG (also known as GnuPG) software\n \n ## Configuration\n \n Create a config file with the following contents.\n \n [PASSBOLT]\n SERVER = http://\n SERVER_PUBLIC_KEY_FILE = \n USER_FINGERPRINT = \n USER_PUBLIC_KEY_FILE = \n USER_PRIVATE_KEY_FILE = \n PASSPHRASE = \n \n ## Usage\n \n >>>import passboltapi\n >>>passbolt = passboltapi.PassboltAPI(config_path=\"config.ini\")\n \n # Now you may do any get, post, put and delete request.\n >>>r = passbolt.get(url=\"/resources.json?api-version=v2\")\n >>>r = passbolt.post(self.server_url + url, json=data)\n \n # One can also use it as context manager\n >>>with passboltapi.PassboltAPI(config_path=\"config.ini\") as passbolt:\n \n Check test.py for an example.\n \n If new keys needs to be imported, then USER_PUBLIC_KEY_FILE and USER_PRIVATE_KEY_FILE settings\n should be in the config ini having the path of the public and private keys file respectively.\n \n To import new keys:\n \n >>>import passboltapi\n >>>passbolt = passboltapi.PassboltAPI(config_path=\"config.ini\", new_keys=True)\n \n To delete old keys and import only the new ones.\n \n >>>import passboltapi\n >>>passbolt = passboltapi.PassboltAPI(config_path=\"config.ini\", new_keys=True, delete_old_keys=True)\n \n Recommended to do: Do not keep private and public files. \n Rather just import them using gpg command one time and delete those files.\n \n $gpg --import public.asc\n $gpg --batch --import private.asc\n \n \n ### Passbolt API\n \n For more API related questions, visit Passbolt API documentation:\n \n \n \nPlatform: any\nClassifier: Programming Language :: Python :: 3\nClassifier: License :: OSI Approved :: MIT License\nClassifier: Operating System :: OS Independent\nDescription-Content-Type: text/markdown\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/shubhamdipt/passbolt-python-api", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "passbolt-python-api", "package_url": "https://pypi.org/project/passbolt-python-api/", "platform": "", "project_url": "https://pypi.org/project/passbolt-python-api/", "project_urls": { "Homepage": "https://github.com/shubhamdipt/passbolt-python-api" }, "release_url": "https://pypi.org/project/passbolt-python-api/0.1.2/", "requires_dist": [ "certifi (==2019.6.16)", "chardet (==3.0.4)", "idna (==2.8)", "python-gnupg (==0.4.5)", "requests (==2.22.0)", "urllib3 (==1.25.3)" ], "requires_python": "", "summary": "A python client for Passbolt.", "version": "0.1.2" }, "last_serial": 5918117, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "06f520ce91b7f2aeac215ddaf573c9e1", "sha256": "264d7fd0e52aedd56a4af68a1486ff313fce81c035d1100ef7d157fcb822e590" }, "downloads": -1, "filename": "passbolt_python_api-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "06f520ce91b7f2aeac215ddaf573c9e1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4356, "upload_time": "2019-08-27T09:57:42", "url": "https://files.pythonhosted.org/packages/0b/2b/e44bcdb65bfd366de8277991bf258bceec22808463379264540a6f4b6d6b/passbolt_python_api-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fe70abe0d8ae86db874ae16233b453b2", "sha256": "93452f07d0b5767b0d836088332f827dfa70995afd1aa497b3752e209f9c9fdd" }, "downloads": -1, "filename": "passbolt-python-api-0.1.tar.gz", "has_sig": false, "md5_digest": "fe70abe0d8ae86db874ae16233b453b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3542, "upload_time": "2019-08-27T09:57:45", "url": "https://files.pythonhosted.org/packages/30/b3/af9610a8481b5c665456afc0de8ff706d4cf9c11bcfceafb239cb7a77a2a/passbolt-python-api-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "b0268b6feb9e72e02a91894cbe4b27b0", "sha256": "00ad3c61ae4c903c014cea934ac8c3c2a59bb219b06a7fab2a8f92bed26060b5" }, "downloads": -1, "filename": "passbolt_python_api-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b0268b6feb9e72e02a91894cbe4b27b0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4520, "upload_time": "2019-10-01T13:04:25", "url": "https://files.pythonhosted.org/packages/bf/80/56afd411dc2f529f32e3c76f6817891d95cac1dce87b79e6d6d440a28bea/passbolt_python_api-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "99561310f644a11c402441c1870d2710", "sha256": "7106599cbd45614d8c41ec39a87251b319353867b47a1f4d2535a6658a4cf234" }, "downloads": -1, "filename": "passbolt-python-api-0.1.1.tar.gz", "has_sig": false, "md5_digest": "99561310f644a11c402441c1870d2710", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3669, "upload_time": "2019-10-01T13:04:27", "url": "https://files.pythonhosted.org/packages/4e/19/622b2eacb2628f27c69eeebd76de5a6a862227c76d7ab1125fbfc395f6b4/passbolt-python-api-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "f70ce49e155020f3a0334a7679f19c28", "sha256": "f722c3860b1c597f28603d2ecaa36cf8a5f9a7218f31eb3ca1b8ad543feafe54" }, "downloads": -1, "filename": "passbolt_python_api-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "f70ce49e155020f3a0334a7679f19c28", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4830, "upload_time": "2019-10-02T14:08:47", "url": "https://files.pythonhosted.org/packages/db/76/8fcff6d1ae8657ebfdc7785cc62afc07ac08f942526af41d3f641fcd05f8/passbolt_python_api-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cefbfb76daf122f3e6d7e36e1f7ffbb7", "sha256": "53b0f38ce467b9c6af368f9ad163b59829fe4395f5f3f5fabf0a955f633a3707" }, "downloads": -1, "filename": "passbolt-python-api-0.1.2.tar.gz", "has_sig": false, "md5_digest": "cefbfb76daf122f3e6d7e36e1f7ffbb7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3991, "upload_time": "2019-10-02T14:08:49", "url": "https://files.pythonhosted.org/packages/dd/54/975f496f4cf3218e6c8ac1ccb2a0680830227f0b8393a3a0d6ac864d5976/passbolt-python-api-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f70ce49e155020f3a0334a7679f19c28", "sha256": "f722c3860b1c597f28603d2ecaa36cf8a5f9a7218f31eb3ca1b8ad543feafe54" }, "downloads": -1, "filename": "passbolt_python_api-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "f70ce49e155020f3a0334a7679f19c28", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4830, "upload_time": "2019-10-02T14:08:47", "url": "https://files.pythonhosted.org/packages/db/76/8fcff6d1ae8657ebfdc7785cc62afc07ac08f942526af41d3f641fcd05f8/passbolt_python_api-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cefbfb76daf122f3e6d7e36e1f7ffbb7", "sha256": "53b0f38ce467b9c6af368f9ad163b59829fe4395f5f3f5fabf0a955f633a3707" }, "downloads": -1, "filename": "passbolt-python-api-0.1.2.tar.gz", "has_sig": false, "md5_digest": "cefbfb76daf122f3e6d7e36e1f7ffbb7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3991, "upload_time": "2019-10-02T14:08:49", "url": "https://files.pythonhosted.org/packages/dd/54/975f496f4cf3218e6c8ac1ccb2a0680830227f0b8393a3a0d6ac864d5976/passbolt-python-api-0.1.2.tar.gz" } ] }