Skip to main content

Client side implementation of the Futhark server protocol

Project description

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.

Project details


Download files

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

Source Distribution

futhark_server-1.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

futhark_server-1.0.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file futhark_server-1.0.1.tar.gz.

File metadata

  • Download URL: futhark_server-1.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for futhark_server-1.0.1.tar.gz
Algorithm Hash digest
SHA256 02a06eb253d4120eff12034435792591ea2266b0156252d584364213900a1c41
MD5 239b0e1f1238616bac374bbe75427842
BLAKE2b-256 a60cbd522fe59de16391d37e43739775ed3d146bf644dd1c33c67018586344c4

See more details on using hashes here.

File details

Details for the file futhark_server-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: futhark_server-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for futhark_server-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2073fbf5e50620215a940aa81be04471cf30f9494c2d4ca69c3672de791f9ca4
MD5 220aa961264bc4b7cdd21c924902050d
BLAKE2b-256 40ef45ebc5d6185ee25916a36aa0cc5ff67b004f8b5ac81883fd6e97e43cf882

See more details on using hashes here.

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