MATM - Mountain of Absurd Things by Markups
Version: 1.0.0
Description
MATM is a data format. Supports strings, numbers, booleans. Files use .matm extension.
Installation
pip install matm-format
Functions
importmatm(file)
Reads .matm file and returns a dictionary.
Parameters:
- file (str) - path to .matm file
Returns:
- dict - loaded data
- str - error message (if file is corrupted)
writematm(typo, var, value, file)
Appends a record to .matm file.
Parameters:
- typo (str) - type: string, int, float, bool
- var (str) - variable name
- value - value
- file (str) - path to .matm file
Example
Writing to file:
from matm import writematm
writematm("string", "name", "John", "data.matm") writematm("int", "age", 25, "data.matm") writematm("bool", "active", True, "data.matm")
Reading from file:
from matm import importmatm
data = importmatm("data.matm") print(data.get("name")) print(data.get("age")) print(data.get("active"))
.matm file format
Each line contains:
type name > value
Example data.matm content:
string name > John int age > 25 bool active > True float pi > 3.14
Data types
string - text int - integer number float - floating point number (dot or comma separator) bool - True or False
Error handling
On syntax error, an educational video opens. Error message returns in English.
License
MIT
Copyright (c) 2026 Pupil DotTif
Metadata
Release files for matm-format 1.0.2
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 |
|---|---|---|---|---|
| matm_format-1.0.2.tar.gz | 3.9 kB | Without provenance | Details for matm_format-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| matm_format-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for matm_format-1.0.2-py3-none-any.whl |
Total release size: 8.8 kB
Release files / matm_format-1.0.2.tar.gz
| Download URL | matm_format-1.0.2.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
15c4bfa904f08f6fc1dfceab9f1bd228498b9c3e964a5446c4b58234c8498af6
|
|
BLAKE2b-256 checksum How to use checksums |
a3b988c1a39322fc3d329fd1f706a3661d27e73d4ca46904a34aca84d1a6a623
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|
Release files / matm_format-1.0.2-py3-none-any.whl
| Download URL | matm_format-1.0.2-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a923139d3cdeadbe16cfb2e41da5021fade7fbe3ec21c383241cc3a6242514ea
|
|
BLAKE2b-256 checksum How to use checksums |
9aabfe36f29361225f59b0353e52a293e16231d0e58f090c71683d0706e21c68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|
Security for matm-format 1.0.2
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.