Skip to main content

Python implementation of the Futhark server protocol

This library library provides an implementation of the Futhark server protocol. This can be used to interact with Futhark code in a more decoupled manner than through an FFI.

Basic usage

First compile a Futhark program foo.fut to a server-mode binary with e.g. futhark c --server foo.fut. Then instantiate a futhark_server.Server object:

import futhark_server

with futhark_server.Server('./foo') as server:
  ...

The Server class has various methods for interacting with the server. In particular, every server protocol command foo has an associated method cmd_foo.

Metadata

Release files for futhark-server 1.0.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 futhark-server 1.0.1
File Size Uploaded
futhark_server-1.0.1.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for futhark-server 1.0.1
File Interpreter ABI Platform
futhark_server-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.5 kB

Release files / futhark_server-1.0.1.tar.gz

Download URL futhark_server-1.0.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
02a06eb253d4120eff12034435792591ea2266b0156252d584364213900a1c41
BLAKE2b-256 checksum
How to use checksums
a60cbd522fe59de16391d37e43739775ed3d146bf644dd1c33c67018586344c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / futhark_server-1.0.1-py3-none-any.whl

Download URL futhark_server-1.0.1-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2073fbf5e50620215a940aa81be04471cf30f9494c2d4ca69c3672de791f9ca4
BLAKE2b-256 checksum
How to use checksums
40ef45ebc5d6185ee25916a36aa0cc5ff67b004f8b5ac81883fd6e97e43cf882
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

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