Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

AI-API

Copyright (c) 2023 Jérémie DECOCK (www.jdhp.org)

Description

AI API

Note:

This project is still in beta stage, so the API is not finalized yet.

Dependencies

C.f. requirements.txt

Installation (development environment)

Posix (Linux, MacOSX, WSL, …)

From the AI-API source code:

conda deactivate         # Only if you use Anaconda...
python3 -m venv env
source env/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements-dev.txt

Windows

From the AI-API source code:

conda deactivate         # Only if you use Anaconda...
python3 -m venv env
env\Scripts\activate.bat
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements-dev.txt

Installation (production environment)

python3 -m pip install --no-cache-dir "aiapi @ git+ssh://git@gitlab.com/jdhp-dev/ai-api.git"

Documentation

Example usage

Build and run the Python Docker image

Build the docker image

From the AI-API source code:

docker build -t aiapi:latest .

Run unit tests from the docker container

From the AI-API source code:

docker run aiapi pytest

Run an example from the docker container

From the AI-API source code:

docker run aiapi python3 /app/examples/hello.py

Bug reports

To search for bugs or report them, please use the AI-API Bug Tracker at:

https://gitlab.com/jdhp-dev/ai-api/issues

License

This project is provided under the terms and conditions of the MIT License.

Metadata

Release files for aisrv 0.1.dev0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aisrv 0.1.dev0
File Size Uploaded
aisrv-0.1.dev0.tar.gz 14.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aisrv 0.1.dev0
File Interpreter ABI Platform
aisrv-0.1.dev0-py3-none-any.whl Python 3 none any Details

Total release size: 18.5 kB

Release files / aisrv-0.1.dev0.tar.gz

Download URL aisrv-0.1.dev0.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7c35b1c774f598b638bad611234cd6d4cb401cac27281969e37c36dae34c18b5
BLAKE2b-256 checksum
How to use checksums
9a0ec9cadbf4d284c855f5d0d81bcbb4ac7b9f7741d8535a3fad428297ef141d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.2

Release files / aisrv-0.1.dev0-py3-none-any.whl

Download URL aisrv-0.1.dev0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41be7a351c5b7c1df07dfcbb2070373e1def59f9ff3a3ac83da2e7c0a2da65c0
BLAKE2b-256 checksum
How to use checksums
50630c2740d1edcd316e3268752c0ddb2f3369720b82efde51ac7f8cc1d3dda9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.1.dev0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page