Wrapper for querying VirtualFlyBrain servers.
Project description
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:
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
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-1.1.tar.gz
(17.4 kB
view hashes)
Built Distribution
vfb_connect-1.1-py3-none-any.whl
(33.7 kB
view hashes)
Close
Hashes for vfb_connect-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c23c764fc2a380af5b7bdcf56cf5206ab35cd9d39f62d6b7d4d90b089c28ccd |
|
MD5 | 11755323a1317d4abc8491066de2ec8d |
|
BLAKE2b-256 | 5d7f7f260bd241de8c8ffa0a75db63543ea6b48d2c1dbd48b39ca952c125204a |