mazegroup.py
v0.1.4.3
MazeGroup.pyは、Pythonの一般的なプラポースライブラリです。
コマンドpip install mazegroup 、 python -m pip install mazegroupまたはpy -m pip install mazegroupを使用して、Pythonパッケージをインストールします。
Mazegroup.pyは、CLIコマンド( mazegroupまたはmg )でインポートするか、実行できます。
CLIコマンドの使用法: mazegroup <command> <args> 。
すべてのコマンドは初期化時に登録されます。
Epemple mazegroup echo Hello, world!こんにちはHello, world! 。
このPythonソースコード(開始に不可欠な)でMazeGroup.pyをインポートする場合:
import mazegroup as mgパッケージ(コマンドパッケージ)を初期化する場合:
import mazegroup . imports as imports
imports . importMGPackages ()ソースコードでコマンドを使用するには(最後のステップを実行する必要があります):
import mazegroup . commands as commands
import mazegroup . utils as utils # For error checking
returned = commands . executeCommand ( "echo" , [ "Hello," , "world!" ]) # Echo "Hello, world!" by example
# If there is an error, shows it (optional) :
if type ( returned ) != utils . NoError :
print ( "Error :" , returned . message )py: in the引数(実際の引数のみが評価される)でpython式を評価できます。たとえば、 "py:5 + 5" 10 "返します。
echo <...>help <...>ls <path>pyexec <...>pyeval <...>calc <...>cd <path>exit <...>quit <...>pypkg <name> <options>-fまたは--full for full。info:{'name': ...}セットパッケージ情報(python dictionnary)の場合は、利用可能なキー:name - > strdescription - > strauthor - > strlicense - > strurl > strdate - > strsc <...>mazegroup sc <compress/decompress> <path> <!* output path> <!* password> <!* increments> <!* tar>mazegroup/sc/outです。shell <...>§ <...>% <...> 、コマンドcalcに相当しますが、このモードは式用にMazeGroup.pyシェルをロックします。sスペースを誘発します。rud <sourcecode> <options>update <...>version <...>ver <...>現在、ドキュメントは利用できません。すべてのライブラリのリスト:
nl/自然言語jygo/ Jygofluxesフラックスフォーマットパーサーtermgui端子GUIテストこのセクションは、他のバグや問題を追加する際に貢献できます。これらのバグと問題を修正することもできます。
update :パッケージのアンインストールコマンドプロセスを停止します。