Skip to main content

bare-sidecar-python

Start and manage Bare sidecar processes from Python. The Python counterpart of bare-sidecar: it runs a Bare entry point in a child process with an IPC connection to it, exposed as Bare.IPC inside the process. The Bare executable is shipped in platform wheels.

pip install bare-sidecar

Usage

import asyncio

from bare_sidecar import spawn


async def main():
    async with await spawn("app.js") as sidecar:
        await sidecar.write(b"Hello world")

        async for data in sidecar:
            print(data)


asyncio.run(main())

Where app.js is a Bare entry point using Bare.IPC:

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

License

Apache-2.0

Metadata

Release files for bare-sidecar 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-sidecar 0.1.1
File Size Uploaded Provenance Actions
bare_sidecar-0.1.1.tar.gz 18.7 kB Without provenance Details for bare_sidecar-0.1.1.tar.gz

Built distributions (wheels)

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

Total release size: 114.1 MB

Release files / bare_sidecar-0.1.1.tar.gz

Download URL bare_sidecar-0.1.1.tar.gz
Size 18.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3f2950396be957868d49cf3fb5468d8e0f3562a67a7f78b70dd48fdf7a8a955d
BLAKE2b-256 checksum
How to use checksums
5c01ac43444dbf59a9c6014f68cf2c005490709fb9e68a977f83563110a07ae0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.15

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

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

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

Download URL bare_sidecar-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
5b190a7590bc1518431469006e1970e20ccad07dd21e7503a3fa7e76d958c281
BLAKE2b-256 checksum
How to use checksums
6b437ef6bbbe74db7fdf5b823dfec36b2cd96da2830917d1137ae2c74c67a7bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.15

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

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

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

Download URL bare_sidecar-0.1.1-py3-none-manylinux_2_34_aarch64.whl
Size 21.6 MB
Tags Linux glibc 2.34+ ARM64 Python 3
SHA-256 checksum
How to use checksums
c2ef29a997e4b59e5c9902729a6003ddcc43e81c524c850bcd4acad2839ce775
BLAKE2b-256 checksum
How to use checksums
695284ebcf08b9534b4cc2e6ae269b1322d722108d387d03b2fe5c4cfd643b32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.15

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

Download URL bare_sidecar-0.1.1-py3-none-macosx_13_0_x86_64.whl
Size 20.0 MB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
52fb39d4a7f593f6eda8db892e8d9a62919d82baf361aa2411d75872f378d9ef
BLAKE2b-256 checksum
How to use checksums
4a82442d1a8bb2f9b793f21b0bcc009939f07b49c701e24f4a596c43fca006cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.15

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

Download URL bare_sidecar-0.1.1-py3-none-macosx_13_0_arm64.whl
Size 19.2 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
c1408acbd31218fe7c0aed199c4c914a3734df09acd459c2165ce7597017b071
BLAKE2b-256 checksum
How to use checksums
23546a3260f423a9d5f76dde08ed64dde9911730766d6c8d69980e0fe4f20f5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.15

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

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