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.4.tar.gz (35.5 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.4-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for boosty-0.0.4.tar.gz
Algorithm Hash digest
SHA256 7007b67257c5381a554d35fb0ff544c248094f3a283ed691e407da23dd47a6cf
MD5 431b1b12a2c44edab8769f2d598219ed
BLAKE2b-256 bfa4262fef22874a04714c641f842524d90db06126c0e09863959172f9e7892b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for boosty-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d7b1aa782aec8d3ad584179024222ce71ab9bdb7d3c8e0985755b8c3b633d376
MD5 f61f0491b23ab01fba3a771e839ba7fc
BLAKE2b-256 73f93bdca06be7dce7dffba7a6c30ff40e530d180bc150c5254f3ce50087ea73

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