Python 中的 Ruby LESS gem 等价物
Ruby LESS gem 看起来棒极了 - 我正在开发一个 Python/Pylons Web 项目,它将非常有用。 CSS 是,正如我们都熟悉的人最近写的about,在某些重要方面很笨拙。所以我想让自己变得更轻松。
是否有现有的 Python 模块或库提供并行功能?
The Ruby LESS gem looks awesome - and I am working on a Python/Pylons web project where it would be highly useful. CSS is, as someone we're all familiar with recently wrote about, clunky in some important ways. So I'd like to make it easier on myself.
Is there an existing Python module or library that provides parallel functionality?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我也需要一个 Python lesscss 编译器,所以已经开始在这里开发一个: http:// code.google.com/p/lesscss-python/
版本 0.0.1 已发布,不支持命名空间/访问器。它可能也充满了错误。
请随时参与错误报告/编码或查看 less-js http://fadeyev.net/2010/06/19/lessjs-will-obsolete-css/。
I have need for a Python lesscss compiler too, so have started work on one here: http://code.google.com/p/lesscss-python/
Version 0.0.1 has been released, with no support for namespaces/accessors. It is probably riddled with bugs too.
Please feel free to chip in with bug reports/coding or have a look at less-js http://fadeyev.net/2010/06/19/lessjs-will-obsolete-css/.
我首先想到的是 CleverCSS,一种使用 Python 的更强大的 CSS 语言和 Haskell 实现。我不知道它的生产准备情况如何。
The thing that first comes to mind for me is CleverCSS, a more powerful CSS-ish language with Python and Haskell implementations. I don't know how production-ready this is.
而另一个python scss编译器是 https://github.com/klen/python-scss
它使用使用 zeta 库(指南针替代方案)(蓝图、样板、js 支持、jquery)
https://github.com/klen/zeta-library
And another python scss compiler is https://github.com/klen/python-scss
Its used with zeta library (compass alternative) (blueprint, boilerplate, js support, jquery)
https://github.com/klen/zeta-library
python 也有 xCSS,我一直在研究它,希望为世界提供另一种选择。它已经实现了大部分 Saas 功能(变量、混合、嵌套规则、扩展、颜色函数等)。它托管为 Github 上的 xCSS for Python
There's xCSS for python as well, I've been working on it hopefully giving another alternative to the world. It already implements much of the Saas functionality (variables, mixins, nested rules, extending, color functions, etc.) It's hosted as xCSS for Python at Github