{ "info": { "author": "Kieran Hogg", "author_email": "kieran.hogg@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# python-breathe\nA Python wrapper for the Breathe HR API.\n\n## Installation\n`pip install python-breathe`\n\n## Usage\n```\n>>> from breathe.client import Client\n>>> c = Client(api_key=\"123456\", mode=\"sandbox\")\n>>> c.employees.all()\n[{'length_of_service_in_months': 0, 'age': None, 'full_or_part_time': None, 'notice_period': None, 'photo_url': '', 'working_pattern': {'id': 2842, 'name': 'standard working week', 'total_hours': '37.5', 'default': True}, 'holiday_allowance': {'name': 'standard holiday allowance', 'id': 2913}, 'line_manager': None, 'holiday_approver': None, 'department': None, 'division': None, 'location': None, 'gender': None, 'statutory_holiday_country': None, 'receives_statutory_holidays': False, 'salary': None, 'status': 'Current employee', 'job_start_date': None, 'job_title': None, 'hr': True, 'custom_fields': None, 'id': 1795, 'account_id': 798, 'first_name': 'Joe', 'middle_name': None, 'last_name': 'Bloggs', 'email': 'jbloggs@acme.com', 'join_date': None, 'dob': None, 'known_as': None, 'marital_status': None, 'nationality': None, 'ethnicity': None, 'national_insurance_no': None, 'driving_license': None, 'ddi': None, 'work_ext': None, 'work_mobile': None, 'personal_mobile': None, 'home_telephone': None, 'personal_email': None, 'address1': None, 'address2': None, 'address3': None, 'city': None, 'county': None, 'postcode': None, 'country': None, 'linked_in': None, 'facebook': None, 'skype': None, 'twitter': None, 'bank_name': None, 'bank_branch': None, 'sort_code': None, 'account_number': None, 'building_society': None, 'ref_number': None, 'leaving_date': None, 'employee_ref': None, 'contract_provider': None, 'probation_date': None, 'remuneration_currency': {'id': 2, 'currency_code': 'GBP', 'currency_symbol': '\u00a3', 'description': 'British Pound', 'created_at': None, 'updated_at': None, 'deleted_at': None}, 'created_at': '2018-03-22T11:12:02+00:00', 'updated_at': '2018-03-22T11:12:02+00:00'},]\n>>> c.employees.get(1795)\n{'length_of_service_in_months': 0, 'age': None, 'full_or_part_time': None, 'notice_period': None, 'photo_url': '', 'working_pattern': {'id': 2842, 'name': 'standard working week', 'total_hours': '37.5', 'default': True}, 'holiday_allowance': {'name': 'standard holiday allowance', 'id': 2913}, 'line_manager': None, 'holiday_approver': None, 'department': None, 'division': None, 'location': None, 'gender': None, 'statutory_holiday_country': None, 'receives_statutory_holidays': False, 'salary': None, 'status': 'Current employee', 'job_start_date': None, 'job_title': None, 'hr': True, 'custom_fields': None, 'id': 1795, 'account_id': 798, 'first_name': 'Joe', 'middle_name': None, 'last_name': 'Bloggs', 'email': 'jbloggs@acme.com', 'join_date': None, 'dob': None, 'known_as': None, 'marital_status': None, 'nationality': None, 'ethnicity': None, 'national_insurance_no': None, 'driving_license': None, 'ddi': None, 'work_ext': None, 'work_mobile': None, 'personal_mobile': None, 'home_telephone': None, 'personal_email': None, 'address1': None, 'address2': None, 'address3': None, 'city': None, 'county': None, 'postcode': None, 'country': None, 'linked_in': None, 'facebook': None, 'skype': None, 'twitter': None, 'bank_name': None, 'bank_branch': None, 'sort_code': None, 'account_number': None, 'building_society': None, 'ref_number': None, 'leaving_date': None, 'employee_ref': None, 'contract_provider': None, 'probation_date': None, 'remuneration_currency': {'id': 2, 'currency_code': 'GBP', 'currency_symbol': '\u00a3', 'description': 'British Pound', 'created_at': None, 'updated_at': None, 'deleted_at': None}, 'created_at': '2018-03-22T11:12:02+00:00', 'updated_at': '2018-03-22T11:12:02+00:00'}\n>>> c.employees.count()\n1\n>>> c.employees.create({\"first_name\": \"Pete\", \"last_name\":\"Smith\", \"email\": \"psmith@acme.com\", \"join_date\": \"01/01/2000\"})\n```\n\n## Supported Objects and Methods\n* Employees\n * `get()`\n * `create()`\n * `all()`\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kieranhogg/breathe", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "python-breathe", "package_url": "https://pypi.org/project/python-breathe/", "platform": "", "project_url": "https://pypi.org/project/python-breathe/", "project_urls": { "Homepage": "https://github.com/kieranhogg/breathe" }, "release_url": "https://pypi.org/project/python-breathe/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "A Python wrapper for the Breathe HR API", "version": "0.0.2" }, "last_serial": 4520957, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "ef2099fe29b2dfec3c4e194692beac24", "sha256": "167c22afb074d9ef062451c0e97a0371e2019a78bf9cdc354fc52425f2aa861d" }, "downloads": -1, "filename": "python_breathe-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ef2099fe29b2dfec3c4e194692beac24", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5228, "upload_time": "2018-10-30T11:32:55", "url": "https://files.pythonhosted.org/packages/d4/d3/22edba272a44d8c63deac0229b60124584e6d84d2221d4227253cf2c9272/python_breathe-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9dbea1b770fea6c220417218d5642fcb", "sha256": "10b69f3175eaa0d4babe1de7b11f97540413d357e83d1e0849c2ae17d648fb1d" }, "downloads": -1, "filename": "python_breathe-0.0.1.tar.gz", "has_sig": false, "md5_digest": "9dbea1b770fea6c220417218d5642fcb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3488, "upload_time": "2018-10-30T11:32:56", "url": "https://files.pythonhosted.org/packages/4a/89/e0217996101f124a41f332d1e4343941aecee8cb965fed62b95e1cc4ebab/python_breathe-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "fc15fa0ef7dd6b51ef0e5793a5c3cf1d", "sha256": "aabecc53196cb5d512fe72da9fe66f168fc5aa1ea85309bcf2ede8a51ef0a471" }, "downloads": -1, "filename": "python_breathe-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "fc15fa0ef7dd6b51ef0e5793a5c3cf1d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6431, "upload_time": "2018-11-23T15:05:12", "url": "https://files.pythonhosted.org/packages/15/d9/1cc5ae17973614245cf7b455ef22b704a7caca62de571bbd4d5713806e6b/python_breathe-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6bfd1a5793c01673674db92ab2129523", "sha256": "72c229f929169c41b67dca9aaf9d0940b05935d731a6e390855478912f89bee0" }, "downloads": -1, "filename": "python_breathe-0.0.2.tar.gz", "has_sig": false, "md5_digest": "6bfd1a5793c01673674db92ab2129523", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4039, "upload_time": "2018-11-23T15:05:15", "url": "https://files.pythonhosted.org/packages/c2/38/29048958f58af1541a18205a1bb5b49c9a4dc26141aa63b3dc34c253860b/python_breathe-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fc15fa0ef7dd6b51ef0e5793a5c3cf1d", "sha256": "aabecc53196cb5d512fe72da9fe66f168fc5aa1ea85309bcf2ede8a51ef0a471" }, "downloads": -1, "filename": "python_breathe-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "fc15fa0ef7dd6b51ef0e5793a5c3cf1d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6431, "upload_time": "2018-11-23T15:05:12", "url": "https://files.pythonhosted.org/packages/15/d9/1cc5ae17973614245cf7b455ef22b704a7caca62de571bbd4d5713806e6b/python_breathe-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6bfd1a5793c01673674db92ab2129523", "sha256": "72c229f929169c41b67dca9aaf9d0940b05935d731a6e390855478912f89bee0" }, "downloads": -1, "filename": "python_breathe-0.0.2.tar.gz", "has_sig": false, "md5_digest": "6bfd1a5793c01673674db92ab2129523", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4039, "upload_time": "2018-11-23T15:05:15", "url": "https://files.pythonhosted.org/packages/c2/38/29048958f58af1541a18205a1bb5b49c9a4dc26141aa63b3dc34c253860b/python_breathe-0.0.2.tar.gz" } ] }