Skip to main content

No project description provided

Project description

Core Server

## Quick Start

With Pypi

Install product with:

pip install ni-core-server==0.1.1

To launch server:

core_server

Some options are available:

  • -p | --port server port listening. Default: 8888
  • -l | --log-level log level. Default 'INFO'

With Docker

Install product with:

docker pull primael94/ni-core-server:0.1.1

To launch server:

docker run -d -p 8888:8888 primael94/ni-core-server:0.1.1

Some environment variables are available:

  • RABBIT_HOST Host IP of rabbit. Default: rabbit
  • LEVEL_DEBUG Log level. Default 'INFO'
  • PORT_SERVER Server port listening. Default: 8888

With docker-compose

---

version: "3"

services:
  rabbitmq:
    image: rabbitmq:3-management
  core-server:
    build:
      .
    environment:
      - RABBIT_HOST=rabbitmq
      - LEVEL_DEBUG=DEBUG
    depends_on:
      - rabbitmq
    ports:
    - 8888:8888

Under the hood

### Pipeline concept

When we submitting an image, that create a dedicated pipeline.

A pipeline is a job stack.

API

[POST] /upload

Endpoint to submit one or more images in system.

Datas
name type numbers required
free file n yes
data json 1 yes

data should contain at least operations.

operations represents a list of operations comma separated.

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

ni-core-server-0.1.4.tar.gz (14.1 kB view hashes)

Uploaded Source

Built Distribution

ni_core_server-0.1.4-py3-none-any.whl (19.6 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