Skip to main content

MazeGroup.py

MazeGroup.py is an general prupose library for Python.


Installation

With PyPi :

Use the command pip install mazegroup, python -m pip install mazegroup or py -m pip install mazegroup to install the Python package.

Usage

MazeGroup.py can be imported or can be executed with the CLI command (mazegroup or mg).

With command :

The CLI command usage : mazegroup <command> <args>.

All commands are registered at the initialization.

For exemple mazegroup echo Hello, world! will prints Hello, world!.

With importation :

For import MazeGroup.py in this Python source code (essential to start) :

import mazegroup as mg

For initialize packages (commands packages) :

import mazegroup.imports as imports
imports.importMGPackages()

For use a command in your source code (you must do the last step) :

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)

Arguments

You can evaluate Python expression in using py: in the argument (only the actual argument will be evaluate), by example the argument "py:5 + 5" will returns 10, we use " because we also use spaces on the expression.

Commands available :

  • echo <...>
    • Print the textes in arguments.
  • help <...>
    • Shows all commands available.
  • ls <path>
    • Shows all directories and files from the selected path.
  • pyexec <...>
    • Execute the Python code in arguments.
  • pyeval <...>
    • Evaluate the Python expression in arguments.
  • calc <...>
    • Evaluate expression in arguments with the Shaft parser.
  • cd <path>
    • Choose the working directory, work only on MazeGroup.py shell.
  • exit <...>
    • Exit the program, for MazeGroup.py shell.
  • quit <...>
    • Exit the program, for MazeGroup.py shell.
  • pypkg <name> <options>
    • Make a Python package. Options :
      • -f or --full for a full generation.
      • info:{'name': ...} for set package informations (a python dictionnary), keys available :
        • name -> str
        • description -> str
        • author -> str
        • license -> str
        • url -> str
        • date -> str
  • sc <...>
    • SC for Secure Compress, it's a encrypted compression who works with a password, a increment level and a tar level.
    • Usage : mazegroup sc <compress/decompress> <path> <!* output path> <!* password> <!* increments> <!* tar>
    • The default output is in the MazeGroup.py Python package directory, on the part of this command, either mazegroup/sc/out.
  • shell <...>
    • The MazeGroup.py shell. There are modes available, use their start char for enter on it :
      • The system shell mode : § <...>
      • The calc mode : % <...>, equivalant of the command calc but this mode lock the MazeGroup.py shell for expressions.
    • Once you enter in a mode, the rest of commands of after will be locked on this mode, for return to the MazeGroup.py shell, you must enter a empty command.
    • In command arguments (only on the MazeGroup.py shell), the \s will provoks a space.
  • rud <sourcecode> <options>
    • RUD interpreter, a minimal stack-based programming language. No documentation available.
  • update <...>
    • Update MazeGroup.py package.
  • version <...>
    • Show the credits and package informations, including the actual installed version.
  • ver <...>
    • Show the credits and package informations, including the actual installed version.

Libraries

Not documentation available for now. List of all libraries :

  • nl/ Natural Language
  • jygo/ Jygo
  • fluxes Fluxes format parser
  • termgui Terminal GUI tests

Bugs & knowed Issues

This section can be contributed by you in adding other bugs or issues. You can also try to fix these bugs & issues.

  • update command : The package uninstallation stop the command process.

Metadata

Release files for mazegroup 0.1.4.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mazegroup 0.1.4.3.1
File Size Uploaded Provenance
mazegroup-0.1.4.3.1.tar.gz 23.1 kB Without provenance Details

Release files / mazegroup-0.1.4.3.1.tar.gz

Download URL mazegroup-0.1.4.3.1.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6763eb2ae11bcc19c70593670831d0c650c3e7ad4702044dc8b4350da548ffc1
BLAKE2b-256 checksum
How to use checksums
cba0f209399f5cc2f91fb06080ac662254671f37b0ad1ad94df4f044aaf984d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.21

Security for mazegroup 0.1.4.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page