Hi @dwastberg! Welcome to the forum (feel free to introduce yourself if you want to).
Short answer: yes, it’s possible from python! Check the examples out: Examples | Speckle Docs
from specklepy.api.client import SpeckleClient
from specklepy.api.credentials import get_default_account, get_local_accounts
all_accounts = get_local_accounts() # get back a list
account = get_default_account()
client = SpeckleClient(host="your-server.com")
# create a branch
branch_id = client.branch.create("stream_id", "branch name", "a description of the branch")
I’ve literally just copy pasted this code from the docs, so it’s not working, ping our resident py-master, @izzylys.
Regarding grasshopper: we’re planning to deprecate most of the stream management components in favour of the web app, where it’s simpler and easier to implement this functionality.