Sisyphus repositório
Última atualização: 25 setembro 2020 | SRPMs: 17702 | Visitas: 19291965
en ru br
ALT Linux repositórios

Group :: Desenvolvimento/Python
RPM: python-module-dap

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define oname dap
Name: python-module-%oname
Release: alt1.svn20081222.3.1
Summary: Python implementation of the Data Access Protocol (DAP)
License: MIT
Group: Development/Python
Packager: Eugeny A. Rostovtsev (REAL) <real at>


Source: %oname-%version.tar.gz
Source1: dap-nspkg.pth
BuildArch: noarch

%py_requires paste.deploy

BuildPreReq: python-devel python-module-httplib2 python-module-setuptools
BuildPreReq: python-module-paste python-module-cheetah
%setup_python_module %oname

This is a Python implementation of the Data Access Protocol, a
scientific protocol for data access developed by the OPeNDAP team
( This implementation is developed from scratch,
following the latest specification of the protocol (DAP 2.0 Draft
Community Standard 2005/04/27) and based on my experience with OPeNDAP
servers on the wild.

Using this module one can access hundreds of scientific datasets from
Python programs, accessing data in an efficient, transparent and
pythonic way. Arrays are manipulated like normal multi-dimensional
arrays (like numpy.array, e.g.), with the fundamental difference that
data is downloaded on-the-fly when a variable is sliced. Sequential
data can be filtered on the server side before being downloaded, saving
bandwith and time.

The module also implements a DAP server, allowing datasets from a
multitude of formats (netCDF, Matlab, CSV, GrADS/GRIB files, SQL RDBMS)
to be served on the internet. The server specifies a plugin API for
supporting new data formats in an easy way. The DAP server is
implemented as a WSGI application (see PEP 333), running on a variery
of servers, and can be combined with WSGI middleware to support
authentication, gzip compression and much more.

install -p -m644 %SOURCE1 .
mv dap-nspkg.pth dap-%version-py%_python_version-nspkg.pth


install -p -m644 *.pth %buildroot%python_sitelibdir

cp -f %oname/ \
cp -f %oname/responses/ \
cp -f %oname/plugins/ \

install -d %buildroot%python_sitelibdir/%oname/tests
install -p -m644 tests/* %buildroot%python_sitelibdir/%oname/tests



Todas as alterações você pod ver aqui

projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009