Skip to main content

An implementation of Google Cloud ML Engine Prediction using aiohttp.

Project description


  • asyncio: better use of your cpu idle time
  • pep8 compliant: following best code standards
  • tests: full tested to keep up-to-date on socketcluster
  • high-performance prediction: we try to use aio-grpc when possible


from asyncio_ml_engine import MachineLearningClient
project = 'my-gcloud-project'
service_account = './myserviceaccount.json'

async def myfunc():
  async with MachineLearningClient(project, service_account) as client:
    prediction = await client.predict('mymodel', X)

You can find more examples in the examples/ subdirectory.


$ pip install asyncio-gcloud-ml-engine



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for asyncio-gcloud-ml-engine, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size asyncio_gcloud_ml_engine-0.1.2-py2.py3-none-any.whl (5.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size asyncio-gcloud-ml-engine-0.1.2.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page