Cilantropy是创建的Python软件包管理器接口,旨在提供“易于使用的”视觉效果,也是pythonistas的命令行接口。今天,我们有许多不错的分销公用事业,例如PIP,Distribute等,但是我们没有一个不错的视觉方法来检查当前已安装的软件包,显示项目元数据,检查PYPI更新等等。
演示纤维状
使用PIP安装:
$ pip install cilantropy
使用PIP升级:
$ pip install --upgrade cilantropy
存储库 @ dockerhub
Docker撰写摘录
# Docker Compose excerpt
services :
nginx-ui :
image : fz11/cilantropy:latest
ports :
- 8080:8080
volumes :
- nginx:/etc/nginxuwsgi --http 0.0.0.0:5000 --wsgi-file wsgi.py --callable app --processes 1 --threads 8如果您使用SystemD运行Linux(在contrib/systemd/cilantropy.service中的编辑路径和其他配置之前,您可以通过复制cilantropy.service (均在contrib/systemd中)为/etc/systemd/system来注册Cilantropy作为服务。
应用所有标准SystemD服务管理命令(例如systemctl enable和systemctl start )。
手动的
$ sudo start cilantropy
$ sudo stop cilantropy
$ sudo status cilantropy或者
$ sudo service cilantropy start
$ sudo service cilantropy stop
$ sudo service cilantropy status您可以在Android设备上使用Termux上的Cilantropy:
$ pkg upgrade
$ pkg install python
$ pip install cilantropy带有nginx的碱性
通常,此应用程序不带有身份验证。但是,很容易设置基本验证来限制不需要的访问。这是使用NGINX时如何完成此操作。
apache2-utils (Debian,Ubuntu)或httpd-tools (Rhel/Centos/Oracle Linux)-c标志,如果您以前创建了一个用户,因为它创建了Inital用户/Passwort文件sudo htpasswd -c /etc/apache2/.htpasswd user1 您只需要调用脚本(-W选项将自动打开浏览器):
$ cilantropy -w
$ plp --help
Cilantropy - Python List Packages (PLP)
Usage:
plp list [--compact] [<filter>]
plp show <project_name>
plp check <project_name>
plp scripts [<filter>]
plp paste [list your packages to pastebin service]
plp (-h | --help)
plp --version
Options:
--compact Compact list format
-h --help Show this screen.
--version Show version.
开发人员可以使用Setuptools的“开发”命令来设置开发环境:
$ git clone [email protected]:foozzi/cilantropy.git && cd cilantropy
$ pip install flit --user
$ flit install
$ cilantropy
Cilantropy使用以下外部项目:
烧瓶
基于Werkzeug,Jinja2和良好意图的小框架
引导4
Bootstrap的HTML,CSS和JS工具包
jinja2(烧瓶要求)
Jinja2模板引擎
Werkzeug(烧瓶要求)
灵活的WSGI实施和工具包
DOCOPT(PLP使用)
命令行接口说明语言
Colorama(PLP使用)
跨平台彩色终端文本。
文档
Docutils是一种开源文本处理系统,用于将明文文档处理为有用的格式,例如HTML或乳胶。
Flit(用于构建和安装包)
Flit是将Python软件包和模块放在PYPI上的简单方法。
Cilantropy与:
Cilantropy与:
使用Trackback在Github中打开一个问题。为了获得追溯,您必须在调试模式下运行纤毛:
$ cilantropy -drvi
Copyright (c) 2020, Tkachenko Igor 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) All advertising materials mentioning features or use of this software must display the following acknowledgement:
"This product includes software developed by the University of California, Berkeley and its contributors."
4) Neither the name of the foozzi 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.
见贡献者。
项目网站 - github