CilanTropy ist eine Python-Paket-Manager-Schnittstelle, die eine "benutzerfreundliche" visuelle und auch eine Befehlszeilenschnittstelle für Pythonistas bereitstellt. Heute haben wir viele nette Vertriebsunternehmen wie PIP, Distribute usw., aber wir haben keinen schönen visuellen Ansatz, um aktuelle installierte Pakete zu inspizieren, Projekte Metadaten anzeigen, nach PYPI -Updates usw.
Demo Korantropie
Installieren mit PIP:
$ pip install cilantropy
Upgrade mit PIP:
$ pip install --upgrade cilantropy
Repository @ dockerHub
Docker komponieren Auszug
# 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 Wenn Sie Linux mit systemd (vor Bearbeitungspfad und anderen Konfigurationen in contrib/systemd installierten contrib/systemd/cilantropy.service ) ausführen, können Sie cilantropy.service als Dienst als Service registrieren /etc/systemd/system
Alle Standard -SYSTEMD -Serviceverwaltungsbefehle (EG systemctl enable und systemctl start ) gelten.
Handbuch
$ sudo start cilantropy
$ sudo stop cilantropy
$ sudo status cilantropyoder
$ sudo service cilantropy start
$ sudo service cilantropy stop
$ sudo service cilantropy statusSie können Korantropie auf Ihrem Android -Gerät mit Terux verwenden:
$ pkg upgrade
$ pkg install python
$ pip install cilantropyBasicAuth mit Nginx
Im Allgemeinen wird diese App nicht mit der Authentifizierung verbunden. Es ist jedoch einfach, grundlegende Authorte einzurichten, um den unerwünschten Zugriff einzuschränken. So kann dies bei der Verwendung von nginx erfolgen.
apache2-utils (Debian, Ubuntu) oder httpd-tools (RHEL/CentOS/Oracle Linux) installiert sind-c , wenn Sie zuvor einen Benutzer erstellt haben, da es die Datei der Inital -Benutzer-/Passwort -Datei erstellt hatsudo htpasswd -c /etc/apache2/.htpasswd user1 Sie müssen nur das Skript anrufen (die Option -W öffnet automatisch Ihren Browser):
$ 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.
Entwickler können eine Entwicklungsumgebung mit dem Befehl "entwickeln" von setuptools einrichten:
$ git clone [email protected]:foozzi/cilantropy.git && cd cilantropy
$ pip install flit --user
$ flit install
$ cilantropy
Die Korantropie verwendet die folgenden externen Projekte:
Flasche
Ein Mikroframework basierend auf Werkzug, Jinja2 und guten Absichten
Bootstrap 4
HTML, CSS und JS Toolkit aus Bootstrap
Jinja2 (Flaskanforderung)
Die Jinja2 -Template -Engine
Werkzug (Kolbenanforderung)
Eine flexible WSGI -Implementierung und ein Toolkit
docopt (verwendet von PLP)
Befehlszeilenschnittstelle Beschreibung Sprache
Colorama (verwendet von PLP)
Plattformfarbener armlicher Terminaltext.
Dokumente
DOCUTILS ist ein Open-Source-Textverarbeitungssystem zur Verarbeitung von Klartextdokumentationen in nützliche Formate wie HTML oder Latex.
Flit (für das Erstellen und Installieren von Paket)
Flit ist eine einfache Möglichkeit, Python -Pakete und -Module auf PYPI zu setzen.
Korantropie ist kompatibel mit:
Korantropie ist kompatibel mit:
Öffnen Sie ein Problem in GitHub mit dem Traceback. Um das Traceback zu erhalten, müssen Sie im Debugging -Modus Korantropie ausführen:
$ 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.
Siehe die Mitwirkenden.
Projektseite - GitHub