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