Skip to main content

Transform your prototype AI code into production-ready software.

Project description

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.

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

great-ai-0.1.7.tar.gz (22.6 MB view details)

Uploaded Source

Built Distribution

great_ai-0.1.7-py3-none-any.whl (309.2 kB view details)

Uploaded Python 3

File details

Details for the file great-ai-0.1.7.tar.gz.

File metadata

  • Download URL: great-ai-0.1.7.tar.gz
  • Upload date:
  • Size: 22.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for great-ai-0.1.7.tar.gz
Algorithm Hash digest
SHA256 24fc1c36d4434aba9b8f678c75c371ae794da53edf7dc58f99f1988ae4c6ba33
MD5 025db6784ff4cd53213b2fc0e7173eed
BLAKE2b-256 8bcaceef7beccfceb8bd91423119de9a3a7d49b6186149d061f9195ac3148f62

See more details on using hashes here.

File details

Details for the file great_ai-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: great_ai-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 309.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for great_ai-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a594d594c4d267f02c56e105c657cd264183b1143a1e04199b61d10e16bfd7b0
MD5 36e1de1192c9398e5973d74e32fbfa03
BLAKE2b-256 fe38e689913e4ed44b6d5cfe50b70e80c9b01ac1cd0fda91f71c23731da0a7ae

See more details on using hashes here.

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