E-Z Meta-Language / Python Parser
What Is E-Z MetaLanguage/Parser?
E-Z Meta-Language is an extremely simple(or "e-z"), xml-flavored, data storage + aquisition method, revolving around this parser, written in Python.
At this point, general usage is simply variable storage.
Basic usage:
Example .ezml file(test.ezml):
<ezml>
<meta>
Author: Example Author
Info: Class Schedule
Date: January 17th, 2020
</meta>
<var title>Campus #1 Weekly Schedule Example</title>
<var monday>No School</monday>
<var tuesday>
class 1: history
class 2: science
</tuesday>
<var wednesday>Not On Campus</wednesday>
<var thursday>
class 1: history
class 2: science
</thursday>
<var friday>
class 1: history
class 2: ap-history
class 3: science
</friday>
</ezml>
Parsing Example (From File) :
from ezml import *
ezml = EZML(utils.dump_file('test.ezml'))
print(ezml.meta)
print(ezml.var['title'])
print(ezml.var['monday'])
print(f"Tuesdays Schedule:\n {ezml.var['tuesday']}")
Parsing Example (From String):
from ezml import EZML
ezml = EZML("<ezml><meta>Title: Hello World!</meta><var title>Foo<title><var bar>Hello World!</bar></ezml>")
print(ezml.meta)
print(ezml.var['title'])
print(ezml.var['bar'])
Getting Current Version:
from ezml import utils
print(utils.version)
Thanks for using E-Z MetaLanguage!
Metadata
Release files for ezml 1.1.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 | |
|---|---|---|---|---|
| ezml-1.1.2.tar.gz | 3.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ezml-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.1 kB
Release files / ezml-1.1.2.tar.gz
| Download URL | ezml-1.1.2.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eebadb108fced57587d6daed2f65ed5b05e070d781a2f05ae0e7036ac7e7b90f
|
|
BLAKE2b-256 checksum How to use checksums |
11e894bd34855d761455b8f41d645be92e0aa167bf02a5142dc1658e6223f3f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.5
|
Release files / ezml-1.1.2-py3-none-any.whl
| Download URL | ezml-1.1.2-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb217d324635fcd7d21993dfb590e0acc6aaa46f9ce65aa74e8a8dd07c7b27d7
|
|
BLAKE2b-256 checksum How to use checksums |
f6dbf7118e39349a88466a2e91419419a7a232ffd5633482fa6ffdd3659873ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.5
|
Security for ezml 1.1.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.