Skip to main content

Hoist

Developer-oriented client-server communication

Quick Example

import hoist

server = hoist.start("test")

@server.receive("hello")
async def hello(message: hoist.Message) -> None:
    print("server got hello")
    await message.reply("hi")
import hoist

@hoist.connect_with("test")
async def main(server: hoist.Connection):

    @server.receive("hi")
    async def hello():
        print("client got hi")

    await server.message("hello")

Features

  • Fully type safe
  • Async ready
  • Modern API

Installation

Linux/macOS

python3 -m pip install -U hoist-http

Windows

py -3 -m pip install -U hoist-http

Metadata

Release files for hoist-http 1.0.1

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

Source distribution (sdist)

Source distribution for hoist-http 1.0.1
File Size Uploaded Provenance Actions
hoist_http-1.0.1.tar.gz 30.0 kB Without provenance Details for hoist_http-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hoist-http 1.0.1
File Interpreter ABI Platform Actions
hoist_http-1.0.1-py3-none-any.whl Python 3 none any Details for hoist_http-1.0.1-py3-none-any.whl

Total release size: 65.0 kB

Release files / hoist_http-1.0.1.tar.gz

Download URL hoist_http-1.0.1.tar.gz
Size 30.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cb87f4f6c29c02c4df95a38cb2fe0d00fdb2a82adfbd5a737e34d2a4c6148eac
BLAKE2b-256 checksum
How to use checksums
5dc7029abaca441616e949d234c09f0fbe0644c680d9a027dfac647968434040
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / hoist_http-1.0.1-py3-none-any.whl

Download URL hoist_http-1.0.1-py3-none-any.whl
Size 35.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aeb30bf77caff3f46a41f258588b66025a06c2bf523417da7fa52a56646a9437
BLAKE2b-256 checksum
How to use checksums
ef66fafb080525126b127d42e2534e409883a838c640475345ed22841fafbeb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for hoist-http 1.0.1

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.

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