Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Build small applications from Hy source files

Project description



MIT License python PyPI
Hy is a LISP dialect running on a Python virtual machine. Hypo allows you to build small applications from Hy source files. Similar to Python’s zipapp, Hypo creates executable archives. Since the Hy source files will be compiled into .pyc files, the executable archive will run faster than on interpreter.


  • Python >= (2.6, 3.5)
  • Hy >= 0.12.1


$ pip install hypo


$ hypo --help
usage: hypo [options] <targets>

  -o [file]  output name
  --version  show program's version number and exit
  --help     show this message and exit


You can build these source files as follows:

$ hypo -o app main.hy iota.hy

And you can execute the application as follows:

$ ./app
(0L 1L 2L 3L 4L 5L 6L 7L 8L 9L)


$ python app
(0L 1L 2L 3L 4L 5L 6L 7L 8L 9L)

Source files

  • iota.hy
(defn iota [m &optional [n 0] [step 1]]
  (if (>= n m)
    (cons n (iota m (+ n step) step))))
  • main.hy
(import [iota [iota]])

(defmain [&rest args]
  (print (iota 10)))


Distributed under MIT License.

Project details

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
hypo-0.1.0.tar.gz (3.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page