Skip to main content

This package performs various calculations related to ANEEL regulations.

Project description

====
Aneel
====

About
=====

Aneel is an editor-agnostic Markdown, reStructuredText and Textile live previewer.
Once you save your file, the rendered HTML will automatically get reloaded
in your favourite browser.

The Original Version is moo_ . Aneel fork from moo ( `commit history`_ ), And add function of
reStructuredText live previewer.

.. _moo: https://github.com/pyrocat101/moo
.. _`commit history`: https://github.com/pyrocat101/moo/commits/876de66f792ac42df7dba2e1416fb7aeae8feeb2

Installation
============

.. code:: bash

pip install aneel

Requirements
============

aneel requires

* mistune_ (optional)
* `python-textile`_ (optional)
* `bottle.py`_
* pygments_
* docutils_
* CherryPy_
* docopt_

.. _mistune: https://github.com/lepture/mistune
.. _`python-textile`: https://github.com/sebix/python-textile
.. _`bottle.py`: http://bottlepy.org/
.. _pygments: http://pygments.org/
.. _docutils: https://pypi.python.org/pypi/docutils
.. _CherryPy: http://www.cherrypy.org/
.. _docopt: https://github.com/docopt/docopt

Usage
=====

Opens preview in browser with server listening on 3000::

aneel --port 3000 your-doc.markdown

Export to HTML only::

aneel -o exported.html your-doc.markdown

To specify file type::

aneel --filetype rst README

RESTful API
===========

+-------------------------+-------------+----------------------------------+-------------------------+
| Action | HTTP Method | Request URL | Response Body |
+=========================+=============+==================================+=========================+
| Get preview | GET | http://localhost:\<port\> | \<Preview content\> |
+-------------------------+-------------+----------------------------------+-------------------------+
| Get updated content | POST | http://localhost:\<port\>/update | \<Rendered body\> |
+-------------------------+-------------+----------------------------------+-------------------------+
| Close server | DELETE | http://localhost:\<port\> | |
+-------------------------+-------------+----------------------------------+-------------------------+

See `source files`_ for more details.

.. _`source files`: https://github.com/hhatto/aneel

License
=======

(The MIT License)

Links
=====
* GitHub_
* PyPI_

.. _GitHub: https://github.com/hhatto/aneel
.. _PyPI: https://pypi.python.org/pypi/aneel/

Project details


Download files

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

Source Distribution

aneel-0.0.7.zip (445.9 kB view details)

Uploaded Source

Built Distribution

aneel-0.0.7-py3-none-any.whl (444.4 kB view details)

Uploaded Python 3

File details

Details for the file aneel-0.0.7.zip.

File metadata

  • Download URL: aneel-0.0.7.zip
  • Upload date:
  • Size: 445.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for aneel-0.0.7.zip
Algorithm Hash digest
SHA256 e9cf16c3ff611c5f7d85c856331d6ea885ddb445d27069aa7cce9291d7dc8481
MD5 3d74390213a28bddc4f63a45802f3f87
BLAKE2b-256 abb79f7301a2850959c74c78522b22300c3e38e70ff5075f5e9da91ebc061aa7

See more details on using hashes here.

File details

Details for the file aneel-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for aneel-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8034110248470c6e83be0bf3a130e5e55ab62186f47dc729e415dd5e7e5e3867
MD5 a8b351f10114f9687f5b3206fbd16d72
BLAKE2b-256 56bd819b6cac2ecbbef9c014f4e02f87529640494137b71b580aeb9b9b00ce47

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page