Skip to main content

vbot-api

Zero-dependency Python client for the VBot API at https://api.vbot.de5.net.

Pure standard library — no requests, no httpx, nothing to install besides you.

Install

pip install vbot-api

Quickstart

from vbot_api import VBotAPI

api = VBotAPI()                      # https://api.vbot.de5.net
api.status()                         # {"ok": true, "online": true, ...}
api.quote()                          # random developer quote
api.quote(author="Knuth")            # filtered by author
api.time(tz="America/New_York")      # server time, any IANA tz
api.echo(hello="world")              # request echo (debug)
api.echo(body={"k": 1}, method="POST")  # POST a JSON body
api.health()                         # True / False

CLI

python -m vbot_api status
python -m vbot_api quote --author Knuth
python -m vbot_api time --tz Asia/Tokyo
python -m vbot_api endpoints

TLS note

The API host currently serves a certificate issued to a sibling domain, so certificate verification is off by default. Enable it once a matching certificate is installed:

VBotAPI(verify_ssl=True)
# or
export VBOT_API_VERIFY=1

Configuration

Env var Effect
VBOT_API_BASE Override the API origin
VBOT_API_VERIFY 1/true → verify TLS certificates

Endpoints

Path Description
/ API manifest
/status Service health + uptime
/quote Random developer quote (?author= to filter)
/time Current time in several formats (?tz=)
/echo Echo back params, body, headers and IP

License

MIT

Metadata

Release files for vbot-api 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vbot-api 1.0.0
File Size Uploaded Provenance Actions
vbot_api-1.0.0.tar.gz 4.7 kB Without provenance Details for vbot_api-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vbot-api 1.0.0
File Interpreter ABI Platform Actions
vbot_api-1.0.0-py3-none-any.whl Python 3 none any Details for vbot_api-1.0.0-py3-none-any.whl

Total release size: 10.0 kB

Release files / vbot_api-1.0.0.tar.gz

Download URL vbot_api-1.0.0.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
31ae19d389ee653b8dcf58819263e44016bc1691b8a45b840dbf9cf291f5c9d3
BLAKE2b-256 checksum
How to use checksums
1b842d7e573df723ed429b868199983c9337cc333ddd5a7a9eea71aab66317ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / vbot_api-1.0.0-py3-none-any.whl

Download URL vbot_api-1.0.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ad55d0b59ffcb9a6eb4c63b3dd78d3b7cc1a371dc8ac36ce743714dccd10524
BLAKE2b-256 checksum
How to use checksums
2b37575622c0333bf6cd53bd4d7cd22795f7011894c9822815f5b6f9183a522e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for vbot-api 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page