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)
# 'Добро пожаловать на борт!'

TODO for stable release

  • api schema
    • add access for requests
  • minimal docs
  • tests

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.3.tar.gz (35.1 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.3-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for boosty-0.0.3.tar.gz
Algorithm Hash digest
SHA256 847cd41e2741fd77d56fe88ecd5b2c87db8e9f0fcd3f36dc3fb4ccaa58ea1401
MD5 eff23be728d3752573e8ee3f49801266
BLAKE2b-256 0384fc40f78a528a33463707b189b452732a44df02fa0604f326d01527ff3f13

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for boosty-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 923651fcb4a1c2b76fdc34afb0c0944da0c438fa5557d74a229f7d492092e7bb
MD5 b50e36b629dbd04ce85b843ed3d3cdae
BLAKE2b-256 d7e851e7ec535ec1ba1a588f14522df1068bbd0f62c7a9a01baf3fe842b77f52

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