Venice, an open source Python runtime for VEX V5 robots

Venice is a community-driven, open-source port of Micropython to the VEX V5 brain. It supports:

  • Multiple files
  • Async Python for long-running tasks
  • Simple and type-safe API design
  • High-quality type checking, build, and upload support in any editor
from venice import Motor, Gearset, Direction
import venice.vasyncio

async def main():
    my_motor = Motor(
        1,
		Direction.FORWARD,
		Gearset.GREEN
	)
    my_motor.set_voltage(10.0)
    while True:
        await vasyncio.Sleep(5, venice.TimeUnit.MILLIS)
        print(f"Motor temperature: {my_motor.temperature()}")
vasyncio.run(main())

From the blog

Hello, Venice!

Introduction to Venice
Home Learn API Discord GitHub