{"id":19364518,"url":"https://github.com/math2001/st-py-less","last_synced_at":"2026-04-21T10:04:52.828Z","repository":{"id":74807196,"uuid":"71439675","full_name":"math2001/st-py-less","owner":"math2001","description":"A python compiler using python for Sublime Text","archived":false,"fork":false,"pushed_at":"2016-10-22T01:33:06.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T13:13:38.541Z","etag":null,"topics":["compiler","less","sublime-text","sublime-text-3"],"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/math2001.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":"2016-10-20T08:08:01.000Z","updated_at":"2023-01-30T02:25:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2f2a352-2a8f-4ffd-803e-2167e7143f6d","html_url":"https://github.com/math2001/st-py-less","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/math2001/st-py-less","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/math2001%2Fst-py-less","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/math2001%2Fst-py-less/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/math2001%2Fst-py-less/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/math2001%2Fst-py-less/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/math2001","download_url":"https://codeload.github.com/math2001/st-py-less/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/math2001%2Fst-py-less/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285043888,"owners_count":27105357,"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","status":"online","status_checked_at":"2025-11-18T02:00:05.759Z","response_time":61,"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":["compiler","less","sublime-text","sublime-text-3"],"created_at":"2024-11-10T07:37:37.076Z","updated_at":"2025-11-18T10:03:18.636Z","avatar_url":"https://github.com/math2001.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Less Compiler For Sublime Text 3\n\n\nYou want to compile your Less files when you save them, but you don't want to instal nodejs just for this... So, you're stuck... Guess what? You're not because of this repo ;)\n\nThis plugin compiles automatically your less files as soon as you save them, using a [lesscpy](https://github.com/lesscpy/lesscpy). \n\n## Usage\n\nTo use this plugin, you need to organize your styles in a specific way:\n\n\tstyles/\n\t\tless/\n\t\t\twhat/\n\t\t\t\tever.less\n\t\t\t\tyou/\n\t\t\t\t\twant.less\n\t\t\treally.less\n\t\tcss/\n\t\t\t# your less file will be compiled here with the same structure\n\t\t\twhat/\n\t\t\t\tever.css\n\t\t\t\tyou/\n\t\t\t\t\twant.css\n\t\t\treally.css\n\n\n\n## Installation\n\nThe installation is for now a bit tricky, because lesscpy's got some (small) dependences\n\n### First dependence: `six.py` \n\nGo to your package folder (of sublime text), create a new file, and paste [this content](https://bitbucket.org/gutworth/six/raw/ca4580a5a648fc75abc568907e81abc80b05d58c/six.py) in it.\n\n### Second dependence: `ply`\n\nThis one is a bit harder to install. You need to copy [this folder](https://github.com/dabeaz/ply/tree/master/ply) into you package folder. You an use [this website](http://kinolien.github.io/gitzip/) to do so. Extract it into `Packages` as a folder named `ply`. \u003ca href=\"https://kinolien.github.com/gitzip/?download=https://github.com/dabeaz/ply/tree/master/ply\" target=\"_blank\"\u003e \u003csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 26 26\" fill=\"currentColor\" style=\"width: 20px; height: 20px; vertical-align: middle;\t\"\u003e\u003cpath d=\"M25 17h-2c-.6 0-1 .4-1 1v2.5c0 .3-.2.5-.5.5h-17c-.3 0-.5-.2-.5-.5V18c0-.6-.4-1-1-1H1c-.6 0-1 .4-1 1v6c0 .6.4 1 1 1h24c.6 0 1-.4 1-1v-6c0-.6-.4-1-1-1zM12.3 16.7c.2.2.5.3.7.3s.5-.1.7-.3l6-6c.2-.2.3-.4.3-.7s-.1-.5-.3-.7l-1.4-1.4c-.2-.2-.4-.3-.7-.3-.3 0-.5.1-.7.3l-1 1c-.3.3-.9.1-.9-.4V2c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v6.6c0 .4-.5.7-.9.4l-1-1c-.2-.2-.4-.3-.7-.3-.3 0-.5.1-.7.3L6.3 9.4c-.2.2-.3.4-.3.7s.1.5.3.7l6 5.9z\"/\u003e\u003c/svg\u003e Download `.zip`\u003c/a\u003e\n\n### `lesscpy`\n\nSame as `ply`, you need to download [this folder](https://github.com/lesscpy/lesscpy/tree/master/lesscpy) and extract it into you package folder. \u003ca href=\"https://kinolien.github.com/gitzip/?download=https://github.com/lesscpy/lesscpy/tree/master/lesscpy\" target=\"_blank\"\u003e\u003csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 26 26\" fill=\"currentColor\" style=\"width: 20px; height: 20px; vertical-align: middle;\t\"\u003e\u003cpath d=\"M25 17h-2c-.6 0-1 .4-1 1v2.5c0 .3-.2.5-.5.5h-17c-.3 0-.5-.2-.5-.5V18c0-.6-.4-1-1-1H1c-.6 0-1 .4-1 1v6c0 .6.4 1 1 1h24c.6 0 1-.4 1-1v-6c0-.6-.4-1-1-1zM12.3 16.7c.2.2.5.3.7.3s.5-.1.7-.3l6-6c.2-.2.3-.4.3-.7s-.1-.5-.3-.7l-1.4-1.4c-.2-.2-.4-.3-.7-.3-.3 0-.5.1-.7.3l-1 1c-.3.3-.9.1-.9-.4V2c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v6.6c0 .4-.5.7-.9.4l-1-1c-.2-.2-.4-.3-.7-.3-.3 0-.5.1-.7.3L6.3 9.4c-.2.2-.3.4-.3.7s.1.5.3.7l6 5.9z\"/\u003e\u003c/svg\u003e Download `.zip`\u003c/a\u003e\n\n### Install the plugin\n\nLast step: get into your package directory and `clone` this repo (or download the zip and extract it). \n\n### At the end\n\nAt the end, your `packages` folder should look like this:\n\t\n\tPackages/\n\t\t...\n\t\tUser/\n\t\tply/\n\t\t\t__init__.py\n\t\t\tcpp.py\n\t\t\tctokens.py\n\t\t\tlex.py\n\t\t\tyacc.py\n\t\t\tygen.py\n\t\tlesscpy/\n\t\t\tless2css.py\n\t\t\tREADME.md\n\t\t\t...\n\t\tsix.py\n\nHope you enjoy it!\n\nIf you have any idea how to improve it, feel free to PR this repo, or if just tell it to me, I might manage to do it myself!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmath2001%2Fst-py-less","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmath2001%2Fst-py-less","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmath2001%2Fst-py-less/lists"}