Python client

nextpyp-client is a Python library for the nextPYP website. It uses the same API the browser uses, so a script can list and read projects and sessions, change blocks, start and stop runs, and listen for updates.

Install it with:

pip install nextpyp-client

The client’s version matches the website API it speaks. Client 2.2.x works with a website whose API is 2.2 or newer, up to the next major version. Client.is_compatible() checks a website for you.

A script signs in with an app token that you approve on the website (Your Account, the Apps tab) and can revoke there. An AI assistant uses the same kind of token. Treat the token like a password: anyone who has it can act as you.

How to request a token and make the first calls is in the library’s own documentation: nextpyp.app/nextpyp-client.