Skip to content

CAVEconnectome/NeuroglancerJsonServer

 
 

Repository files navigation

NeuroglancerJsonServer

REST API to serve and store Neuroglancer jsons

Installation

Not needed for programmatic access, only for hosting.

git clone https://github.com/seung-lab/NeuroglancerJsonServer.git
cd NeuroglancerJsonServer
pip install . --upgrade

Programmatic access

Using the requests package one can post jsons

import requests
json_id = requests.post('{}'.format(server_address), data=[json])

and get them

import requests
json = requests.get('{}/{}'.format(server_address, json_id))

The requests package can be installed via

pip install requests

Packages

No packages published

Languages

  • Python 98.5%
  • Dockerfile 1.3%
  • Shell 0.2%