Metadata-Version: 2.1
Name: vfb-connect
Version: 1.2.2
Summary: Wrapper for querying VirtualFlyBrain servers.
Home-page: https://github.com/VirtualFlyBrain/VFB_connect
Author: David Osumi-Sutherland
Author-email: dosumis@gmail.com
License: UNKNOWN
Project-URL: Bug Reports, https://github.com/VirtualFlyBrain/VFB_connect/issues
Project-URL: Source, https://github.com/VirtualFlyBrain/VFB_connect
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: pandas
Requires-Dist: jsonpath-rw

# VFB_connect [![Build Status](https://travis-ci.com/VirtualFlyBrain/VFB_connect.svg?branch=master)](https://travis-ci.com/VirtualFlyBrain/VFB_connect)

VFB_connect is a Python lib that wraps data/knowledgeBase query endpoints and returns VFB_json.


Available on PyPi:

` pip install vfb_connect `


  ## Some examples:

 ```python

from vfb_connect.cross_server_tools import VfbConnect

# VFB connect object wraps connections and queries to public VFB servers.

vc=VfbConnect()

# Get TermInfo for Types/Classes, DataSets and anatomical individuals.

vc.neo_query_wrapper.get_type_TermInfo(['FBbt_00003686'])

vc.neo_query_wrapper.get_DataSet_TermInfo(['Ito02013'])

vc.neo_query_wrapper.get_anatomical_individual_TermInfo(['VFB_00010001'])

# Get all terms relevant to a brain region (all parts and all overlapping cells.  Query by label supported by default.

vc.get_terms_by_region('fan-shaped body')

```

TermInfo return values conform to [VFB_json_schema](https://virtualflybrain.github.io/schema_doc.html)

For more examples see our [Quick Guide Jupyter Notebook](https://github.com/VirtualFlyBrain/VFB_connect/blob/master/snippets/VFB_connect_Quick_Guide.ipynb)


