Skip to main content

Simple async wrapper for kwork.

Project description

kwork

Асинхронная обёртка над API фриланс-биржи kwork.ru

Установка

uv add kwork

или последняя версия:

uv add git+https://github.com/kesha1225/pykwork

Быстрый старт

import asyncio
from kwork import Kwork

async def main():
    api = Kwork(
        login="login",
        password="password",
        # Таймаут на запросы (секунды) или aiohttp.ClientTimeout(...)
        timeout=30.0,
        # Ретраи на 5xx/429 и сетевые ошибки (ограниченные попытки)
        retry_max_attempts=3,
    )

    try:
        me = await api.get_me()
        print(f"{me.username} | {me.free_amount} {me.currency}")
    finally:
        await api.close()

asyncio.run(main())

📚 Документация — один дружелюбный гайд (API-клиент, боты, прокси, web-авторизация и отклик на бирже)

Contributors

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

kwork-0.2.0.tar.gz (38.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kwork-0.2.0-py3-none-any.whl (40.2 kB view details)

Uploaded Python 3

File details

Details for the file kwork-0.2.0.tar.gz.

File metadata

  • Download URL: kwork-0.2.0.tar.gz
  • Upload date:
  • Size: 38.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kwork-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0411f34d0c9ddaf25e173d24cb0855de7a312f527ffb79b092ea16f035200560
MD5 6f130b3262f120c70cde7316f9aee548
BLAKE2b-256 40db547dcb213dde121e609d7236f758b9f51f6f074055a2ce35efdefdd96b16

See more details on using hashes here.

File details

Details for the file kwork-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: kwork-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 40.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kwork-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da3b8ff9dae35d48853d4b95027557df32f85c0072e30ddf4fe6e04a8e98f30b
MD5 40fe72ca317c169fe79acc3ab616a08e
BLAKE2b-256 8c5dce793abce881910287f2f39984821316448b29d872fa1c1486abb9b694b6

See more details on using hashes here.

Supported by

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