{ "info": { "author": "Miroslav Shubernetskiy", "author_email": "miroslav@miki725.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Utilities" ], "description": "PyZenfolio\n==========\n\n.. image:: https://badge.fury.io/py/pyzenfolio.png\n :target: http://badge.fury.io/py/pyzenfolio\n\nLight-weight Zenfolio API Python wrapper.\n\nUsing this wrapper is pretty straight-forward and does not\nrequire to use any special data-structures. Everything is\nreturned as an ``AttrDict`` (same as ``dict`` however\ndictionary items can be accessed via Python attribute\ndot notation ``foo['bar'] == foo.bar``).\n\nExample\n-------\n\n::\n\n from pyzenfolio import PyZenfolio\n\n api = PyZenfolio(auth={'username': 'foo', 'password': 'bar'})\n api.Authenticate()\n\n # lookup user\n user = api.LoadPublicProfile()\n # AttrDict allows to access items like this\n domain = user.DomainName\n uploaded_photos = user.PhotoCount\n\n # create photoset\n photoset = api.CreatePhotoSet(\n user.RootGroup.Id,\n attr={\n 'Title': 'foo'\n }\n )\n photoset_url = photoset.PageUrl\n\n # upload image\n api.UploadPhoto(photoset, 'bar.jpg')\n\n # get image download URL\n image = api.LoadPhotoSetPhotos(photoset.Id)\n url = image.OriginalUrl\n\n.. warning::\n\n This is a beta release. Please report bugs via GitHub issues.\n\n\n\n.. image:: https://d2weczhvl823v0.cloudfront.net/miki725/pyzenfolio/trend.png\n :alt: Bitdeli badge\n :target: https://bitdeli.com/free\n\nLicense\n-------\n\nThe source code can be found at `Github `_.\n\nThis library is licensed with `MIT License `_::\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights to\n use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\n the Software, and to permit persons to whom the Software is furnished to do so,\n subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\n INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A\n PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\n OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/miki725/pyzenfolio", "keywords": "zenfolio", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pyzenfolio", "package_url": "https://pypi.org/project/pyzenfolio/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyzenfolio/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/miki725/pyzenfolio" }, "release_url": "https://pypi.org/project/pyzenfolio/0.9.1/", "requires_dist": null, "requires_python": null, "summary": "Light-weight Zenfolio API Python wrapper.", "version": "0.9.1" }, "last_serial": 1849260, "releases": { "0.9": [ { "comment_text": "", "digests": { "md5": "3dd9049ae273bbde8f7a08af2e8be9c5", "sha256": "c648635c25f9a898862a739073144e4a349423bcafadc20dd58d4f8d9b00a32e" }, "downloads": -1, "filename": "pyzenfolio-0.9.tar.gz", "has_sig": false, "md5_digest": "3dd9049ae273bbde8f7a08af2e8be9c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10171, "upload_time": "2014-01-02T06:18:13", "url": "https://files.pythonhosted.org/packages/39/ae/5f01b48f5ca8f8f61c02f5f40681a52559f3025823a2f81a3331cfbe930b/pyzenfolio-0.9.tar.gz" } ], "0.9.1": [ { "comment_text": "", "digests": { "md5": "e5f1ee9339cb4de6ce5e0fcb2e3402b8", "sha256": "766d711438de7dd3f58066b251fcd9ca16d19146850a59e5c7be4a48eada66b0" }, "downloads": -1, "filename": "pyzenfolio-0.9.1.tar.gz", "has_sig": false, "md5_digest": "e5f1ee9339cb4de6ce5e0fcb2e3402b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10084, "upload_time": "2015-12-06T22:51:19", "url": "https://files.pythonhosted.org/packages/c3/44/aedccb7549f1ab74111d0ee8ad48c6f91bdb870997075eecbfb508c988e5/pyzenfolio-0.9.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e5f1ee9339cb4de6ce5e0fcb2e3402b8", "sha256": "766d711438de7dd3f58066b251fcd9ca16d19146850a59e5c7be4a48eada66b0" }, "downloads": -1, "filename": "pyzenfolio-0.9.1.tar.gz", "has_sig": false, "md5_digest": "e5f1ee9339cb4de6ce5e0fcb2e3402b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10084, "upload_time": "2015-12-06T22:51:19", "url": "https://files.pythonhosted.org/packages/c3/44/aedccb7549f1ab74111d0ee8ad48c6f91bdb870997075eecbfb508c988e5/pyzenfolio-0.9.1.tar.gz" } ] }