{"id":21070719,"url":"https://github.com/microbit-foundation/sanity-plugin-python-editor-v3","last_synced_at":"2026-07-03T02:03:16.962Z","repository":{"id":229669303,"uuid":"777306725","full_name":"microbit-foundation/sanity-plugin-python-editor-v3","owner":"microbit-foundation","description":"Sanity plugin with the schemas used for python-editor-v3","archived":false,"fork":false,"pushed_at":"2024-03-26T15:57:46.000Z","size":212,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-30T06:40:59.663Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microbit-foundation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-25T15:50:07.000Z","updated_at":"2024-03-25T16:19:31.000Z","dependencies_parsed_at":"2024-03-25T18:47:37.216Z","dependency_job_id":"fdd5c555-2ab4-4380-a288-cf5121d0a8d3","html_url":"https://github.com/microbit-foundation/sanity-plugin-python-editor-v3","commit_stats":null,"previous_names":["microbit-foundation/sanity-plugin-python-editor-v3"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/microbit-foundation/sanity-plugin-python-editor-v3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microbit-foundation%2Fsanity-plugin-python-editor-v3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microbit-foundation%2Fsanity-plugin-python-editor-v3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microbit-foundation%2Fsanity-plugin-python-editor-v3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microbit-foundation%2Fsanity-plugin-python-editor-v3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microbit-foundation","download_url":"https://codeload.github.com/microbit-foundation/sanity-plugin-python-editor-v3/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microbit-foundation%2Fsanity-plugin-python-editor-v3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35069183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-03T02:00:05.635Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T18:47:56.499Z","updated_at":"2026-07-03T02:03:16.914Z","avatar_url":"https://github.com/microbit-foundation.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Editor V3 Sanity schemas\n\nThis plugin contains the Sanity schemas used to manage content for the Micro:bit Educational\nFoundation Python Editor V3 ([deployment](https://python.microbit.org/v/3),\n[GitHub](https://github.com/microbit-foundation/python-editor-v3/)).\n\nThese are provided for developers who want to build alternative versions of the Python\nEditor so they can provide custom Reference and Ideas content.\n\nPlease note that the Reference and Ideas content used in the Python Editor V3 is not\nitself Open Source.\n\nThis project is provided in the hope it may be useful. The Micro:bit Educational Foundation\nare unable to provide significant support for its use.\n\n## Installation\n\n```sh\nnpm install @microbit/sanity-plugin-python-editor-v3\n```\n\n## Usage\n\n\u003e This is a **Sanity Studio v3** plugin.\n\nAdd it as a plugin in `sanity.config.ts` (or .js):\n\n```ts\nimport {defineConfig} from 'sanity'\nimport {pythonEditor, structure} from '@microbit/sanity-plugin-python-editor-v3'\n\nexport default defineConfig({\n  // ...\n  plugins: [structureTool({structure}), pythonEditor()],\n  schema: {\n    // All necessary types are provided by the plugin.\n    types: [],\n  },\n})\n```\n\nUsing the exported structure is optional.\n\nIf you need to augment the types defined in this plugin then you can transform them in\nyour app by providing a [function as the types field](https://www.sanity.io/docs/schema-types).\n\nThe Python Editor expects some minimum content:\n\n- A document of type `pythonIdeasConfig` with the ID `pythonIdeasConfig` and language \"en\".\n  If you use the suggested desk structure you can just publish the document under Ideas \u003e Config.\n- A document of type `toolkit` with the name \"Reference\" and language \"en\".\n\nYou'll want to add additional content otherwise the tabs will be blank but this is the minimum\nneeded to avoid errors.\n\n## Develop \u0026 test\n\nThis plugin uses [@sanity/plugin-kit](https://github.com/sanity-io/plugin-kit)\nwith default configuration for build \u0026 watch scripts.\n\nSee [Testing a plugin in Sanity Studio](https://github.com/sanity-io/plugin-kit#testing-a-plugin-in-sanity-studio)\non how to run this plugin with hotreload in the studio.\n\n## License\n\nThis software is under the MIT open source license.\n\n[SPDX-License-Identifier: MIT](LICENSE)\n\nWe use dependencies via the NPM registry as specified by the package.json file under common Open Source licenses.\n\nFull details of each package can be found by running `license-checker`:\n\n```bash\n$ npx license-checker --direct --summary --production\n```\n\nOmit the flags as desired to obtain more detail.\n\n## Code of Conduct\n\nTrust, partnership, simplicity and passion are our core values we live and\nbreathe in our daily work life and within our projects. Our open-source\nprojects are no exception. We have an active community which spans the globe\nand we welcome and encourage participation and contributions to our projects\nby everyone. We work to foster a positive, open, inclusive and supportive\nenvironment and trust that our community respects the micro:bit code of\nconduct. Please see our [code of conduct](https://microbit.org/safeguarding/)\nwhich outlines our expectations for all those that participate in our\ncommunity and details on how to report any concerns and what would happen\nshould breaches occur.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrobit-foundation%2Fsanity-plugin-python-editor-v3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrobit-foundation%2Fsanity-plugin-python-editor-v3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrobit-foundation%2Fsanity-plugin-python-editor-v3/lists"}