Skip to main content

Extensible HTML/XML generator, cross-platform templating language, ORM, 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 oracledb:

    • 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.vsql provides a way to build Oracle SQL queries safely and dynamically using UL4 expressions. Instead of manually concatenating strings, you can express query logic with vSQL (a variant of UL4), which is then compiled into proper SQL. This approach eliminates the risky parts of query construction, effectively preventing SQL injection attacks, while offering the expressive power of an ORM without the overhead.

  • 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.87 (released 2026-06-11)

  • The format specifier that is used for embeddding literal SQL into t-strings for ll.orasql.Cursor.execute has been changed from l to q (this matches what psycopg uses).

  • The format specifier l now embeds the values as the appropriate SQL literal so

    cursor.execute(t"select * from person where lastname = {'Doe':l}")

    is equivalent to

    cursor.execute("select * from person where lastname = 'Doe'")

    (without using a bind variable).

  • ll.orasql.Cursor.execute now supports recursive t-strings. I.e. interpolations whose value itself is a t-string will be interpreted recursively. As with other literal interpolations, this only happens when the format spec q (and no conversion) is used, so

    name = "Doe"
    condition = t"lastname = {name}"
    cursor.execute(t"select * from person where {condition:q}")

    is equivalent to

    name = "Doe"
    cursor.execute(
      "select * from person where lastname = :p1",
      p1=name
    )
  • ll.vsql has been updated to support t-strings for the “raw SQL” parts of queries.

Project details


Release history Release notifications | RSS feed

This version

5.87

Download files

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

Source Distribution

ll_xist-5.87.tar.gz (1.8 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ll_xist-5.87-cp314-cp314-win_amd64.whl (624.0 kB view details)

Uploaded CPython 3.14Windows x86-64

ll_xist-5.87-cp314-cp314-win32.whl (621.4 kB view details)

Uploaded CPython 3.14Windows x86

ll_xist-5.87-cp314-cp314-macosx_26_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.14macOS 26.0+ ARM64

File details

Details for the file ll_xist-5.87.tar.gz.

File metadata

  • Download URL: ll_xist-5.87.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for ll_xist-5.87.tar.gz
Algorithm Hash digest
SHA256 ef293e0fb120f6bb951f2ef3c59da752b19a02b37aea3b060ee0ea0871c47a60
MD5 c4f19261e25a24f43226bdde54ddf048
BLAKE2b-256 890f5ac959f6a7c5983576477d5a4ad5d89536ffcc4ff4c11032f641fdbb0d28

See more details on using hashes here.

File details

Details for the file ll_xist-5.87-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: ll_xist-5.87-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 624.0 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for ll_xist-5.87-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 a97a9fe7f89e36ace2ab35a83a3f96bea51ce1ababc3119f8cb54437e3b06490
MD5 fd6a28ac11b8ed36039fd3cd8cc1c04c
BLAKE2b-256 82b7b3114693b5ffaa1252b6f94a138361e6022998f3e76afa6b6ab37bc73a46

See more details on using hashes here.

File details

Details for the file ll_xist-5.87-cp314-cp314-win32.whl.

File metadata

  • Download URL: ll_xist-5.87-cp314-cp314-win32.whl
  • Upload date:
  • Size: 621.4 kB
  • Tags: CPython 3.14, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for ll_xist-5.87-cp314-cp314-win32.whl
Algorithm Hash digest
SHA256 e2a631fdec423a8772bc7a8cb99cfd6c56ce402c09d03a13e2c330bc3439f511
MD5 a90a73af8f993ff280e70b83c5d227c7
BLAKE2b-256 c0e0293e845c756cd9937db9d369457273a808eb8f2d5ded4237630205676e02

See more details on using hashes here.

File details

Details for the file ll_xist-5.87-cp314-cp314-macosx_26_0_arm64.whl.

File metadata

File hashes

Hashes for ll_xist-5.87-cp314-cp314-macosx_26_0_arm64.whl
Algorithm Hash digest
SHA256 c3b63d892436173204600ffa094941c79c3c9f97725ba02204828ad484a48e29
MD5 571bc719286b61863d3fb85c4e03a909
BLAKE2b-256 f83ff2424c9f2cd0b826f13d4fa488c7b871d7b8f3fbf8fb043b26ac0fc9f323

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page