Cilantropy 는 Pythonistas를위한 "사용하기 쉬운"비주얼 및 명령 줄 인터페이스를 제공하기 위해 생성 된 Python 패키지 관리자 인터페이스입니다. 오늘날 우리는 PIP, 배포 등과 같은 많은 훌륭한 배포 유틸리티를 가지고 있지만 현재 설치된 패키지를 검사하고 프로젝트 메타 데이터 표시, PYPI 업데이트를 확인하는 등의 시각적 접근 방식은 없습니다.
데모 실란 트로피
PIP를 사용하여 설치 :
$ pip install cilantropy
PIP를 사용하여 업그레이드 :
$ pip install --upgrade cilantropy
저장소 @ dockerhub
Docker Compose 발췌
# 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 에 복사하여 실란 트로피를 서비스로 등록 할 수 있습니다.
모든 표준 시스템 서비스 관리 명령 (예 : systemctl enable 및 systemctl start )이 적용됩니다.
수동
$ sudo start cilantropy
$ sudo stop cilantropy
$ sudo status cilantropy또는
$ sudo service cilantropy start
$ sudo service cilantropy stop
$ sudo service cilantropy statusTermux를 사용하여 Android 장치에서 실란 트로피를 사용할 수 있습니다.
$ pkg upgrade
$ pkg install python
$ pip install cilantropynginx를 가진 Basicauth
일반적 으로이 앱에는 인증이 제공되지 않습니다. 그러나 원치 않는 액세스를 제한하기 위해 기본 인증을 쉽게 설정할 수 있습니다. 다음은 Nginx를 사용할 때 수행 할 수있는 방법입니다.
apache2-utils (Debian, Ubuntu) 또는 httpd-tools (Rhel/Centos/Oracle Linux)가 설치되어 있는지 확인하십시오.-c 플래그를 제거하십시오.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
실란 트로피는 다음과 같은 외부 프로젝트를 사용합니다.
플라스크
Werkzeug, Jinja2 및 좋은 의도를 기반으로 한 마이크로 프레임 워크
부트 스트랩 4
Bootstrap의 HTML, CSS 및 JS 툴킷
Jinja2 (플라스크 요구 사항)
Jinja2 템플릿 엔진
werkzeug (플라스크 요구 사항)
유연한 WSGI 구현 및 툴킷
docopt (PLP 사용)
명령 줄 인터페이스 설명 언어
Colorama (PLP에 의해 사용)
크로스 플랫폼 컬러 터미널 텍스트.
문서
Docutils는 일반 텍스트 문서를 HTML 또는 라텍스와 같은 유용한 형식으로 처리하기위한 오픈 소스 텍스트 처리 시스템입니다.
flit (패키지 빌드 및 설치 용)
Flit은 Python 패키지 및 모듈을 PYPI에 넣는 간단한 방법입니다.
실란 트로피는 다음과 호환됩니다.
실란 트로피는 다음과 호환됩니다.
Traceback과 함께 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