Skip to main content

Python language bindings for Thrust

Project description

pythrust

Official Python bindings library for Thrust

Getting Started

pythrust requires Python3 as it relies on the asyncio module.

pip3 install pythrust [--user]

At install, pythrust’s setup.py automatically downloads a binary distribution of Thrust for the current platform.

import pythrust
import asyncio

loop = asyncio.get_event_loop()
api = pythrust.API(loop)

asyncio.async(api.spawn())

window = api.window({})
asyncio.async(window.show())

loop.run_forever()

Status

Support is only limited to the window object for now. Contributions are welcomed

Support tested on Linux and MacOSX. Still a few bugs on Windows.

Documentation

Pending specific pythrust documentation, full API reference is available in the Thrust Documentation

News

0.7.5

Release date: UNRELEASED

  • Base API mechanism

  • Window bindings

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

pythrust-0.7.5.tar.gz (5.4 kB view hashes)

Uploaded Source

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