xaml 0.3.10
pip install xaml==0.3.10
Released:
XML Abstract Markup Language
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD License)
- Author: Ethan Furman
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
Project description
an easier way for humans to write xml
if a line starts with any xaml component ( % @ . # $ ) that line represents an xml element:
- an element continues until eol, or an unquoted : - an element can be continued to the next line(s) using unquoted parens
elif a line starts with a “:” it is specifying how the following lines should be interpreted:
- :markdown -> markdown text (not implemented) - :css -> css styles (not implemented)
elif a line starts with // it is a comment, and will be converted into an xml comment
elif a line starts with a “-” it is Python code that will be run to help generate the final xml output
else the line represents the content of an xml element
xaml components:
- % -> element name - @ -> name attribute - . -> class attribute - # -> id attribute - $ -> string attribute (_ to ' ' conversion not implemented) e.g. %document .bold #doc_1 @AutoBiography $My_Biography -> <document class="bold" id="doc_1" name="AutoBiography" string="My Biography"/>
Based on haml [1] but aimed at Python.
Still in its early stages – send email to ethan at stoneleaf dot us if you would like to get involved!
Mercurial repository, wiki, and issue tracker at [2].
[1] http://haml.info/ [2] https://bitbucket.org/stoneleaf/xaml
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD License)
- Author: Ethan Furman
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
File details
Details for the file xaml-0.3.10.zip
.
File metadata
- Download URL: xaml-0.3.10.zip
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13e150ddd9d2fcb771f1ac4264108e829be071ccb8ab293a3d87e6cc75432982 |
|
MD5 | add6838452ee8312062e56058d75427a |
|
BLAKE2b-256 | 29c63e597b80600367054ef173505741e397dbb9fc0cb04e8a4cffdc783d7079 |
File details
Details for the file xaml-0.3.10.tar.gz
.
File metadata
- Download URL: xaml-0.3.10.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e2b1f8b099512e645c2f038b6fc6f0331505b6e9a697911074b4f2ec5bca590 |
|
MD5 | 768d8d6a2165575adc353f583120df99 |
|
BLAKE2b-256 | a4390593a801f1c0aff51d9e5b4a115db85ad5592ba19d58e46ae82ded82cde0 |