Skip to main content

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
  • 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

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

http://colav.udea.edu.co/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Hunabku-0.0.8a0.tar.gz (15.1 kB view hashes)

Uploaded Source

Built Distribution

Hunabku-0.0.8a0-py3-none-any.whl (22.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page