starfold-server (Python)
The starfold server for Python: its binary, the starfold command, and start_server(), which
starts a server on this machine and hands you a starfold client
signed in to it. Installing it installs the client too, at the same version.
uv add starfold-server # or: pip install starfold-server
starfold --version
There are wheels for Linux x86_64 and aarch64 (glibc 2.39+), macOS arm64 and Windows x86_64,
each with the default (MIT) build's binary of that platform's release archive. Elsewhere (musl,
an older glibc, Intel macOS, Windows on Arm) pip finds no distribution of it: install its pure
wheel, starfold_server-<version>-py3-none-any.whl from the
GitHub release, and set STARFOLD_BIN to a
starfold binary built for the platform; or install starfold, the client alone, which works
against a server running elsewhere.
From a checkout: uv add --editable path/to/starfold/python/starfold-server (with STARFOLD_BIN
set to a built binary, since a checkout carries none).
from starfold_server import start_server
with start_server() as server: # loopback, a free port, a generated password
sf = server.client() # a starfold.Starfold, signed in already
sf.screenshot().save("desktop.png")
start_server() listens on 127.0.0.1 unless you pass addr=; port=, password= (an
empty one counts as none), args= (more server flags, starfold --help), env= (merged onto
this process's environment), cwd=, binary= (default binary_path()) and timeout=
(seconds until it answers, default 30) are optional. If the server exits, doesn't answer in
time or can't have its port, it raises ServerStartError with the server's last output in
output. It returns a LocalServer with url, password, process, stderr_tail (the
server's last lines of output), client(), async_client() and close(); the server stops on
close(), at the end of the with block, at exit, and when your process ends, however it
ends. On Linux and macOS process is a small sh guard whose child is the server. On Linux it
needs a display (DISPLAY, e.g. from Xvfb); it doesn't start one.
binary_path() is the binary: $STARFOLD_BIN if set, else the wheel's. The starfold command
runs it (starfold --help). BinaryNotFoundError, MissingLibrariesError and
ServerStartError are starfold.StarfoldErrors.
On Linux the server uses the system's libyuv, Opus and PulseAudio libraries and needs glibc 2.39 or newer (Ubuntu 24.04 or newer):
sudo apt install libyuv0 libopus0 libpulse0
Without them, start_server() and starfold say which libraries are missing.
From 0.3.2
Up to 0.3.2 all of this was in the starfold package: pip install starfold and
starfold.start_server(...) become pip install starfold-server and
starfold_server.start_server(...), and LocalServer, binary_path, check_libraries,
BinaryNotFoundError, MissingLibrariesError and ServerStartError are imported from
starfold_server. pip install "starfold[pillow]" with the server becomes
pip install starfold-server "starfold[pillow]", and uvx starfold / pipx run starfold
become uvx --from starfold-server starfold / pipx run --spec starfold-server starfold. The
client's imports (Starfold, AsyncStarfold, act, StarfoldError and the client's other
errors) stay in starfold. Staying on starfold==0.3.2 changes nothing: it still carries the server.
Tests
uv run pytest # unit tests, no server
STARFOLD_BIN=../../target/release/starfold uv run pytest -m integration # Linux, Xvfb + xterm
Metadata
Release files for starfold-server 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| starfold_server-0.4.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for starfold_server-0.4.0-py3-none-win_amd64.whl |
| starfold_server-0.4.0-py3-none-manylinux_2_39_x86_64.whl | Python 3 | none | Linux glibc 2.39+ x86-64 | Details for starfold_server-0.4.0-py3-none-manylinux_2_39_x86_64.whl |
| starfold_server-0.4.0-py3-none-manylinux_2_39_aarch64.whl | Python 3 | none | Linux glibc 2.39+ ARM64 | Details for starfold_server-0.4.0-py3-none-manylinux_2_39_aarch64.whl |
| starfold_server-0.4.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for starfold_server-0.4.0-py3-none-macosx_11_0_arm64.whl |
Total release size: 18.5 MB
Release files / starfold_server-0.4.0-py3-none-win_amd64.whl
| Download URL | starfold_server-0.4.0-py3-none-win_amd64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4255668d02220da7feab1734135832370c469f4a1e9076cefb648216b952b05b
|
|
BLAKE2b-256 checksum How to use checksums |
4631991e513f35885f3b95d7e199a7dd3ff2c11bc1fbd42b8a95833fb3f93cea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.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 25, 2026.
Transparency logRelease files / starfold_server-0.4.0-py3-none-manylinux_2_39_x86_64.whl
| Download URL | starfold_server-0.4.0-py3-none-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | Linux glibc 2.39+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
e8a5dc002df00e4ef244743a7659c7f6f490c0436d29baf8473c37fac43df852
|
|
BLAKE2b-256 checksum How to use checksums |
c090cfcdb8fa641c30079ac634042bbd382e1bc5d99fe388c43323311e3767ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.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 25, 2026.
Transparency logRelease files / starfold_server-0.4.0-py3-none-manylinux_2_39_aarch64.whl
| Download URL | starfold_server-0.4.0-py3-none-manylinux_2_39_aarch64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | Linux glibc 2.39+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
d1bc9ea5a96f03b8f97ca977c9976f7f80ed1add03bf7c6550ed3300c895262a
|
|
BLAKE2b-256 checksum How to use checksums |
64712c7cdcaf168da718533e9c787e725d8aca054df821cb2c3f5a025d0e619f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.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 25, 2026.
Transparency logRelease files / starfold_server-0.4.0-py3-none-macosx_11_0_arm64.whl
| Download URL | starfold_server-0.4.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
4601546a2ee547904b18a5108340c1c2a61d13e1dd1adc3e4c426003ecdfe5b8
|
|
BLAKE2b-256 checksum How to use checksums |
2f98332eba44f7631c142f0a6e76fa67fc6103a26bedcceedb93578de5c20629
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.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 25, 2026.
Transparency logSecurity for starfold-server 0.4.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.
Full provenance
All 4 files in this release have been uploaded with provenance metadata.
Attestation for starfold_server-0.4.0-py3-none-win_amd64.whl
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 25, 2026.
Transparency logA 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.