{"id":16699486,"url":"https://github.com/ousttrue/gi_tool","last_synced_at":"2025-03-14T05:21:38.323Z","repository":{"id":136459259,"uuid":"565538540","full_name":"ousttrue/gi_tool","owner":"ousttrue","description":"pygobject utility","archived":false,"fork":false,"pushed_at":"2022-12-17T13:38:53.000Z","size":38,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T00:20:01.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ousttrue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-11-13T18:13:04.000Z","updated_at":"2022-11-18T10:28:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"e8cd0773-c764-4bca-adb8-7166318b07f8","html_url":"https://github.com/ousttrue/gi_tool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ousttrue%2Fgi_tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ousttrue%2Fgi_tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ousttrue%2Fgi_tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ousttrue%2Fgi_tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ousttrue","download_url":"https://codeload.github.com/ousttrue/gi_tool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243527334,"owners_count":20305200,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-10-12T18:07:09.366Z","updated_at":"2025-03-14T05:21:38.297Z","avatar_url":"https://github.com/ousttrue.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gi_tool\n\n## gi_tool.girstub\n\nPython stub generator for pygobject from `gir` file.\nA [pygobject-stubs](https://github.com/pygobject/pygobject-stubs/tree/master/tools) alternative.\n\n```py\n   def insert_column(self, column: TreeViewColumn, position: int) -\u003e int: ...\n```\n\n👇\n\nMore rich annotation.\n\n```py\n    def insert_column(self, column: 'TreeViewColumn', position: int) -\u003e int:\n        \"\"\"This inserts the @column into the @tree_view at @position.  If @position is\n-1, then the column is inserted at the end. If @tree_view has\n“fixed_height” mode enabled, then @column must have its “sizing” property\nset to be GTK_TREE_VIEW_COLUMN_FIXED.\"\"\"\n        ...\n```\n\n## usage\n\nGenerate a stub from a gir, Send to standard output.\n\n```\n# usage: girstub gen gir_dir module version\n\n\u003e python gi_tool/girstub.py gen C:/gnome/share/gir-1.0 Gtk 4.0 \u003e C:\\Python311\\Lib\\site-packages\\gi-stubs\\repository\\Gtk.pyi\n```\n\nConvert the gifs in folder and write each result to the output folder.\n\n```\n# usage: girstub all gir_dir site_packages\n\n\u003e python gi_tool/girstub.py all C:/gnome/share/gir-1.0 C:\\Python311\\Lib\\site-packages\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fousttrue%2Fgi_tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fousttrue%2Fgi_tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fousttrue%2Fgi_tool/lists"}