Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

An (extremly) simple Meta-Language, this is the parser!

Project description

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):


Author: Example Author
Info: Class Schedule
Date: January 17th, 2020

<var title>Campus #1 Weekly Schedule Example</title>

<var monday>No School</monday>

<var tuesday>
class 1: history
class 2: science

<var wednesday>Not On Campus</wednesday>

<var thursday>
class 1: history
class 2: science

<var friday>
class 1: history
class 2: ap-history
class 3: science


Parsing Example (From File) :

from ezml import *

ezml = EZML(utils.dump_file('test.ezml')) 


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>") 

Getting Current Version:

from ezml import utils

Thanks for using E-Z MetaLanguage!

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ezml, version 1.1.2
Filename, size File type Python version Upload date Hashes
Filename, size ezml-1.1.2-py3-none-any.whl (4.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ezml-1.1.2.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page