3 Star 0 Fork 0

Gitee 极速下载/cassowary

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/pybee/cassowary
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

This project is being dusted off

This project was transferred to Brodderick Rodriguez in February 2020 who will oversee its development from here on out.
A big thanks to Russell for his original authorship of this project.

Cassowary

A pure Python implementation of the Cassowary constraint-solving algorithm. Cassowary is the algorithm that forms the core of the OS X and iOS visual layout mechanism.

Quickstart

Cassowary is compatible with both Python 2 or Python 3. To install Cassowary in your virtualenv, run:

$ pip install cassowary

Then, in your Python code, you can create and solve constraint systems. See the documentation for examples of what this looks like in practice.

Documentation

Documentation for Cassowary can be found on Read The Docs.

Community

Notice: Cassowary is no longer part of the BeeWare suite.
You can talk to the community through:

Contributing

If you experience problems with Cassowary, log them on GitHub. If you want to contribute code, please fork the code and submit a pull request.

Project Administration

This project was transferred to Brodderick Rodriguez in February 2020 who will continue to oversee its development from here on out.
Russell Keith-Magee is the original author of this work. A big thanks to him for his work! Check out Russell's GitHub.
Copyright (c) 2014-2019 Russell Keith-Magee. Copyright (c) 2020 Brodderick Rodriguez. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of Cassowary nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. =========================================================================== This port of the Cassowary algorithm was derived from the JavaScript implmentation. That implementation is distributed under the terms of the Apache 2.0 license: Copyright (C) 1998-2000 Greg J. Badros Parts Copyright (C) 2011-2012, Alex Russell (slightlyoff@chromium.org) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

你可以运行 Windows 虚拟机并在 Linux 上使用 Windows 应用程序,就好像它们是基于 FreeRDP 和远程应用程序技术构建的本机应用程序一样 展开 收起
Python
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/cassowary.git
git@gitee.com:mirrors/cassowary.git
mirrors
cassowary
cassowary
master

搜索帮助