This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Version 0.0.1.

Macros is a collection of Hy macros. It will be developed
further to provide further convenience. It is on a very early stage.

install with

.. code-block:: sh

pip install git+git://

for the very latest version, or

.. code-block:: sh

pip install macros

for the more stable version.

Then use the macros in hy using

.. code-block:: hy

(require macros.flask)
(require macros.flow)
and then use the route macro.

.. code-block:: hy

(route "/" "home.html")
(route "/" (defn womethods [] ("hello, world")))
(route "/" ["GET" "POST"] (defn wmethods [] ("hello, world")))
(route "/" ["GET" "POST"] "templatewmethods.html")
(route "/<name>/<address>" "template.html" [name] [[address "N/A"]])

The syntax is for a template:

.. code-block:: hy

(route *route-endpoint* [*possibly a list of methods*] *template* [*required args*] [*optional args*])

where *optional args* can be of the form [arg1 arg2] for the default value of None
or [[arg1 42] arg2] where arg1 would have the default value of 42, but arg2 would have the default value of None.
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
macros-0.0.1.tar.gz (1.8 kB) Copy SHA256 Checksum SHA256 Source Jan 20, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting