石灰华是一组用于描述用户界面的常量和实用程序
travertino的Python项目详细描述
石灰华
石灰华是一组用于描述用户的常量和实用程序 接口,包括:
- 颜色
- 方向
- 文本对齐
- 尺寸
使用量
安装travatino:
$ pip install travertino
然后在python代码中,导入并使用它:
>>> from travertino import color, rgb, # Define a new color as an RGB triple >>> red = rgb(0xff, 0x00, 0x00) # Parse a color from a string >>> color('#dead00') rgb(0xde, 0xad, 0x00) # Reference a pre-defined color >>> color('RebeccaPurple') rgb(102, 51, 153)
社区
石灰华是BeeWare suite的一部分。您可以通过以下方式与社区对话:
- @pybeeware on Twitter
- gitter上的pybee/general通道。
我们建立了一个欢迎和尊重的社区,如 BeeWare Community Code of Conduct。
贡献
如果你遇到石灰华的问题,log them on GitHub。如果你 想要贡献代码,请fork the code和submit a pull request。