Skip to main content

logo of great-ai GreatAI

Easily transform your prototype AI code into production-ready software.

PyPI version Downloads Docker Pulls Test Sonar line coverage Sonar LoC

Applying AI is becoming increasingly easier but many case studies have shown that these applications are often deployed poorly. This may lead to suboptimal performance and to introducing unintended biases. GreatAI helps fixing this by allowing you to easily transform your prototype AI code into production-ready software.

Example

pip install great-ai

Create a new file called demo.py

from great_ai import GreatAI

@GreatAI.create
def greeter(name: str) -> str:
    return f"Hello {name}!"

Start it by executing great-ai demo.py, find the dashboard at http://localhost:6060.

demo screen capture

That's it. Your GreatAI service is nearly ready for production use. Many of the SE4ML best practices are configured and implemented automatically (of course, these can be customised as well).

Check out the full documentation here.

Why is this GREAT?

scope of GreatAI

GreatAI fits between the prototype and deployment phases of your AI development lifecycle. This is highlighted with blue in the diagram. Here, several best practices can be automatically implemented aiming to achieve the following attributes:

  • General: use any Python library without restriction
  • Robust: have error-handling and well-tested utilities out-of-the-box
  • End-to-end: utilise end-to-end feedback as a built-in, first-class concept
  • Automated: focus only on what actually requires your attention
  • Trustworthy: deploy models that you and society can confidently trust

Why GreatAI?

There are other, existing solutions aiming to facilitate this phase. Amazon SageMaker and Seldon Core provide the most comprehensive suite of features. If you have the opportunity to use them, do that because they're great.

However, research indicates that professionals rarely use them. This may be due to their inherent setup and operating complexity. GreatAI is designed to be as simple to use as possible. Its clear, high-level API and sensible default configuration makes it extremely easy to start using. Despite its relative simplicity over Seldon Core, it still implements many of the SE4ML best practices, and thus, can meaningfully improve your deployment without requiring prohibitively large effort.

Learn more

Check out the full documentation here.

Find great-ai on PyPI

pip install great-ai

Find great-ai on DockerHub

docker run -p6060:6060 schmelczera/great-ai

Contribute

Contributions are welcome.

Install for development

python3 -m venv --copies .env
source .env/bin/activate
pip install --upgrade flit pip
flit install --symlink

Develop

scripts/format-python.sh great_ai docs tests

Format code.

python3 -m pytest --doctest-modules --asyncio-mode=strict .

Run tests.

mkdocs serve

Serve documentation.

Release files for great-ai 0.1.11

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

Source distribution (sdist)

Source distribution for great-ai 0.1.11
File Size Uploaded
great-ai-0.1.11.tar.gz 26.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for great-ai 0.1.11
File Interpreter ABI Platform
great_ai-0.1.11-py3-none-any.whl Python 3 none any Details

Total release size: 26.7 MB

Release files / great-ai-0.1.11.tar.gz

Download URL great-ai-0.1.11.tar.gz
Size 26.4 MB
Tags Source
SHA-256 checksum
How to use checksums
08b255ca1d48cb1c9ef4d30ac1104a49c2086d907cbcd4b5e54914d0334511a3
BLAKE2b-256 checksum
How to use checksums
f662f5aaf0ad002e13e7999b61819110595d4eade5d26a945b6563ed0e6a5d83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release files / great_ai-0.1.11-py3-none-any.whl

Download URL great_ai-0.1.11-py3-none-any.whl
Size 312.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
563125aaa0c689a0192708fb0f7b71e544a82c56161b99047e343dbcf741f305
BLAKE2b-256 checksum
How to use checksums
02c013c30569989e6fe5ef553c3ee464ab07243f5c737744a585c68955c1eedc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release history Release notifications | RSS feed

This release

0.1.11 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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