New Python API and Organization Admins

I developed a brand new Python api for using CoCalc!

https://pypi.org/project/cocalc-api/

and you should be able to pip or uv install it as normal.

The docs are at

https://cocalc.com/api/python/

You might want to try a few basic things like:

create an api key in account prefs on cocalc (refresh your browser if you get an error setting the expire date, since I just fixed an issue)

use the api to list your projects,

create a project,

copy files between two projects

Organizations

CoCalc now has a notion of organizations with admins, who can manage users of an organization. This is currently only accessible via this Python API right now. It is designed to make it much easier to build things like asynchronous courses involving Jupyter notebooks, where you want to easily build your own custom workflow and user management instead of using CoCalc's course management UI.

For managing users we will need to create a new "organization" for you and make you an admin of that organization. You can then create users in your org, provide a URL so they can use cocalc (without having to worry about creating accounts themselves), etc. Can you also make projects for them, add them as collaborators to those projects, copy files to their projects (from your own template project), list all members of your org, etc. It's also easy to broadcast a message to all org members.

It's also fairly easy to add new functionality to this API. What is missing that you want? An obvious gap is compute servers, right now.

-- William