I'd like to use Hy, a dialect of Lisp on top of Python. However my coworkers all use Python and aren't likely to switch over to a Lisp dialect any time soon.
How can I package Hy code into a standard Python module?
You have three basic options.
have your coworkers import hy as dg123 wrote.
use a python package and import hy yourself in your packages __init __.py file. Your coworkers can then just import your modules.
compile your module using hyc and deploy the .pyc file which your coworkers can import as normal python module.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With