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
Release files for pythrust 0.7.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pythrust-0.7.5.tar.gz | 5.4 kB | Details |
Release files / pythrust-0.7.5.tar.gz
| Download URL | pythrust-0.7.5.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b2ce53539dbe1824738aa978e65a42de68084e5211037473d4d77b3646c927f
|
|
BLAKE2b-256 checksum How to use checksums |
c16c02fde7ff5dcb9c511b16bd4917ac9f4a73717dc2f867110905efff72a268
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |