{"id":13448294,"url":"https://github.com/SublimeText/sublime_lib","last_synced_at":"2025-03-22T09:31:06.099Z","repository":{"id":48934201,"uuid":"127953676","full_name":"SublimeText/sublime_lib","owner":"SublimeText","description":"Utility library for frequently used functionality in Sublime Text and convenience functions or classes","archived":false,"fork":false,"pushed_at":"2021-07-05T02:06:51.000Z","size":787,"stargazers_count":52,"open_issues_count":22,"forks_count":4,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-12T22:33:44.990Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sublimetext.github.io/sublime_lib","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/SublimeText.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}},"created_at":"2018-04-03T18:46:58.000Z","updated_at":"2024-02-24T05:40:28.000Z","dependencies_parsed_at":"2022-09-11T21:11:21.234Z","dependency_job_id":null,"html_url":"https://github.com/SublimeText/sublime_lib","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeText%2Fsublime_lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeText%2Fsublime_lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeText%2Fsublime_lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeText%2Fsublime_lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SublimeText","download_url":"https://codeload.github.com/SublimeText/sublime_lib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244937751,"owners_count":20535124,"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-07-31T05:01:41.384Z","updated_at":"2025-03-22T09:31:05.561Z","avatar_url":"https://github.com/SublimeText.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# sublime_lib\n\nA utility library for Sublime Text providing a variety of convenience features for other packages to use.\n\n## Installation\n\nTo make use of sublime_lib in your own package, first declare it as a [dependency](https://packagecontrol.io/docs/dependencies) of your package. Create a file named `dependencies.json` in the root of your package with the following contents:\n\n```json\n{\n    \"*\": {\n        \"*\": [\n            \"sublime_lib\"\n        ]\n    }\n}\n```\n\nOnce you have declared the dependency, open the command palette and run `Package Control: Satisfy Dependencies` to ensure that sublime_lib is installed and available for use.\n\nThen, anywhere in your package, you can import sublime_lib by name:\n\n```python\nimport sublime_lib\n```\n\n## Features\n\nFor complete documentation of all features, see the [API documentation](https://sublimetext.github.io/sublime_lib/).\n\nHighlights include:\n\n- [`SettingsDict`](https://sublimetext.github.io/sublime_lib/modules/sublime_lib.settings_dict.html), which wraps a `sublime.Settings` object with an interface modeled after a standard Python `dict`.\n- [`ViewStream`](https://sublimetext.github.io/sublime_lib/modules/sublime_lib.view_stream.html), a standard [Python IO stream](https://docs.python.org/3/library/io.html#io.TextIOBase) wrapping a `sublime.View` object; and [OutputPanel](https://sublimetext.github.io/sublime_lib/modules/sublime_lib.output_panel.html), which extends `ViewStream` to provide additional functionality for output panel views.\n- The [`syntax` submodule](https://sublimetext.github.io/sublime_lib/modules/sublime_lib.syntax.html), providing methods to list all loaded syntax definitions and to find a syntax matching a given scope.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSublimeText%2Fsublime_lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSublimeText%2Fsublime_lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSublimeText%2Fsublime_lib/lists"}