Module csvfiles
source code
Plugin for CSV (comma separated values) files.
This plugin serves sequential data from a CSV file. It's a bit hackish
and abuses ``lambda`` and ``itertools``, but it works *very* nice. The
plugin uses the ``buildfilter()`` function to create a filter from the
constraint expression, and applies it on-the-fly on the data as it is
being read.
Imports:
sys,
os,
re,
csv,
itertools,
urllib,
dtypes,
responses.das.typeconvert,
server.BaseHandler,
exceptions.OpenFileError,
helper.buildfilter,
helper.parse_querystring,
util.safeeval.expr_eval
Try to evalute expression or fallback to string.
>>> lazy_eval("1")
1
>>> lazy_eval("None")
'None'
-
|
__author__
None
-
- Value:
'Roberto De Almeida <rob@pydap.org>'
|
|