Papers database endpoint API
Project description
HunabKu
Data Server Gateway/ Maya - father of all gods
Description
Package to load data in MongoDB and to serve the data from mongodb on endpoints using flask. The package is handling the endpoints using a customized plugin system designed by us.
Installation
Dependencies
- Install nodejs >=10.x.x ex: 10.13.0
- Debian based system:
apt-get install nodejs
- Redhat based system:
yum install nodejs
- Conda:
conda install nodejs==10.13.0
- Debian based system:
- Install Apidocjs from https://github.com/apidoc/apidoc
- The other dependecies can be installed with pip installing this package.
- Install MongoDB
- Debian based system:
apt-get install mongodb
- Redhat based system instructions here
- Conda:
conda install mongodb mongo-tools
- Debian based system:
NOTE:
To start mongodb server on conda please run the next steps
mkdir -p $HOME/data/db
mongodb mongod --dbpath $HOME/data/db/
Package
pip install hunabku
Usage
Let's start the server executing
hunabku_server
Or using some command line options
hunabku_server --port 8080 --db_ip x.x.x.x
where x.x.x.x is your mongodb ip
you can access to the apidoc documentation for the endpoints for example on: http://127.0.1.1:8888/apidoc/index.html
if depends of the ip and port that you are providing to hunabku.
License
BSD-3-Clause License
Links
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
Built Distribution
Hashes for Hunabku-0.0.7a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09abe241832fc8e34b452f3cacb1ce8358d75a6ce3ff3491aa4a1c4015a3a7f8 |
|
MD5 | 49e58cd92ebf222238dea151b81fbf2f |
|
BLAKE2b-256 | fbc0fcfdb4f2af901983e06d55ccb086ebd5a768feecd6ded496a638a226647a |