Репозиторий Sisyphus
Последнее обновление: 19 апреля 2019 | Пакетов: 17666 | Посещений: 13432717
en ru br
Репозитории ALT

Группа :: Разработка/Python
Пакет: python-module-dap

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and 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
Url: http://pypi.python.org/pypi/dap/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

# http://pydap.googlecode.com/svn/trunk/dap

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
(http://opendap.org). 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/__init__.py \
cp -f %oname/responses/__init__.py \
cp -f %oname/plugins/__init__.py \

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



Полный changelog можно просмотреть здесь

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin