Skip to main content

bare-kit-python

Python bindings for Bare Kit, which runs Bare in a thread of its own within the application, known as a worklet, with an IPC to it exposed as Bare.IPC inside the worklet.

pip install bare-kit

Usage

import asyncio
from pathlib import Path

from bare_kit import start


async def main():
    async with await start(Path(__file__).parent / "app.bundle") as worklet:
        await worklet.write(b"Hello world")

        async for data in worklet:
            print(data.decode())


asyncio.run(main())

Where app.bundle is a Bare bundle using Bare.IPC:

Bare.IPC.on('data', (data) => Bare.IPC.end(data))

Closing a worklet terminates it, so keep it open for as long as it should run. Once closed, terminate() does nothing and suspend(), resume() and wakeup() raise ValueError.

License

Apache-2.0

Metadata

Release files for bare-kit 0.1.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 bare-kit 0.1.1
File Size Uploaded Provenance Actions
bare_kit-0.1.1.tar.gz 13.2 kB With provenance Details for bare_kit-0.1.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for bare-kit 0.1.1
File Actions
bare_kit-0.1.1-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for bare_kit-0.1.1-py3-none-win_arm64.whl
bare_kit-0.1.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for bare_kit-0.1.1-py3-none-win_amd64.whl
bare_kit-0.1.1-py3-none-manylinux_2_34_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64 Details for bare_kit-0.1.1-py3-none-manylinux_2_34_x86_64.whl
bare_kit-0.1.1-py3-none-manylinux_2_34_aarch64.whl Python 3 none Linux glibc 2.34+ ARM64 Details for bare_kit-0.1.1-py3-none-manylinux_2_34_aarch64.whl
bare_kit-0.1.1-py3-none-macosx_13_0_x86_64.whl Python 3 none macOS 13.0+ x86-64 Details for bare_kit-0.1.1-py3-none-macosx_13_0_x86_64.whl
bare_kit-0.1.1-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for bare_kit-0.1.1-py3-none-macosx_13_0_arm64.whl

Total release size: 93.6 MB

Release files / bare_kit-0.1.1.tar.gz

Download URL bare_kit-0.1.1.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6fd16de82bce2aa45d3b3f9b507ff8f8f828c6eff1938b3d3dec171ffc269c8a
BLAKE2b-256 checksum
How to use checksums
72b497bdffd3b2ec342ce0280821e12f4e4ce2104ed81c64c0d569d43a570c78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / bare_kit-0.1.1-py3-none-win_arm64.whl

Download URL bare_kit-0.1.1-py3-none-win_arm64.whl
Size 15.6 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
4f81f5fa068b0387af813f866f6d37b1d502f44440772ecde13cc2b17bf62eec
BLAKE2b-256 checksum
How to use checksums
5870b7133a3e02eacdb9573c663f4a557d5974fdaf83ea264e6745043a7d905f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / bare_kit-0.1.1-py3-none-win_amd64.whl

Download URL bare_kit-0.1.1-py3-none-win_amd64.whl
Size 16.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
fd7e6429c1891a5614de3f3dd350fb1fd7845b23a5a8d997a5ce37a621aab2d6
BLAKE2b-256 checksum
How to use checksums
938fa0959ac2a2534e7e80b3ace8d59f2b506595df605023c9b17442abf3c99f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / bare_kit-0.1.1-py3-none-manylinux_2_34_x86_64.whl

Download URL bare_kit-0.1.1-py3-none-manylinux_2_34_x86_64.whl
Size 15.6 MB
Tags Linux glibc 2.34+ x86-64 Python 3
SHA-256 checksum
How to use checksums
a4323c308a7f0b458fb2f8655af03a41ca282d663daa8b67f547fa5baef044d6
BLAKE2b-256 checksum
How to use checksums
d0745c3b59954dc9c5f24f6c442d351cad7e514eb6ccb2e261be0374f0c15dcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / bare_kit-0.1.1-py3-none-manylinux_2_34_aarch64.whl

Download URL bare_kit-0.1.1-py3-none-manylinux_2_34_aarch64.whl
Size 15.3 MB
Tags Linux glibc 2.34+ ARM64 Python 3
SHA-256 checksum
How to use checksums
82a90f47c66cd8a4d0df22687133060ba6f56ea46451e79e3ac90dde879f51ff
BLAKE2b-256 checksum
How to use checksums
2c7f104970babb45a6ecb947c4d712553af6b7293a106de55d03aa5eb8e2a541
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / bare_kit-0.1.1-py3-none-macosx_13_0_x86_64.whl

Download URL bare_kit-0.1.1-py3-none-macosx_13_0_x86_64.whl
Size 15.7 MB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
bbfbce586d5973711b0493c09c75ef26ba07ff26aa6df1eff23cdce51406dc80
BLAKE2b-256 checksum
How to use checksums
1c279107fd1c2a5ec299b23577dee17e6f4a8be515d511a7953bf1f35304ebbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / bare_kit-0.1.1-py3-none-macosx_13_0_arm64.whl

Download URL bare_kit-0.1.1-py3-none-macosx_13_0_arm64.whl
Size 15.0 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
8aaaf80e854582579398c20a8f0f91fe9794d0752aa86dea21010968b8b71810
BLAKE2b-256 checksum
How to use checksums
f4bf152366a8bc0b50274f68a4769776ca0edf20dc939e0be8c7efaf6196bd76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Security for bare-kit 0.1.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.

Full provenance

All 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for bare_kit-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

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