Wrapper for querying VirtualFlyBrain servers.
Project description
VFB_connect
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.0.1.tar.gz
(53.9 kB
view hashes)
Built Distribution
Close
Hashes for vfb_connect-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 076cf37ba7ac1123ce963d0b351e027348a0086b3227d4ceb27b58567638789f |
|
MD5 | 20a2640c85a619c10fc876dcfa33db8a |
|
BLAKE2b-256 | a23828d434a909e47fb6ded1d3e2c6418a7dfb789bbe3509960c363f71e3d81d |