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.

[!IMPORTANT] !WARNING! this version of library is very unstable

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

Usage

Optional: specify IGNORE_MISSING_AND_EXTRA_FIELDS environment variable to disable 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
    • video
    • entities parsing

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.22.tar.gz (40.4 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.22-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for boosty-0.0.22.tar.gz
Algorithm Hash digest
SHA256 d9bcea5582fcd4667f3a1b0eeea5dc31d4bb3abb5255f5a3375acf93a7042a46
MD5 809df8f095e996a4f88366181ab65f45
BLAKE2b-256 3a39686d12e9f5c8b62a3f1af14ccdbab9bb9d4e04379c48497394ff33f8258d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for boosty-0.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 7ba039e760e8d37a4b929f467b77d668c3c04975805c6fe69d244d552c8bb770
MD5 9223e1311a82e11bb8328619fb6a0c47
BLAKE2b-256 e7242995804a35be61309d107a5c6f50d2629e3f296ac4015b2ee110dfa76cf9

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