Skip to main content

HH.ru wrapper library (jobs searching)

Project description

hhru

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

import hhru

# Default client, with `Anonymous` auth and `API` provider
client = hhru.Client()
# 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

# 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hhru-0.1.1.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

hhru-0.1.1-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file hhru-0.1.1.tar.gz.

File metadata

  • Download URL: hhru-0.1.1.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Windows/11

File hashes

Hashes for hhru-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5e59e2feb4289ce6d243870720cc063d19d567e310cd242e9bdbb24642591174
MD5 eccacf99a6bd473d582018c707cdc34b
BLAKE2b-256 824c5bdd1b5e73d974a418a056a887842c9ee5cbb9baa27e6e433e3319a7f303

See more details on using hashes here.

File details

Details for the file hhru-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: hhru-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Windows/11

File hashes

Hashes for hhru-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 277e4b9496ebdfd365f2c2a54540d93dc1210b2d6b511f6d4939121f7258f1ef
MD5 eb98782c3c6adbb483113561112945e7
BLAKE2b-256 a792009f7bd954fd7d271a95603a200a0c59e32b6833b17c0864fe8c78ec8262

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page