Wrapper for querying VirtualFlyBrain servers.
Project description
VFB_connect
![DOI](https://pypi-camo.freetls.fastly.net/16aa6e4eaae1b8094153555fc63efbbc898d264c/68747470733a2f2f7a656e6f646f2e6f72672f62616467652f444f492f31302e353238312f7a656e6f646f2e31333337363934372e737667)
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.18.tar.gz
(82.5 kB
view hashes)
Built Distribution
Close
Hashes for vfb_connect-2.1.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 146187c07b5b39794f451113473578ef1af72e729fa175fa8dba2ee73c9649d1 |
|
MD5 | 7e98652eb245a016aa06f0ed497de07b |
|
BLAKE2b-256 | c0acf19e3ddb21154a0aca39299bb2885739b6b65f84d0bb8f460c384a38fb42 |