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.0-py3-none-win_amd64.whl (21.9 MB view details)

Uploaded Python 3Windows x86-64

eval_hub_server-0.4.0-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.0-py3-none-manylinux_2_17_aarch64.whl (19.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

eval_hub_server-0.4.0-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.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for eval_hub_server-0.4.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8942ba0c75df453cb2cae3afe40d8ea3e3360c47982200340505765e87bee755
MD5 bee4788358ec6c6ae0f19b39efb9ea7b
BLAKE2b-256 07736e5a0344f3d3957b23c440a1037efe6c674de8e973aa13bfc064fa4cd68a

See more details on using hashes here.

Provenance

The following attestation bundles were made for eval_hub_server-0.4.0-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.0-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for eval_hub_server-0.4.0-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 f85d692345d5195960d81e7b31cfcc01355d6e471d20fed3d31f2625340cc33e
MD5 68632b39f0bb986685f17e3aa5cf6f20
BLAKE2b-256 43426d45ddc659830fcf476e1217462826a560e83611bc3de2259e9c55d6b5ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for eval_hub_server-0.4.0-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.0-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for eval_hub_server-0.4.0-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 452a26f5346f05ecf6de7356180568aaa501a7ace0873ff13c2808f32837b700
MD5 89c8cbd6b2c2b95bf38f6cafd3aa076f
BLAKE2b-256 0e0a722c46cc01572759e8ed72ce044c4dde573806d32b210323c3f7badddf80

See more details on using hashes here.

Provenance

The following attestation bundles were made for eval_hub_server-0.4.0-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.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for eval_hub_server-0.4.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bf2ff369649fcc6912811cf1045885a6928bff09756c17143768fb99660c9c8f
MD5 e8e2ba59c1340099a74cd20c6221fd73
BLAKE2b-256 30df2639e2bf7e532cdf7b4d600916e80a01616f7da0514a38d11663c3974d20

See more details on using hashes here.

Provenance

The following attestation bundles were made for eval_hub_server-0.4.0-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.0-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for eval_hub_server-0.4.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b6ebed9e9d58ecb5f26f648d94dacbf6e2244fb195aff661a735112b1cba7e9c
MD5 56d3381d51e60a85a27642775d78835c
BLAKE2b-256 50ad0ae8c61cac7439e1172efbe2a49098a8a5a8600d7c923dba1989278c5bdd

See more details on using hashes here.

Provenance

The following attestation bundles were made for eval_hub_server-0.4.0-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