{"id":46645138,"url":"https://github.com/chanicpanic/fontforge-stubs","last_synced_at":"2026-03-08T04:32:21.757Z","repository":{"id":317474362,"uuid":"1056292394","full_name":"chanicpanic/fontforge-stubs","owner":"chanicpanic","description":"Type stubs for FontForge's Python modules","archived":false,"fork":false,"pushed_at":"2025-11-29T22:47:39.000Z","size":136,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-01T01:09:18.328Z","etag":null,"topics":["fontforge","fontforge-python","python-stubs","python-types"],"latest_commit_sha":null,"homepage":"","language":"Python","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/chanicpanic.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-13T19:26:46.000Z","updated_at":"2025-11-29T22:47:39.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/chanicpanic/fontforge-stubs","commit_stats":null,"previous_names":["chanicpanic/fontforge-stubs"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/chanicpanic/fontforge-stubs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanicpanic%2Ffontforge-stubs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanicpanic%2Ffontforge-stubs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanicpanic%2Ffontforge-stubs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanicpanic%2Ffontforge-stubs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chanicpanic","download_url":"https://codeload.github.com/chanicpanic/fontforge-stubs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanicpanic%2Ffontforge-stubs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30245227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"online","status_checked_at":"2026-03-08T02:00:06.215Z","response_time":56,"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":["fontforge","fontforge-python","python-stubs","python-types"],"created_at":"2026-03-08T04:32:21.188Z","updated_at":"2026-03-08T04:32:21.741Z","avatar_url":"https://github.com/chanicpanic.png","language":"Python","readme":"# fontforge-stubs\n\nThis package provides PEP 561 type stubs and docstrings for\n[FontForge](https://github.com/fontforge/fontforge)'s Python modules:\n\n- `fontforge`\n- `psMat`\n\nThe stubs and docstrings were created by referencing the official FontForge\nPython Module documentation and -- when necessary -- the FontForge Python\nextension source code.\n\n## Motivation\n\nFontForge provides powerful Python C extension modules. By nature, they do not\ncontain typing information. Combined with inconsistent naming conventions and\nat times ambiguous documentation, FontForge Python scripting is unnecessarily\narduous.\n\nPerhaps you can relate to:\n\n- Never remembering if it's `glyph.name`, `glyph.glyphName`, or `glyph.glyph_name`\n- Reading the docs and still not knowing whether `width` is an `int` or a `float`\n- Parsing and re-parsing the documentation to figure out the structure of a\n  feature-script-lang tuple\n\nWith type stubs, editors can provide autocompletion, and type checkers can\nidentify errors previously only discovered when running your script with\nFontForge. Built-in documentation removes the need to constantly switch between\nyour editor and external documentation -- further increasing productivity.\n\n## Installation\n\nInstall the package in your development environment:\n\n```\npip install fontforge-stubs\n```\n\nYour editor/type-checker should automatically pick up the stubs.\n\n## Versioning and Compatibility\n\nThis project uses YYYY.MM.DD [calendar versioning](https://calver.org/).\n\nIt aims to be compatible with FontForge 20230101 and later. Legacy and\ndeprecated FontForge Python APIs are not officially supported.\n\nUpdates to the FontForge Python APIs since the latest offical release\n(currently 20251009) are kept in the\n[fontforge-next](https://github.com/chanicpanic/fontforge-stubs/tree/fontforge-next)\nbranch until the next upstream release. If you are using a newer build, you may\nwant to install from `fontforge-next`:\n\n```\npip install git+https://github.com/chanicpanic/fontforge-stubs@fontforge-next\n```\n\n## Contributing\n\nIf you find any issues with the type stubs, please open an issue and/or pull request.\n\n## License\n\nThis project is under the [MIT License](./LICENSE).\n\nThe stubs and docstrings in this project were closely derived from the\n[FontForge source](https://github.com/fontforge/fontforge). In particular,\n`fontforge.rst`, `psMat.rst`, and `python.c`. See [NOTICE](./NOTICE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanicpanic%2Ffontforge-stubs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchanicpanic%2Ffontforge-stubs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanicpanic%2Ffontforge-stubs/lists"}