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|--portserver port listening. Default: 8888-l|--log-levellog 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_HOSTHost IP of rabbit. Default: rabbitLEVEL_DEBUGLog level. Default 'INFO'PORT_SERVERServer 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.
Metadata
Release files for ni-core-server 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ni-core-server-0.1.4.tar.gz | 14.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ni_core_server-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.7 kB
Release files / ni-core-server-0.1.4.tar.gz
| Download URL | ni-core-server-0.1.4.tar.gz |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c0e150cd9151f12fce88b19971806fd9dddb3585cebac3b206b310db388865d
|
|
BLAKE2b-256 checksum How to use checksums |
d11f23660739280013e8fbe0cbf1873e43b3bd72bc7fc4f06151143fba29df9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10
|
Release files / ni_core_server-0.1.4-py3-none-any.whl
| Download URL | ni_core_server-0.1.4-py3-none-any.whl |
|---|---|
| Size | 19.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62d1d4089fe514ca9d2344219f0a72baf7af3246d4d42c637335b0e5abc8d36d
|
|
BLAKE2b-256 checksum How to use checksums |
87c16018bfac849bfd8ab47b77f7f8a0b8a8263d8f8d597db9120a6489f7fbbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10
|