Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexkalderimis/intermine-ws-client.py
DEPRECATED: use https://github.com/intermine/intermine-ws-python
https://github.com/alexkalderimis/intermine-ws-client.py
Last synced: 11 days ago
JSON representation
DEPRECATED: use https://github.com/intermine/intermine-ws-python
- Host: GitHub
- URL: https://github.com/alexkalderimis/intermine-ws-client.py
- Owner: alexkalderimis
- License: lgpl-3.0
- Created: 2012-11-28T12:31:24.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2018-06-07T10:10:05.000Z (over 6 years ago)
- Last Synced: 2024-04-09T22:22:37.375Z (10 months ago)
- Language: Python
- Homepage:
- Size: 474 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: COPYING.txt
Awesome Lists containing this project
README
The InterMine Python Webservice Client
=====================================[![Build Status][badge]][ci]
> An implementation of a webservice client
> for InterMine webservices, written in PythonWho should use this software?
-----------------------------This software is intended for people who make
use of InterMine datawarehouses (ie. Biologists)
and who want a quicker, more automated way
to perform queries. Some examples of sites that
are powered by InterMine software, and thus offer
a compatible webservice API are:* FlyMine
* MetabolicMine
* modMine
* RatMine
* YeastMineQueries here refer to database queries over the
integrated datawarehouse. Instead of using
SQL, InterMine services use a flexible and
powerful sub-set of database query language
to enable wide-ranging and arbitrary queries.Downloading:
------------The easiest way to install is to use easy_install:
sudo easy_install intermine
The source code can be downloaded from a variety of places:
* From PyPi
wget http://pypi.python.org/packages/source/i/intermine/intermine-0.96.00.tar.gz
* From Github
git clone git://github.com/alexkalderimis/intermine-ws-python.git
Running the Tests:
------------------If you would like to run the test suite, you can do so by executing
the following command: (from the source directory)python setup.py test
Installation:
-------------Once downloaded, you can install the module with the command (from the source directory):
python setup.py install
Further documentation:
----------------------Extensive documentation is available by using the "pydoc" command, eg:
pydoc intermine.query.Query
Also see:
* Documentation on PyPi: http://packages.python.org/intermine/
License:
--------All InterMine code is freely available under the LGPL license: http://www.gnu.org/licenses/lgpl.html
Changes:
--------0.98.13: Added query column summary support
0.98.14: Added status property to list objects
0.98.15: Added lazy-reference fetching for result objects, and list-tagging support
0.98.16: Fixed bug with XML parsing and subclasses where the subclass is mentioned in the first view.
better result format documentation and tests
added len() to results iterators
added ability to parse xml from the service object (see new_query())
improved service.select() - now accepts plain class names which work equally well for results and lists
Allowed lists to be generated from queries with unambiguous selected classes.
Fixed questionable constraint parsing bug which lead to failed template parsing
0.99.00 Fixed bug with subclasses not being included in clones
Added support for new json format for ws versions >= 8.
0.99.01 Better representation of multiple sort-orders.
0.99.02 Allow sort-orders which are not in the view but are on selected classes
0.99.03 Allow query construction from Columns with "where" and "filter"
Allow list and query objects as the value in an add_constraint call with "IN" and "NOT IN" operators.
Ensure lists and queries share the same overloading
0.99.04 Merged 'list.to_query and 'list.to_attribute_query' in response to the changes in list upload behaviour.
0.99.05 Allow template parameters of the form 'A = "zen"', where only the value is being replaced.
0.99.06 Fixed bug whereby constraint codes in xml were being ignored when queries were deserialised.
0.99.07 Wed Jan 18 14:42:41 GMT 2012
Fixed bugs with lazy reference fetching handling empty collections and null references.
0.99.08 Added simpler constraint definition with kwargs.
1.00.00 Added widget enrichment requests.
1.01.00 Added widget listing requests.
1.05.00 Allowed constraints to be added on root paths implicitly, eg:
q.where('LOOKUP', 'eve') or q.where('IN', 'My List')
1.06.00 Provide ListManagers as context managers, where users need to create
temporary lists and clean up after themselves.
Added ID resolution.[badge]: https://travis-ci.org/alexkalderimis/intermine-ws-client.py.svg?branch=master
[ci]: https://travis-ci.org/alexkalderimis/intermine-ws-client.py