Skip to main content

Asynchronous boosty wrapper with some utils

Project description

BoostyPy

Boosty Wrapper

PyPI - Version PyPI - Python Version Hatch project


Table of Contents

Installation

pip install boosty

License

boosty is distributed under the terms of the MIT license.

!WARNING! this version of library is very unstable

If you use it, contact maintainer to help make it stable

Usage

Optional: specify DEBUG environment variable to enable strict schema validation

Optional: fill auth.json file with authentication data:

{
  "access_token": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
  "device_id": "ffffffff-ffff-ffff-ffff-ffffffffffff",
  "expires_at": 12345678900,
  "refresh_token": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}

Example:

from boosty.api import API

api = API()
response = await api.get_post("boosty", post_id="c9fb8a19-c45e-4602-9942-087c3af28c1b")
print(response.title)
# 'Добро пожаловать на борт!'

More examples in examples/ folder

TODO for stable release

  • api schema
    • add access levels logic for requests
  • minimal docs
  • useful properties for models
  • merge reply comment with comment model
  • add examples
    • render text
    • get video url
    • get comment url
  • add tests
    • boosty profile
    • comments
    • replies

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

boosty-0.0.13.tar.gz (38.7 kB view details)

Uploaded Source

Built Distribution

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

boosty-0.0.13-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file boosty-0.0.13.tar.gz.

File metadata

  • Download URL: boosty-0.0.13.tar.gz
  • Upload date:
  • Size: 38.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.25.0

File hashes

Hashes for boosty-0.0.13.tar.gz
Algorithm Hash digest
SHA256 77ea0fe4004eb46c515ab00e800bfdd036bb91a5487a214b4bb9f00565f773ff
MD5 3e81daf31e97c46dc021c69e0a7a1cee
BLAKE2b-256 0ddac81c845f5d4f21ce8a0ecef3f32d801a6f23805ed95bec6ed451c7b12273

See more details on using hashes here.

File details

Details for the file boosty-0.0.13-py3-none-any.whl.

File metadata

  • Download URL: boosty-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.25.0

File hashes

Hashes for boosty-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 e4393b247a813b3ec67c489cab7e6dfa0e391b8646491855dcb3295bf4e9ff40
MD5 09d8901f6015b42429c2ddaebe80a5ac
BLAKE2b-256 5b6c9b02fb73570f86913f14e97bafbac45c195a11fc9b9f2683a987c5d62edc

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