macros:Hy 的宏集合

时间:2021-06-26 20:09:38
【文件属性】:
文件名称:macros:Hy 的宏集合
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-26 20:09:38
Hy 宏 版本 0.0.2。 宏是 Hy 宏的集合。 它将进一步开发以提供更多便利。 它处于非常早期的阶段。 请勿在生产中使用。 安装 pip install git+git://github.com/Hylands/macros.git 对于最新版本,或 pip install macros 对于更稳定的版本。 然后在 hy 中使用宏 ( require macros.flask) ( require macros.flow) 然后使用路由宏。 ( route " / " " home.html " ) ( route " / " ( defn womethods [] ( "hello, world " ))) (route " / " [ " GET " " POST " ] (defn wmethods [] ( " hello, world " ))) (route "
【文件预览】:
macros-master
----README.rst(1KB)
----LICENSE(1KB)
----macros()
--------flask.hy(3KB)
--------flow.hy(954B)
--------__init__.py(0B)
--------bindings.hy(299B)
--------test.hy(607B)
----setup.py(406B)
----.gitignore(21B)

网友评论