MapleX
MapleX is a Python library for simple logging, json file operations, Maple file format operations, and console color utilities.
You can install the package from pip with the following command.
pip install MapleX
Logger Class
Logger is a logging object for Python applications. It outputs application logs to log files and to console (standard output).
Easy and simple enough to use, yet highly practical. The best logging library for beginners and for personal projects.
Beginner Friendly
Color Highlited Output
The output will be color-highlighted for better analysis based on the log level. (Not tested on macOS, and you need Windows Terminal for Windows OS)
Outputs Stack Trace
You can use a function to outputs error message and the stack trace at once.
Logger Sample
import maplex
logger = maplex.getLogger("FunctionName")
logger.info("Hello there!")
This outputs to the console:
[INFO ][FunctionName] <module>(4) Hello there!
Also outputs to the log file:
(PsNo) yyyy-MM-dd HH:mm:ss.fff [INFO ][FunctionName] <module>(4) Hello there!
MapleJson
MapleJson class is a library class for converting data between dict data and JSON-formatted file data.
You can read, write, and also encrypt a JSON file as a dict data.
Maple File Format
Maple is a file system that I created when I was a child. It's like a combination of the INI file and the Jason file. I made this format that is easy to read and write for both humans and machines.
Basic Format
All data before MAPLE\n will be ignored
MAPLE
# Maple data must start with "MAPLE"
*MAPLE_TIME
yyyy/MM/dd HH:mm:ss.fffffff
# Encoded time or optional time in the method parameter
H *STATUS
# File status
ADT yyyy/MM/dd HH:mm:ss.fffffff
RDT yyyy/MM/dd HH:mm:ss.fffffff
CNT {int}
H #*
ADT is the most recent edited time
RDT is the second most recent edited time (before ADT)
CNT is the data count (Optional)
E *#
E
H *Header
# Headers include '*' are system headers
E
H Data Headers
H Sub Data Header
CMT Comments
# This is also a comment
Tags Properties
# Propaties cannot include 'CRLF.'
Tags2 Properties
# You cannot use the same tags in a Header except CMT and NTE in H NOTES
H Sub Data Header
Tags Propaties
# You can use the same tag in the child header,
# which is already used in the parents' header
E
E
H *NOTES NOTES_HEADER
# Note's header
NTE {strimg}
NTE ...
# Notes' main strings for the multi-line data
# COMMENTS IN THE "*NOTES" BLOCK WILL BE DELETED WHEN SAVING!
E
H #*
This is a comment block.
Starts with "H #*"
and ends with "E *#"
E *#
E
H Data Headers2
E
# "\nEOF\n" must be needed for all data
EOF
All datas after "\nEOF\n" will be ignored
MapleTree Class
MapleTree class is a Python library for reading, editing, and writeing the Maple formatted file from the Python code.
You can also automatically encrypt the file data using the library functions.
Exceptions
Excption classes are the specialized classes for MapleX to make your debugging easier.
Console Colors
ConsoleColors class is a class library for color-highlighting the standard output.
Install MapleX
From PyPI
[python[3] -m] pip install MapleX [--upgrade] [--break-system-packages]
--upgradeoption for upgrade from older version.--break-system-packageoption for Python on Linux OS outside thevenv. This might brak the system Python package dependencies.
Build the Package by Yourself
Run python[3] -m build
or
Run python[3] setup.py sdist bdist_wheel
Unit test
python[3] -m unittest discover -s tests
Metadata
Release files for MapleX 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| maplex-3.0.0.tar.gz | 101.0 kB | With provenance | Details for maplex-3.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| maplex-3.0.0-py3-none-any.whl | Python 3 | none | any | Details for maplex-3.0.0-py3-none-any.whl |
Total release size: 118.9 kB
Release files / maplex-3.0.0.tar.gz
| Download URL | maplex-3.0.0.tar.gz |
|---|---|
| Size | 101.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0054bd3607225e622e2eb8f33aab94b0c9304f0fd94dcf29de970eddca40c31b
|
|
BLAKE2b-256 checksum How to use checksums |
09a8003e93793be111f60a83b7cc288decb4df8b9bb220f96b5fa05513a623ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 22, 2026.
Transparency logRelease files / maplex-3.0.0-py3-none-any.whl
| Download URL | maplex-3.0.0-py3-none-any.whl |
|---|---|
| Size | 17.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e617caf8d54f4c39477aa63747c83c874ed8c6b76ff84f2ba01b894a673e574
|
|
BLAKE2b-256 checksum How to use checksums |
8a39a05bcfb15cd03a691f6defa923ed12601aed4a7ca58cc39192577e41c53d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 22, 2026.
Transparency logSecurity for MapleX 3.0.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for maplex-3.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 22, 2026.
Transparency logA 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.