Skip to main content

Server binary for eval-hub

Project description

eval-hub-server

This package is a thin Python wrapper that packages and distributes the compiled Go eval-hub server binary for multiple platforms. It handles platform detection and binary resolution so consumers can simply install and run.

It is primarily intended to be used as a dependency of eval-hub-sdk.

Installation

pip install eval-hub-server

Usage

CLI

# Run with default settings (port 8080)
eval-hub-server

# Run in local mode
eval-hub-server --local

# Run with custom port 5000
PORT=5000 eval-hub-server --local

Python module

python -m evalhub_server.main --local

Programmatically

Requires the package to be installed. get_binary_path() raises FileNotFoundError or RuntimeError if the binary for your platform is not available.

from evalhub_server import get_binary_path

# Get the path to the binary
binary_path = get_binary_path()

# Use it however you need (e.g., subprocess)
import subprocess
subprocess.run([binary_path, "--local"], check=True)

Supported Platforms

  • Linux: x86_64, arm64
  • macOS: x86_64 (Intel), arm64 (Apple Silicon)
  • Windows: x86_64

For eval-hub-sdk Users

If you're using eval-hub-sdk, you can install the server binary as an extra:

pip install eval-hub-sdk[server]

For more information, see the eval-hub-sdk repository.

Development

See DEVELOPMENT.md for build process details, local development setup, testing, and troubleshooting.

License

Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

eval_hub_server-0.4.1-py3-none-win_amd64.whl (21.9 MB view details)

Uploaded Python 3Windows x86-64

eval_hub_server-0.4.1-py3-none-manylinux_2_17_x86_64.whl (21.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

eval_hub_server-0.4.1-py3-none-manylinux_2_17_aarch64.whl (19.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

eval_hub_server-0.4.1-py3-none-macosx_11_0_arm64.whl (20.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

eval_hub_server-0.4.1-py3-none-macosx_10_9_x86_64.whl (21.9 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file eval_hub_server-0.4.1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for eval_hub_server-0.4.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 223f147014b50c35317703ba18360692efde9c9516d801af6c7b3263303ba590
MD5 cce12c52fd5a3eb98e4f3052ea698720
BLAKE2b-256 fb28383b3789c6cd735cb72ced433ddf6e505d3c03ed071d70a09655d8e32a32

See more details on using hashes here.

Provenance

The following attestation bundles were made for eval_hub_server-0.4.1-py3-none-win_amd64.whl:

Publisher: publish-python-server.yml on eval-hub/eval-hub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file eval_hub_server-0.4.1-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for eval_hub_server-0.4.1-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 d758531aa38cdc7230358848699fb4a817c659655e8a0708e0b86cefece9e97a
MD5 d6fbd9a3b9f56692cb584f7aa6a44d46
BLAKE2b-256 83919b0db99a68c1118facae585c3a139873560e66a4779a6f61f259e44a69a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for eval_hub_server-0.4.1-py3-none-manylinux_2_17_x86_64.whl:

Publisher: publish-python-server.yml on eval-hub/eval-hub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file eval_hub_server-0.4.1-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for eval_hub_server-0.4.1-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 b20ab475b64407d7f6e5a56ff2ec0e16a23a7d9ce5e7556fd68f79b7445aa0be
MD5 60c13da3a71aa0dd27a13c5e9fc93199
BLAKE2b-256 e08fa2314b7ebf573c44cbcbd4f9e502794b5810bce557eb99a6c972ab33d039

See more details on using hashes here.

Provenance

The following attestation bundles were made for eval_hub_server-0.4.1-py3-none-manylinux_2_17_aarch64.whl:

Publisher: publish-python-server.yml on eval-hub/eval-hub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file eval_hub_server-0.4.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for eval_hub_server-0.4.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 574f6626f778cfd12b717590937858f97fecf9a462475277f2f837e450a755c5
MD5 e6975036a23a1450f8fa7ae5d4a5a507
BLAKE2b-256 b169558bd13a7838d16301a02a969379c0a14b7a6b4d8fa7b89d11eadda97222

See more details on using hashes here.

Provenance

The following attestation bundles were made for eval_hub_server-0.4.1-py3-none-macosx_11_0_arm64.whl:

Publisher: publish-python-server.yml on eval-hub/eval-hub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file eval_hub_server-0.4.1-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for eval_hub_server-0.4.1-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bb9d9f7922b5c9122d24a1ffcfd4235dfde9e694f1dd3b6df0209f712b5207f2
MD5 5dcd8c376afcc4ae0ae63ab68656a4be
BLAKE2b-256 b9dcfaeadd1338203ff5223e1160f86031d3ac5860ececf1e35fe5dc38938e54

See more details on using hashes here.

Provenance

The following attestation bundles were made for eval_hub_server-0.4.1-py3-none-macosx_10_9_x86_64.whl:

Publisher: publish-python-server.yml on eval-hub/eval-hub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page