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
npm install -g apidoc@0.29.0
as root! - 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.8a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e441760da10afa4cf726b4ce41d23b13a2ea45554ebe474353ab149052d05537 |
|
MD5 | 054382c6d1be5ee5d3722cafd88f533b |
|
BLAKE2b-256 | 78861c3c32d822301d8e69721a2851f89000e7024ad7276274a284fbefe9f87d |