/usr/lib/python2.6/dist-packages/pyxnat-0.9.0dev.egg-info is in python-pyxnat 0.9.0~dev0-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | Metadata-Version: 1.0
Name: pyxnat
Version: 0.9.0dev
Summary: Xnat in Python
Home-page: http://packages.python.org/pyxnat/
Author: Yannick Schwartz
Author-email: yannick.schwartz@cea.fr
License: BSD
Description: pyxnat is a simple python library that relies on the REST API provided
by the XNAT platform since its 1.4 version. XNAT is an extensible database for neuroimaging data. The main objective is to ease communications with an XNAT
server to plug-in external tools or python scripts to process the data. It
features:
#. resources browsing capabilities
#. read and write access to resources
#. complex searches
#. disk-caching of requested files and resources
.. [#] XNAT home: http://www.xnat.org/
.. [#] pyxnat documentation: http://packages.python.org/pyxnat/
.. [#] pyxnat download: http://pypi.python.org/pypi/pyxnat#downloads
.. [#] pyxnat sources: http://github.com/pyxnat/pyxnat
____
**A short overview**
*Setup the connection*
>>> from pyxnat import Interface
>>> interface = Interface(
server='http://central.xnat.org:8080',
user='login',
password='pass',
cachedir=os.path.join(os.path.expanduser('~'), '.store')
)
*Browse the resources*
>>> interface.select.projects().get()
[u'CENTRAL_OASIS_CS', u'CENTRAL_OASIS_LONG', ...]
*Create new resources*
>>> interface.select.project('my_project').create()
>>> interface.select.project('my_project').resource('images'
).file('image.nii').put('/tmp/image.nii')
*Make complex searches*
>>> table = interface.select('xnat:subjectData',
['xnat:subjectData/PROJECT',
'xnat:subjectData/SUBJECT_ID'
]
).where([('xnat:subjectData/SUBJECT_ID','LIKE','%'),
('xnat:subjectData/PROJECT', '=', 'my_project'),
'AND'
])
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Education
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Utilities
Classifier: Topic :: Internet :: WWW/HTTP
|