{ "info": { "author": "Peregrine Dunn", "author_email": "perrydunn@hotmail.co.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Topic :: Office/Business :: Scheduling" ], "description": "# PyStaffo\n*PyStaffo* is a Python wrapper library for the Staffomatic/Easypep API that simplifies many common tasks.\n\n## Installation\nEither from PyPi:\n\n```\n$ pip install PyStaffo\n```\n\nOr from GitHub:\n\n```\n$ pip install git+https://github.com/perrydunn/PyStaffo\n```\n\n## Requirements\n* Python 3 except 3.2 (untested on Python 2)\n* You need a Staffomatic account! A Staffomatic account includes a sub-domain name, and login details as a username and password.\n\n## Basic Use\n```\nfrom pystaffo import StaffoAccount\n\nsubdomain = ''\nusername = ''\npassword = ''\n\naccount = StaffoAccount(subdomain=subdomain, username=username, password=password)\n\n# The locations and departments are cached as attributes of the class instance.\n# Return dictionary of {'department_name': department_id, ...}:\naccount.locations\n\n# Return the information of a particular location:\naccount.get_location('Westway')\n```\n\n## Nuts and Bolts\nA ```StaffoAccount()``` instance has various ```GET```, ```PUT``` and ```POST``` API calls expressed as methods: these will be added to. So far there are no ```DELETE``` calls.\n\nPlease refer to the ```staffo.py``` for the methods currently available, and feel free to add some more!\n\n### Timezone Handling\nPyStaffo handles timezones for you, using the timezone detailed in your account. If there are timezone issues you may need to look \"under the hood\". Please suggest improvements/alternatives.\n\n### Contributing\nIf you would like to see features added or tweaked, please fork, make your changes and open a PR. Feel free to get in touch too.\n\n### Aknowledgements\n- [**Staffomatic API Documentation**](https://github.com/staffomatic/staffomatic-api-documentation)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/perrydunn/PyStaffo", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "PyStaffo", "package_url": "https://pypi.org/project/PyStaffo/", "platform": "", "project_url": "https://pypi.org/project/PyStaffo/", "project_urls": { "Homepage": "http://github.com/perrydunn/PyStaffo" }, "release_url": "https://pypi.org/project/PyStaffo/0.1.4/", "requires_dist": null, "requires_python": "", "summary": "A Staffomatic API Python wrapper", "version": "0.1.4" }, "last_serial": 5397353, "releases": { "0.0.dev2": [ { "comment_text": "", "digests": { "md5": "59a4d8670b15fc949ae2cb0923c727fa", "sha256": "3c4c14070225e0464b290b1556c2b8a011148ab830db85581d9221d212d387ca" }, "downloads": -1, "filename": "PyStaffo-0.0.dev2-py3-none-any.whl", "has_sig": false, "md5_digest": "59a4d8670b15fc949ae2cb0923c727fa", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6432, "upload_time": "2018-10-23T15:19:32", "url": "https://files.pythonhosted.org/packages/45/01/41343ce7234797345420081eebc699467525bb3cd1c81cb4a0e1d14173f3/PyStaffo-0.0.dev2-py3-none-any.whl" } ], "0.0.dev3": [ { "comment_text": "", "digests": { "md5": "88921bcd4aa58ffec812f513c1ef11ca", "sha256": "58eacaad28aab2fd6c5a90c7071130b5f6632ca8770defcc6859c63251713466" }, "downloads": -1, "filename": "PyStaffo-0.0.dev3-py3-none-any.whl", "has_sig": false, "md5_digest": "88921bcd4aa58ffec812f513c1ef11ca", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6412, "upload_time": "2018-10-23T15:19:33", "url": "https://files.pythonhosted.org/packages/53/65/f4c6624568061d178205865bc2933c17cd059f1bf35ec4b4a917d1e73b1e/PyStaffo-0.0.dev3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cc2ac99a72ae0d805d26408b8a8d6a5a", "sha256": "7a28215709f81699ea4de4006ed222c8d8443e36d77952f23576c3fec0d11dfb" }, "downloads": -1, "filename": "PyStaffo-0.0.dev3.tar.gz", "has_sig": false, "md5_digest": "cc2ac99a72ae0d805d26408b8a8d6a5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5913, "upload_time": "2018-08-18T16:11:51", "url": "https://files.pythonhosted.org/packages/4b/f9/f046e62ef4f9cdec87aaff76b74097d5051d5eb39cecd2d4899c0a1efb10/PyStaffo-0.0.dev3.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "aa53155d31c1565241dab0749ee717f3", "sha256": "9bc5152bf87c3cca151635f4f7bdb174886909d7495d05d759b4208558c6469a" }, "downloads": -1, "filename": "PyStaffo-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "aa53155d31c1565241dab0749ee717f3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8008, "upload_time": "2018-10-23T15:19:35", "url": "https://files.pythonhosted.org/packages/d4/67/e15631f1c8ce096515661b2cc06b7c651050fa6fef00ba446982576710f0/PyStaffo-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d706aca3c01ef36f93ff9ab715725617", "sha256": "3a4d6cdc5e317b794bf39f4102514ee37d4b895af8b65c9b9771c695848020de" }, "downloads": -1, "filename": "PyStaffo-0.1.0.tar.gz", "has_sig": false, "md5_digest": "d706aca3c01ef36f93ff9ab715725617", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6582, "upload_time": "2018-10-17T07:06:52", "url": "https://files.pythonhosted.org/packages/7e/11/35990a7fa1a4347daa5d4908c5d413f22624b4317fbb4b15f6e234ec4f3d/PyStaffo-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "8496ee1e034413538f6d4715c6aa9776", "sha256": "1ec913cce1f8b72c5d647e07a6267ca2951095a415139722891cdde02d672c8c" }, "downloads": -1, "filename": "PyStaffo-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "8496ee1e034413538f6d4715c6aa9776", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8457, "upload_time": "2018-10-25T08:35:05", "url": "https://files.pythonhosted.org/packages/c9/2c/6d8f0106545b46ee0fb49029e221ce2773798bb38dbbbd3e3de4c2a794a9/PyStaffo-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "51f6be15ae1057093337ae475f5a4ac2", "sha256": "5e505a0adf3f87b5a035ab5c3d131738d870e022f5b62b15fe0a9d7e1c4109ee" }, "downloads": -1, "filename": "PyStaffo-0.1.1.tar.gz", "has_sig": false, "md5_digest": "51f6be15ae1057093337ae475f5a4ac2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6714, "upload_time": "2018-10-23T15:21:40", "url": "https://files.pythonhosted.org/packages/26/13/587c27c735afcb38ca0b92feeaf32d2d6ed3e2843474c502983d06d3c228/PyStaffo-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "a01f896e8f9394447e0a74b963fc5639", "sha256": "3e72ff8ce767088475908cdfb066d505af4b1364f8043490bf57e74b96c5b770" }, "downloads": -1, "filename": "PyStaffo-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "a01f896e8f9394447e0a74b963fc5639", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8542, "upload_time": "2018-10-25T10:59:29", "url": "https://files.pythonhosted.org/packages/19/c0/7cfabd9387e2c134ddd673e3391480d478f968cdc94a25b5cf965343a1ec/PyStaffo-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "84968a4639e4a95eea0e32ec1c097a7f", "sha256": "174e2196525d121615c1040f86b5cdec77afefde85388f9ec5d84e294deb6297" }, "downloads": -1, "filename": "PyStaffo-0.1.2.tar.gz", "has_sig": false, "md5_digest": "84968a4639e4a95eea0e32ec1c097a7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6869, "upload_time": "2018-10-25T10:59:30", "url": "https://files.pythonhosted.org/packages/d4/9e/8889f431e4abc12ffd571cf9bf81b7a1848202a3ed478a0241a983687ed3/PyStaffo-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "2f4c7e9b3599a008e5e23d11bb8d48d7", "sha256": "73c81150bbf44b77c49df9453142b4bdc97dc8a5ae6fa248fd565662d8035f7a" }, "downloads": -1, "filename": "PyStaffo-0.1.3.tar.gz", "has_sig": false, "md5_digest": "2f4c7e9b3599a008e5e23d11bb8d48d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7406, "upload_time": "2019-06-13T18:47:49", "url": "https://files.pythonhosted.org/packages/a1/d6/d68bf1edc64dfb61d73d596a1ee82fd5b88372b7d5acd407eb33d8e0df14/PyStaffo-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "bb421b3ed9a544cd8fe59a35ff7f12b1", "sha256": "fcb5cf272bd15b8163a1b492b88668aaf076b3eccb49de5f7b96c12940bab50b" }, "downloads": -1, "filename": "PyStaffo-0.1.4.tar.gz", "has_sig": false, "md5_digest": "bb421b3ed9a544cd8fe59a35ff7f12b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7404, "upload_time": "2019-06-13T19:05:24", "url": "https://files.pythonhosted.org/packages/c3/6d/ee02f5a0b2437abc6db98eae9ea6cf59cd5b642b3d8016b6373fb600603a/PyStaffo-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bb421b3ed9a544cd8fe59a35ff7f12b1", "sha256": "fcb5cf272bd15b8163a1b492b88668aaf076b3eccb49de5f7b96c12940bab50b" }, "downloads": -1, "filename": "PyStaffo-0.1.4.tar.gz", "has_sig": false, "md5_digest": "bb421b3ed9a544cd8fe59a35ff7f12b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7404, "upload_time": "2019-06-13T19:05:24", "url": "https://files.pythonhosted.org/packages/c3/6d/ee02f5a0b2437abc6db98eae9ea6cf59cd5b642b3d8016b6373fb600603a/PyStaffo-0.1.4.tar.gz" } ] }