{"id":16876217,"url":"https://github.com/coolcat467/idlealign","last_synced_at":"2025-04-11T11:32:23.205Z","repository":{"id":60619541,"uuid":"544294874","full_name":"CoolCat467/idlealign","owner":"CoolCat467","description":"Idle Align - Emacs Align by Regular Expression as an IDLE Extension","archived":false,"fork":false,"pushed_at":"2025-04-07T21:19:25.000Z","size":87,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T22:27:21.700Z","etag":null,"topics":["align","coolcat467","extension","idle","python","python-idle","python3","regex","regular-expression","regular-expressions","tkinter-python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CoolCat467.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2022-10-02T05:36:32.000Z","updated_at":"2025-01-07T19:29:06.000Z","dependencies_parsed_at":"2023-01-22T19:16:12.819Z","dependency_job_id":"21d4c5ad-241c-4c2b-b698-8ace77b34c50","html_url":"https://github.com/CoolCat467/idlealign","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"ec8b96fb0c5115e6a7d656f33ae44ac2cc8fda22"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoolCat467%2Fidlealign","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoolCat467%2Fidlealign/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoolCat467%2Fidlealign/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoolCat467%2Fidlealign/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CoolCat467","download_url":"https://codeload.github.com/CoolCat467/idlealign/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248384074,"owners_count":21094669,"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":["align","coolcat467","extension","idle","python","python-idle","python3","regex","regular-expression","regular-expressions","tkinter-python"],"created_at":"2024-10-13T15:38:39.503Z","updated_at":"2025-04-11T11:32:23.178Z","avatar_url":"https://github.com/CoolCat467.png","language":"Python","readme":"# IDLEAlign\nPython IDLE extension to align code by a regular expression\n\n[![Tests](https://github.com/CoolCat467/idlealign/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/CoolCat467/idlemypyextension/actions/workflows/tests.yml)\n\u003c!-- BADGIE TIME --\u003e\n\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/CoolCat467/idlealign/main.svg)](https://results.pre-commit.ci/latest/github/CoolCat467/idlealign/main)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)\n[![code style: black](https://img.shields.io/badge/code_style-black-000000.svg)](https://github.com/psf/black)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n\n\u003c!-- END BADGIE TIME --\u003e\n\n## What does this extension do?\nThis IDLE extension allows you to align a block of code by a regular\nexpression selecting the text you would like to have aligned and then\nrunning Format -\u003e Align Selection or `Alt+a` on default.\nIf `space wrap` is enabled in the dialog that appears, regular expression\nmatch in selected text will have a single space added on both sides. If\ndisabled, this will not happen. This is very helpful for making large\nblocks of assignment statements pretty or for making comments for\nyour ruff rules in pyproject.toml all match up.\n\n## Installation (Without root permissions)\n1) Go to terminal and install with `pip install idlealign[user]`.\n2) Run command `idleuserextend; idlealign`. You should see the following\noutput: `Config should be good! Config should be good!`.\n3) Open IDLE, go to `Options` -\u003e `Configure IDLE` -\u003e `Extensions`.\nIf everything went well, alongside `ZzDummy` there should be and\noption called `idlealign`. This is where you can configure if\nidlealign is enabled or not.\n\n## Installation (Legacy, needs root permission)\n1) Go to terminal and install with `pip install idlealign`.\n2) Run command `idlealign`. You will likely see a message saying\n`idlealign not in system registered extensions!`. Run the command\ngiven to add lintcheck to your system's IDLE extension config file.\n3) Again run command `idlealign`. This time, you should see the following\noutput: `Config should be good!`.\n4) Open IDLE, go to `Options` -\u003e `Configure IDLE` -\u003e `Extensions`.\nIf everything went well, alongside `ZzDummy` there should be and\noption called `idlealign`. This is where you can configure if\nidlealign is enabled or not.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolcat467%2Fidlealign","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoolcat467%2Fidlealign","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolcat467%2Fidlealign/lists"}