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.40.2 (released 03/26/2019)
The jobname for ll.orasql.Job objects now no longer includes the owner name.
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.40.2-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4165ff96787fc0fd691ede43748e3d6a87c7e9a8c95f10e508d96c2479c5357f |
|
MD5 | 0258955f7d6c65068555cde3da2381a1 |
|
BLAKE2b-256 | f12a26f8685baa4e4187f764ca9d8d01d189d75c2073c0567f1ff47ab6cdc968 |
Hashes for ll_xist-5.40.2-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b54cf21d8482c37abfc35ee472f9c74e1ab200433764082003302c41c590df01 |
|
MD5 | 9a14d575b4a624b3bbce3920c8e566b2 |
|
BLAKE2b-256 | b0a4b8cf8259b523b7dfb8dfba8686104bccbb0faa11d2a07de1426e40cc8535 |
Hashes for ll_xist-5.40.2-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14752d6d4d8798a0483375fa188332167d47a15b8a8db9f9bfdc43194b5ccfd0 |
|
MD5 | b66e5e00ffc063e3dea30e2c02bae004 |
|
BLAKE2b-256 | 93ab5651272c4661fce5e69442d3ed66e577fa854a10043ed98dfddd8434dfeb |
Hashes for ll_xist-5.40.2-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78310add7d8016cf6091ee03e0ff67bfd523777af16bbf9e5087765eac7b49c0 |
|
MD5 | 4e6e6dfaf88a954245f9e0b1bd4f892d |
|
BLAKE2b-256 | 0fe650a15005adab64f26fb95a62229e6db6cfeb47ac64636e9223c087632822 |
Hashes for ll_xist-5.40.2-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75018a5747bd8c943745ef38f65783c2250e00f0651d15ff4e65588fdf8e924a |
|
MD5 | d471607befb1a4ca39ff06484a049d35 |
|
BLAKE2b-256 | 4ba95921f86605be200d2489cce93c2e9ca203a1efbec1ebb280a9fcbf91d4fe |