Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/python/cocalc-api/docs/api/project.md
1712 views

Project Specific API

You can execute shell commands and code using a Jupyter kernel. Create an instance of this API using cocalc_api.Project and pass in the project_id in addition to the API key. This works with both project-specific API keys and account level API keys.

>>> import cocalc_api >>> project = cocalc_api.Project(api_key="sk-...", project_id='...')

::: cocalc_api.project.System