semvec/pypi-packages huggingface dataset:
proxapy 0.1.5
Simple API proxy that uses Flask/requests/gunicorn.
License: MIT
Keywords: api proxy server flask requests gunicorn

Proxapy
=======

Simple API proxy that uses Flask/requests/gunicorn.

Use cases
---------

-  **Centralize API requests** - Sometimes only a specific IP can access
   APIs. Run Proxapy on that machine and access the API from everywhere.

-  **Implement custom pre/post operation on API request/response** -
   Fork the project, add routes and implement your changes. Common
   changes include content filtering, add authentication key header not
   known by the end user.

Usage
-----

1. Make sure you have `virtualenv`_
2. ``make run``
3. Visit ``http://<proxyhost>:<proxyport>/<API>`` to access
   ``http://<API>``

By default ``<proxyhost>`` is bound to ``0.0.0.0`` and ``<proxyport>``
to ``5000``, so for example you could run Proxapy and then visit:
http://localhost:5000/api.left-pad.io/?str=proxied&len=20

.. _virtualenv: https://virtualenv.pypa.io
useless-py 1.0.3.a
Useful python utilities with less effort.
License: MIT

|version|\ |license|\ |status|

useless-py
==========

Useful python utilities with less effort.

Installation:
-------------

.. code:: sh

    pip install useless-py

Features:
---------

-  set\_interval() function and @interval decorator - similar to
   Javascript's setInterval() method, uses gevent
-  set\_timeout() function and @timeout decorator - similar to
   Javascript's setTimeout() method, uses gevent
-  set\_time\_limit() function and @time\_limit decorator - limits the
   maximum execution time of a function, raises TimeLimitExceededError
-  @extends decorator - inheritance using a class decorator, inspired by
   Java's extends
-  @nocase decorator - class decorator that allows access to attributes
   regardless of coding style (camelCase or snake\_case)
-  @didyoumean decorator - class decorator, raises DidYouMeanError
   (subclass of AttributeError) which suggest close matches

Usage:
------

Check
"`samples <https://github.com/Code-ReaQtor/useless-py/tree/master/samples>`__\ "
folder.

To-Do:
------

-  [ ] Class Decorators

   -  [x] @extends - like Java's (instead of direct inheritance). IMO,
      more readable when you are doing multiple inheritance.
   -  [ ] @implements - like Java's (with the help of python "abc"
      module).
   -  [x] @nocase - rewrite of "nocase" module using a class decorator
      instead of direct inheritance, more Pythonic, IMO.
      (https://pypi.python.org/pypi/nocase)
   -  [x] @didyoumean - raises a "DidYouMean" exception (instead of
      AttributeError) when an attribute of an instance does not exist
      and suggests close matches. Think of "git" when you messed up on
      giving the correct argument:

      .. code:: sh

          C:\Users\Ronie Martinez>git hello
          git: 'hello' is not a git command. See 'git --help'.
          Did you mean one of these?
              help
              reflog

-  [ ] Context Managers

   -  [ ] Regular expressions in a "with" statement - I miss the old
      Perl $1, $2, $3 (special variables)... but global variable is an
      overkill, let's make a more Pythonic feature

Author:
-------

-  Ronie Martinez (ronmarti18@gmail.com)

.. |version| image:: https://img.shields.io/pypi/v/useless-py.svg
.. |license| image:: https://img.shields.io/pypi/l/useless-py.svg
.. |status| image:: https://img.shields.io/pypi/status/useless-py.svg
rstview 0.3.2
Simple Django application around docutils to parse reStructuredText markup
License: MIT

.. _docutils: http://docutils.sourceforge.net/
.. _Django: https://www.djangoproject.com/
.. _reStructuredText: http://docutils.sourceforge.net/rst.html
.. _Pygments: http://pygments.org/

rstview
===================================

This is a simple `Django`_ application around `docutils`_ to parse `reStructuredText`_ markup.

.. Warning::
    Version 0.3.0 have major backward changes, see details in documentation changelogs.

Features
********

* Either **Html4 or Htmls5 writers** available;
* **Custom reporter** to validate source;
* **Dedicated view** to make a page from a rst source;
* **Template tag** to parse `reStructuredText`_ markup;
* Comes with **unittests**;

Links
*****

* Read the documentation on `Read the docs <http://rstview.readthedocs.io/>`_;
* Download its `PyPi package <https://pypi.python.org/pypi/rstview>`_;
* Clone it on its `Github repository <https://github.com/sveetch/rstview>`_;

Dependancies
************

* `Django`_ >= 1.7;
* `docutils`_ >= 0.7;
* Optionnaly (but recommended): `Pygments`_ >= 1.2.x to have highlighted syntax in your *sourcecode* blocks;