Extensible HTML/XML generator, cross-platform templating language, Oracle utilities and various other tools
Project description
XIST provides an extensible HTML and XML generator. XIST is also a XML parser with a very simple and pythonesque tree API. Every XML element type corresponds to a Python class and these Python classes provide a conversion method to transform the XML tree (e.g. into HTML). XIST can be considered ‘object oriented XSLT’.
XIST also includes the following modules and packages:
ll.ul4c is compiler for a cross-platform templating language with similar capabilities to Django’s templating language. UL4 templates are compiled to an internal format, which makes it possible to implement template renderers in other languages and makes the template code “secure” (i.e. template code can’t open or delete files).
There are implementations for Python, Java and Javascript.
ll.ul4on provides functions for encoding and decoding a lightweight machine-readable text-based format for serializing the object types supported by UL4. It is extensible to allow encoding/decoding arbitrary instances (i.e. it is basically a reimplementation of pickle, but with string input/output instead of bytes and with an eye towards cross-plattform support).
There are implementations for Python, Java and Javascript.
ll.orasql provides utilities for working with cx_Oracle:
It allows calling functions and procedures with keyword arguments.
Query results will be put into Record objects, where database fields are accessible as object attributes.
The Connection class provides methods for iterating through the database metadata.
Importing the modules adds support for URLs with the scheme oracle to ll.url.
ll.make is an object oriented make replacement. Like make it allows you to specify dependencies between files and actions to be executed when files don’t exist or are out of date with respect to one of their sources. But unlike make you can do this in a object oriented way and targets are not only limited to files.
ll.color provides classes and functions for handling RGB color values. This includes the ability to convert between different color models (RGB, HSV, HLS) as well as to and from CSS format, and several functions for modifying and mixing colors.
ll.sisyphus provides classes for running Python scripts as cron jobs.
ll.url provides classes for parsing and constructing RFC 2396 compliant URLs.
ll.nightshade can be used to serve the output of PL/SQL functions/procedures with CherryPy.
ll.misc provides several small utility functions and classes.
ll.astyle can be used for colored terminal output (via ANSI escape sequences).
ll.daemon can be used on UNIX to fork a daemon process.
ll.xml_codec contains a complete codec for encoding and decoding XML.
Changes in 5.60 (released 07/03/2020)
The handling of delayed logs and uneventful runs in ll.sisyphus has been changed: “Delayed logs” mode is now always active. If only delayed log messages are output they will never be written to the logfiles. If a job run is uneventful (i.e. ll.sisyphus.Job.execute returns None) no log messages will be written. If the job run is successful only the job result will be written.
The option and the class/instance attribute delaylogs no longer exist.
Added a new option and class/instance attribute exit_on_error which will stop job exeution in repat mode, when en exception occurs.
Project details
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 Distribution
Built Distributions
Hashes for ll_xist-5.60-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 227075284b2a4fa06e218685bad409db3e0fbcb29a190e320808e141cfeef608 |
|
MD5 | 7aab71c49f2b663f2b8750bb65c32c6a |
|
BLAKE2b-256 | 5eea133a939ef5e068858a6e484b0bf907bf485b94e76c936f2c470d1b3da29b |
Hashes for ll_xist-5.60-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb97c3cd5f23942996059a92c87cfd4c62071fce3fc9645dfbcb96aa577ac5f6 |
|
MD5 | 78fecdceae9abea346307acf59c6bd41 |
|
BLAKE2b-256 | 3963380b751ae3b7e00e1b45a77a07c84498fd92e444740cadd2c1d3cc074750 |
Hashes for ll_xist-5.60-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57d7d8fbb0d7b994ddbb332aa844c2cec8639f9cf711aeb0810644dfc93c2d8b |
|
MD5 | d1e86138fe56941b05072f1297a57b68 |
|
BLAKE2b-256 | 264c53cdb111780df24c0161aa557eb2f3ddab36021f0e1b7efa0af1a6f83f39 |
Hashes for ll_xist-5.60-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2feb6e61514459f12b139cc33dfe49c12ed142b0c69bc18d51fbf050cd32c778 |
|
MD5 | 9de9232f07aef6115fd796df2a5e97b0 |
|
BLAKE2b-256 | 383428cfc868bd395dc2a040e1f2fff0a3d825f5968db9827f38dc269f172538 |
Hashes for ll_xist-5.60-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85280fd2257b29b61358432d4ad49388be6d68e360566264fed18ee49197a42f |
|
MD5 | 43887f94e5033fdb24101cb528e8ddfa |
|
BLAKE2b-256 | ed17fc7d12ac2bfe848d6d00675d97a3c96886ecf588c32d06732a41f4269697 |