{"id":13705526,"url":"https://github.com/Vepnar/Sanic-Sass","last_synced_at":"2025-05-05T16:33:00.219Z","repository":{"id":57463866,"uuid":"262270505","full_name":"Vepnar/Sanic-Sass","owner":"Vepnar","description":"Implement Sass \u0026 SCSS to sanic","archived":false,"fork":false,"pushed_at":"2021-03-21T15:42:02.000Z","size":8,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T13:49:18.758Z","etag":null,"topics":["python3","sanic","sanic-framework","sanic-middleware","sass","scss"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/sanic-sass/","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/Vepnar.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":"2020-05-08T08:37:54.000Z","updated_at":"2023-01-12T15:06:04.000Z","dependencies_parsed_at":"2022-09-05T06:01:24.751Z","dependency_job_id":null,"html_url":"https://github.com/Vepnar/Sanic-Sass","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/Vepnar%2FSanic-Sass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vepnar%2FSanic-Sass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vepnar%2FSanic-Sass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vepnar%2FSanic-Sass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vepnar","download_url":"https://codeload.github.com/Vepnar/Sanic-Sass/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252534033,"owners_count":21763706,"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":["python3","sanic","sanic-framework","sanic-middleware","sass","scss"],"created_at":"2024-08-02T22:00:42.958Z","updated_at":"2025-05-05T16:32:59.892Z","avatar_url":"https://github.com/Vepnar.png","language":"Python","funding_links":[],"categories":["Extensions"],"sub_categories":["Frontend"],"readme":"# Sanic-sass 0.1.0\n\n###### A simple and pythonic way to implement Sass \u0026 SCSS into Sanic without using webpack!\n\n## Features\n- On the fly compiling to speed up development with our middleware.\n- Compile your entire application at once for at production\n\n# Installation\n\n## With pip\n`pip install sanic-sass`\n\n## With setuptools \u0026 git\nClone the newest version from github.\u003cbr\u003e\n`git clone https://github.com/Vepnar/Sanic-Sass.git`\u003cbr\u003e\nCd into the new directory.\u003cbr\u003e\n`cd Sanic-Sass`\u003cbr\u003e\nRun setuptools.\u003cbr\u003e\n`setup.py install --user`\n\n# Examples\n\n### Precompiled\n```py\nfrom sanic import Sanic\nfrom sanic_sass import SassManifest\n\nwebserver = Sanic(name='precompiled')\n\nmanifest = SassManifest('/static/css', './static/sass', './compiled', css_type='sass')\nmanifest.compile_webapp(webserver, register_static=True)\n\nwebserver.run(host='0.0.0.0', port=8000)\n```\n\n### As middelware\n```py\nfrom sanic import Sanic\nfrom sanic_sass import SassManifest\n\nwebserver = Sanic(name='middelware')\n\nmanifest = SassManifest('/static/css', './static/scss', './compiled', css_type='scss')\nmanifest.middelware(webserver)\n\nwebserver.run(host='0.0.0.0', port=8000, debug=True)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FVepnar%2FSanic-Sass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FVepnar%2FSanic-Sass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FVepnar%2FSanic-Sass/lists"}