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

Platform wheels are published for macOS 13 and later, Linux with glibc 2.34 and later, and Windows, each on arm64 and x64.

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

Built distributions (wheels)

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

Total release size: 114.1 MB

Release files / bare_sidecar-0.1.0.tar.gz

Download URL bare_sidecar-0.1.0.tar.gz
Size 18.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cfc12bcf298c3359f8e5c8d7d2b3429a922e1c12cddea74198a9cd9e99fc7e6a
BLAKE2b-256 checksum
How to use checksums
8789b2c11cf99906a624c208368578031eef5e02030333da114d0c9efcf22d8a
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.0-py3-none-win_arm64.whl

Download URL bare_sidecar-0.1.0-py3-none-win_arm64.whl
Size 15.6 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
ddf2c4e7d21d830ebb55f7e6fad93b1cf5dfb5d6d3dc70e306f5f797e0647e9d
BLAKE2b-256 checksum
How to use checksums
fc1b73daeefbed68aff330fdad3620633a7ce384630e3fe64e79c186c77c43b5
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.0-py3-none-win_amd64.whl

Download URL bare_sidecar-0.1.0-py3-none-win_amd64.whl
Size 16.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
b6d21228aa130e73be97f73d4a7627bd337f271a5e21dcd832bd5770f84c9022
BLAKE2b-256 checksum
How to use checksums
20fb151c1fc2cc4a8943beeafe9e56fb9f2c12c5800d98835e21ebab843b1c1e
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.0-py3-none-manylinux_2_34_x86_64.whl

Download URL bare_sidecar-0.1.0-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
8d584782c2138814e69d60839655f4b04480abc9c56a8c55b47f9b7450e25aa6
BLAKE2b-256 checksum
How to use checksums
3745d7dea3483d1f0fe2fa19597719538cfbe3af96f2fe72b401a57c806092b9
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.0-py3-none-manylinux_2_34_aarch64.whl

Download URL bare_sidecar-0.1.0-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
ede48d468ced3e859eb0a70fedad5f30109780d1e4957466a80165028a2c5424
BLAKE2b-256 checksum
How to use checksums
bc3e3154653dcdb30eae646e191bad0c71c88abe163d51e600ed55db9dfba44a
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.0-py3-none-macosx_13_0_x86_64.whl

Download URL bare_sidecar-0.1.0-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
92afdded6c93b3a8d6bf260c050865549edf5059a46400b5a7c8db6294f802f1
BLAKE2b-256 checksum
How to use checksums
58773145596105cabc37bd7fe449c492a2eadb05b14ca6fd853743a461c3d476
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.0-py3-none-macosx_13_0_arm64.whl

Download URL bare_sidecar-0.1.0-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
4876109475b27dae0786945f823756bbfeb77c2091afd65714f5b5ab1a93b397
BLAKE2b-256 checksum
How to use checksums
7a812618e228a0c556e83c6c4a79ce036d35c7e00457374c835bdead0ec2e3a4
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.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.

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