---
name: "futhark-python"
section: "1"
platform: "linux"
package: "futhark"
version: "0.25.27-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/futhark-python"
---

# futhark-python(1)

compile Futhark to sequential Python

## NAME

futhark-python - compile Futhark to sequential Python

## SYNOPSIS

futhark python \[options...\] infile

## DESCRIPTION

**futhark python** translates a Futhark program to sequential Python code, which depends on Numpy.

The resulting program will read the arguments to the **main** function from standard input and print its return value on standard output. The arguments are read and printed in Futhark syntax.

The generated code is very slow, likely too slow to be useful.  It is more interesting to use this command's big brother, *futhark-pyopencl*.

## OPTIONS

Accepts the same options as *futhark-c*.

## SEE ALSO

*futhark-pyopencl*

## COPYRIGHT

2013-2020, DIKU, University of Copenhagen
