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: rabbitLEVEL_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.3.tar.gz
(12.7 kB
view hashes)
Built Distribution
Close
Hashes for ni_core_server-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99c70482ffa67d5b42b2cbde1aa1953317ca043956caf7869688631a59c1797c |
|
MD5 | 7416fbf5fb8a47acd879f89deca1aa9f |
|
BLAKE2b-256 | d90341f9134e0105736287c92614e9117bfdea05c035b6af87be42c8c03f9421 |