# hhru
[HH.ru](https://hh.ru/) wrapper library for Python.
There is providers for API and Web (Currently, not implemented) \
For authentication, there is `Anonymous` mode, along with other authentications (currently, also not implemented)
### Features
- Anonymous vacancies searches via API
(There is currently boilerplates / not finished features for using authentication / web provider)
### How to install
```
pip install hhru
```
### Example usage
```python
import hhru
# Default client, with `Anonymous` auth and `API` provider
client = hhru.Client()
```
```python
# List first page of Python remote vacancies, sorted by new.
# You can use strings as params or look into `consts` module
vacancies = client.search_vacancies_over_pages(
text="Python",
search_field="name",
order_by="publication_time",
schedule="remote",
)
```
### Using web provider or custom authentication
```python
# Client with web provider and given authentication data
# TODO: Currently, that will behave like API provider (no implementations for web)
client = hhru.Client(
backend=hhru.BackendWebProvider(
auth=DirectAuthProvider(
login="login",
password="password"
)
)
)
```
### References
- API repo: https://github.com/hhru/api
- API docs: https://api.hh.ru/openapi/redoc
Raw data
{
"_id": null,
"home_page": null,
"name": "hhru",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.7",
"maintainer_email": null,
"keywords": "hhru, hh.ru, hh api, headhunter, jobs, wrapper, api",
"author": "Kirill Zhosul",
"author_email": "kirillzhosul@yandex.com",
"download_url": "https://files.pythonhosted.org/packages/82/4c/5bdd1b5e73d974a418a056a887842c9ee5cbb9baa27e6e433e3319a7f303/hhru-0.1.1.tar.gz",
"platform": null,
"description": "# hhru\n\n[HH.ru](https://hh.ru/) wrapper library for Python.\n\nThere is providers for API and Web (Currently, not implemented) \\\nFor authentication, there is `Anonymous` mode, along with other authentications (currently, also not implemented)\n\n### Features\n\n- Anonymous vacancies searches via API\n\n(There is currently boilerplates / not finished features for using authentication / web provider)\n\n### How to install\n\n```\npip install hhru\n```\n\n### Example usage\n\n```python\nimport hhru\n\n# Default client, with `Anonymous` auth and `API` provider\nclient = hhru.Client()\n```\n\n```python\n\n# List first page of Python remote vacancies, sorted by new. \n# You can use strings as params or look into `consts` module\nvacancies = client.search_vacancies_over_pages(\n text=\"Python\",\n search_field=\"name\",\n order_by=\"publication_time\",\n schedule=\"remote\",\n)\n```\n\n\n### Using web provider or custom authentication\n\n```python\n\n# Client with web provider and given authentication data\n# TODO: Currently, that will behave like API provider (no implementations for web)\nclient = hhru.Client(\n backend=hhru.BackendWebProvider(\n auth=DirectAuthProvider(\n login=\"login\", \n password=\"password\"\n )\n )\n)\n```\n\n\n### References\n\n- API repo: https://github.com/hhru/api\n- API docs: https://api.hh.ru/openapi/redoc\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "HH.ru wrapper library (jobs searching)",
"version": "0.1.1",
"project_urls": {
"Documentation": "https://github.com/kirillzhosul/hhru",
"Source": "https://github.com/kirillzhosul/hhru"
},
"split_keywords": [
"hhru",
" hh.ru",
" hh api",
" headhunter",
" jobs",
" wrapper",
" api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a792009f7bd954fd7d271a95603a200a0c59e32b6833b17c0864fe8c78ec8262",
"md5": "eb98782c3c6adbb483113561112945e7",
"sha256": "277e4b9496ebdfd365f2c2a54540d93dc1210b2d6b511f6d4939121f7258f1ef"
},
"downloads": -1,
"filename": "hhru-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "eb98782c3c6adbb483113561112945e7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.7",
"size": 15070,
"upload_time": "2024-04-23T15:35:02",
"upload_time_iso_8601": "2024-04-23T15:35:02.148393Z",
"url": "https://files.pythonhosted.org/packages/a7/92/009f7bd954fd7d271a95603a200a0c59e32b6833b17c0864fe8c78ec8262/hhru-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "824c5bdd1b5e73d974a418a056a887842c9ee5cbb9baa27e6e433e3319a7f303",
"md5": "eccacf99a6bd473d582018c707cdc34b",
"sha256": "5e59e2feb4289ce6d243870720cc063d19d567e310cd242e9bdbb24642591174"
},
"downloads": -1,
"filename": "hhru-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "eccacf99a6bd473d582018c707cdc34b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.7",
"size": 9885,
"upload_time": "2024-04-23T15:35:04",
"upload_time_iso_8601": "2024-04-23T15:35:04.131798Z",
"url": "https://files.pythonhosted.org/packages/82/4c/5bdd1b5e73d974a418a056a887842c9ee5cbb9baa27e6e433e3319a7f303/hhru-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-23 15:35:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "kirillzhosul",
"github_project": "hhru",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "hhru"
}