Popular recipes tagged "meta:requires=builtins" but not "optimisation"http://code.activestate.com/recipes/tags/meta:requires=builtins-optimisation/2009-04-28T23:11:26-07:00ActiveState Code RecipesAutogenerate API docs in Markdown (Python)
2009-04-28T23:11:26-07:00geremy condrahttp://code.activestate.com/recipes/users/4170000/http://code.activestate.com/recipes/576733-autogenerate-api-docs-in-markdown/
<p style="color: grey">
Python
recipe 576733
by <a href="/recipes/users/4170000/">geremy condra</a>
(<a href="/recipes/tags/documentation/">documentation</a>, <a href="/recipes/tags/markdown/">markdown</a>).
Revision 2.
</p>
<p>markdowndoc is a pydoc extension that allows you to autogenerate API docs for websites that use Markdown. We specifically developed it with Gitorious's wikis in mind, but it should work for other wikispaces and, of course, ActiveState. You can see a few examples of it <a href="http://gitorious.org/projects/python-markdown-api-builder/pages/Home">here</a>. </p>
Round to base (Python)
2009-01-28T09:48:13-08:00David Lamberthttp://code.activestate.com/recipes/users/4167420/http://code.activestate.com/recipes/576637-round-to-base/
<p style="color: grey">
Python
recipe 576637
by <a href="/recipes/users/4167420/">David Lambert</a>
.
</p>
<p>This python3 code generalizes rounding. It includes a "base" argument, which can be a float greater than 0. The "number of places" argument may also be a float. When the base is 10 Round uses builtins.round.</p>