Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

100 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

hapiserver is a Python HAPI server that uses FastAPI (servers in other languages exist - see also the Java and NodeJS generic HAPI servers).

To create a HAPI server, a data provider must create four files

  1. config.json
  2. catalog.py with a function that returns /catalog metadata
  3. info.py with a function that returns /info metadata
  4. data.py with a function that returns the /data response

For a new project, we recommend cloning and modifying the demo repository.

Other examples:

Install and Run Demo

git clone https://github.com/hapi-server/server-python-demo
cd server-python-demo
pip install -e .
hapiserver -h
hapiserver --config src/config.json

Notes

The last commit of the previous and deprecated version of this repository is given commit 834790 and as release 0.0.1.

About

complete server written in Python

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages