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
. Then instantiate a futhark_server.Server
object:
import futhark_server
with futhark_server.Server('./test') as server:
...
The Server
class has various methods for interacting with the
server. In particular, every servr protocol command foo
has an
associated method cmd_foo
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file futhark-server-1.0.0.tar.gz
.
File metadata
- Download URL: futhark-server-1.0.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 236fbc05e10e3ce5747d7b6b5ddcff7aa0a3f031402536ca9942b2e37a22ca31 |
|
MD5 | 83e0652037d86028ce9c86937053a9d5 |
|
BLAKE2b-256 | 706c06df6e2e240ec63b9cb69f19a77050df2ae44218ab51242b7a6a5ef96c03 |
File details
Details for the file futhark_server-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: futhark_server-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a97f66dfec82458e106afc403ef91ea896d0835b8cd43e7aeb8257e7756c68a |
|
MD5 | a24f647e760aa8fc38a2af7224408dcf |
|
BLAKE2b-256 | 43f1d04de1005bb8063e6f15d7d1010bf2e1a20e6149d7c57621c394de60df4a |