Skip to main content

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!

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)

Source distribution for ezml 1.1.2
File Size Uploaded
ezml-1.1.2.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ezml 1.1.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

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