semvec/pypi-packages huggingface dataset:
dap.plugins.netcdf 0.3.5
netCDF plugin for pydap server
License: MIT
Keywords: netcdf dap opendap dods data

This is a plugin for serving data in a pydap server from netCDF 3
files. It works either with the pynetcdf module or with pupynere,
an experimental pure Python netCDF reader.

The latest version is available in a `Subversion repository
<http://pydap.googlecode.com/svn/trunk/plugins/netcdf#egg=dap.plugins.netcdf-dev>`_.
pickey 0.1.2
A class and a WSGI application which can generate authentication key picture.
License: MIT
Keywords: web application middleware wsgi

You may want to provide a picture which contain a human readable keycode
when register or login. This picture is difficult to be recognized by computer
but easily for human. So some site require it to ban robot.

A python class "PicKey" and a WSGI middleware application are provided by
pickey, they can generate picture confirmation keycode. Many options are
provided to adjust the outlooking of the generated picture.

pickey use "gd" to render picture and use "Beaker" to support session.
TGPriFlash 0.1.2
A TurboGears flash implementation that supports multiple priority levels.
License: MIT
Keywords: turbogears.widgets

TGPriFlash is a TurboGears flash implementation that supports multiple
priority levels.

Install
-------

Install with setuptools::

  $ easy_install TGPriFlash

or download from http://pypi.python.org/pypi/TGPriFlash

Usage
-----

Out of the box, 3 levels are defined (FLASH_INFO, FLASH_WARNING,
FLASH_ALERT) but you can ignore these and use any integer values
you like as the flash priority levels.

To "magically" replace (aka monkey patch) turbogears.flash() with
this one, just add this import to your start-project.py::

    import tg_pri_flash.flash

Within your project you can import turbogears.flash as normal::

    from turbogears import flash

You'll want to replace the tg_flash line in your master template::

    <div py:if="tg_flash" class="flash" py:content="tg_flash"></div>

with something like this::

    <div py:if="tg_flash and tg_flash[1]==0" class="flash_ok" py:content="tg_flash[0]"></div>
    <div py:if="tg_flash and tg_flash[1]==1" class="flash_warning" py:content="tg_flash[0]"></div>
    <div py:if="tg_flash and tg_flash[1]==2" class="flash_alert" py:content="tg_flash[0]"></div>

You would then define CSS definitions for each of the classes.

In your controller you can call flash() with a second argument, a positive integer::

    flash( _(u"There was an error"), 2 )

or, using the built-in constants::

    from tg_pri_flash.flash import FLASH_ALERT
    flash( _(u"There was an error"), FLASH_ALERT )