Wrapper for querying VirtualFlyBrain servers.
Project description
VFB_connect
![PyPI version](https://pypi-camo.freetls.fastly.net/13292216e74a120ecb0c3b644ac1eb5dca5a7766/68747470733a2f2f62616467652e667572792e696f2f70792f7666622d636f6e6e6563742e737667)
VFB_connect is a Python lib that wraps data/knowledgeBase query endpoints and returns DataFrame tables.
Available on PyPi:
pip install vfb_connect
Some examples:
# VFB connect object wraps connections and queries to public VFB servers.
from vfb_connect import vfb
# Get TermInfo for Types/Classes, DataSets and anatomical individuals.
vfb.get_TermInfo(['FBbt_00003686'])
vfb.get_TermInfo(['Ito02013'])
vfb.get_TermInfo(['VFB_00010001'])
# Get all terms relevant to a brain region (all parts and all overlapping cells. Query by label supported by default.
vfb.get_terms_by_region('fan-shaped body')
TermInfo return a pandas DataFrame by default but can also return a dict summary or full VFB_json values that conform to VFB_json_schema
For more examples see our Quick Guide Jupyter Notebook
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vfb_connect-2.1.12.tar.gz
(76.8 kB
view hashes)
Built Distribution
Close
Hashes for vfb_connect-2.1.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da3a3002b0725f44f8cbf01404104a2a8aa22d261ae995e10d9fe573f39a73d9 |
|
MD5 | ec61dfe60f60c76186352424b48d7fd0 |
|
BLAKE2b-256 | bda7e6cb8049c8f9f5db27a8f114167d5b3a92783d8f4b278dfcd5cfe6dc619d |