ll-xist


Namell-xist JSON
Version 5.75.1 PyPI version JSON
download
home_pagehttp://python.livinglogic.de/
SummaryExtensible HTML/XML generator, cross-platform templating language, Oracle utilities and various other tools
upload_time2024-04-11 11:36:04
maintainerNone
docs_urlNone
authorWalter Doerwald
requires_python>=3.8
licenseMIT
keywords ansi css cherrypy ftp hls hsb hsc hsv html http oracle pi pl/sql rfc 2396 rgb svg url xhtml xml xsl-fo xslt build codec color cron cx_oracle decorator escape sequence execnet iterator job make procedure processing instruction property record schema ssh template templating language terminal toxic user defined function
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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).

  __ https://docs.djangoproject.com/en/1.5/topics/templates/

  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``.

  .. _cx_Oracle: https://oracle.github.io/python-cx_Oracle/

* ``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.

__ http://www.cherrypy.org/


Changes in 5.75.1 (released 2024-04-11)
---------------------------------------

* Added support for the HTML pseudo class ``:disabled`` to
  ``ll.xist.css.applystylesheets``. Now the following works::

    >>> from ll.xist.ns import html
    >>> from ll.xist import css
    >>> e = html.html(
    ...   html.style('''
    ...     button {color: blue;}
    ...     button:disabled {color: red;}
    ...     '''),
    ...   html.button('gurk', disabled=True)
    ... )
    ...
    >>> css.applystylesheets(e)
    >>> e.string()
    '<html><button disabled="disabled" style="color: red">gurk</button></html>'



            

Raw data

            {
    "_id": null,
    "home_page": "http://python.livinglogic.de/",
    "name": "ll-xist",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "ANSI, CSS, CherryPy, FTP, HLS, HSB, HSC, HSV, HTML, HTTP, Oracle, PI, PL/SQL, RFC 2396, RGB, SVG, URL, XHTML, XML, XSL-FO, XSLT, build, codec, color, cron, cx_Oracle, decorator, escape sequence, execnet, iterator, job, make, procedure, processing instruction, property, record, schema, ssh, template, templating language, terminal, toxic, user defined function",
    "author": "Walter Doerwald",
    "author_email": "walter@livinglogic.de",
    "download_url": "https://files.pythonhosted.org/packages/9e/cf/7dc638b467390ee56e6af82a1c99b8947016c710916f300a4df4cf1d8962/ll-xist-5.75.1.tar.gz",
    "platform": null,
    "description": "XIST provides an extensible HTML and XML generator. XIST is also a XML parser\nwith a very simple and pythonesque tree API. Every XML element type corresponds\nto a Python class and these Python classes provide a conversion method to\ntransform the XML tree (e.g. into HTML). XIST can be considered\n'object oriented XSLT'.\n\nXIST also includes the following modules and packages:\n\n* ``ll.ul4c`` is compiler for a cross-platform templating language with\n  similar capabilities to `Django's templating language`__. ``UL4`` templates\n  are compiled to an internal format, which makes it possible to implement\n  template renderers in other languages and makes the template code \"secure\"\n  (i.e. template code can't open or delete files).\n\n  __ https://docs.djangoproject.com/en/1.5/topics/templates/\n\n  There are implementations for Python, Java and Javascript.\n\n* ``ll.ul4on`` provides functions for encoding and decoding a lightweight\n  machine-readable text-based format for serializing the object types supported\n  by UL4. It is extensible to allow encoding/decoding arbitrary instances\n  (i.e. it is basically a reimplementation of ``pickle``, but with string\n  input/output instead of bytes and with an eye towards cross-plattform\n  support).\n\n  There are implementations for Python, Java and Javascript.\n\n* ``ll.orasql`` provides utilities for working with cx_Oracle_:\n\n  - It allows calling functions and procedures with keyword arguments.\n\n  - Query results will be put into Record objects, where database fields\n    are accessible as object attributes.\n\n  - The ``Connection`` class provides methods for iterating through the\n    database metadata.\n\n  - Importing the modules adds support for URLs with the scheme ``oracle`` to\n    ``ll.url``.\n\n  .. _cx_Oracle: https://oracle.github.io/python-cx_Oracle/\n\n* ``ll.make`` is an object oriented make replacement. Like make it allows\n  you to specify dependencies between files and actions to be executed\n  when files don't exist or are out of date with respect to one\n  of their sources. But unlike make you can do this in a object oriented\n  way and targets are not only limited to files.\n\n* ``ll.color`` provides classes and functions for handling RGB color values.\n  This includes the ability to convert between different color models\n  (RGB, HSV, HLS) as well as to and from CSS format, and several functions\n  for modifying and mixing colors.\n\n* ``ll.sisyphus`` provides classes for running Python scripts as cron jobs.\n\n* ``ll.url`` provides classes for parsing and constructing RFC 2396\n  compliant URLs.\n\n* ``ll.nightshade`` can be used to serve the output of PL/SQL\n  functions/procedures with CherryPy__.\n\n* ``ll.misc`` provides several small utility functions and classes.\n\n* ``ll.astyle`` can be used for colored terminal output (via ANSI escape\n  sequences).\n\n* ``ll.daemon`` can be used on UNIX to fork a daemon process.\n\n* ``ll.xml_codec`` contains a complete codec for encoding and decoding XML.\n\n__ http://www.cherrypy.org/\n\n\nChanges in 5.75.1 (released 2024-04-11)\n---------------------------------------\n\n* Added support for the HTML pseudo class ``:disabled`` to\n  ``ll.xist.css.applystylesheets``. Now the following works::\n\n    >>> from ll.xist.ns import html\n    >>> from ll.xist import css\n    >>> e = html.html(\n    ...   html.style('''\n    ...     button {color: blue;}\n    ...     button:disabled {color: red;}\n    ...     '''),\n    ...   html.button('gurk', disabled=True)\n    ... )\n    ...\n    >>> css.applystylesheets(e)\n    >>> e.string()\n    '<html><button disabled=\"disabled\" style=\"color: red\">gurk</button></html>'\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Extensible HTML/XML generator, cross-platform templating language, Oracle utilities and various other tools",
    "version": "5.75.1",
    "project_urls": {
        "Download": "http://python.livinglogic.de/DOWNLOAD.html",
        "Homepage": "http://python.livinglogic.de/"
    },
    "split_keywords": [
        "ansi",
        " css",
        " cherrypy",
        " ftp",
        " hls",
        " hsb",
        " hsc",
        " hsv",
        " html",
        " http",
        " oracle",
        " pi",
        " pl/sql",
        " rfc 2396",
        " rgb",
        " svg",
        " url",
        " xhtml",
        " xml",
        " xsl-fo",
        " xslt",
        " build",
        " codec",
        " color",
        " cron",
        " cx_oracle",
        " decorator",
        " escape sequence",
        " execnet",
        " iterator",
        " job",
        " make",
        " procedure",
        " processing instruction",
        " property",
        " record",
        " schema",
        " ssh",
        " template",
        " templating language",
        " terminal",
        " toxic",
        " user defined function"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e65938157841e4427603bd85787db5f646967c7481e753bdc5d193af2ad7e4cd",
                "md5": "fda167e1efa1d2ad70cdb103f03a6316",
                "sha256": "5075a207a2d5c75ae752f58bfd4c267676ead94dde46717bc6dcb442a366bcd8"
            },
            "downloads": -1,
            "filename": "ll_xist-5.75.1-cp39-cp39-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "fda167e1efa1d2ad70cdb103f03a6316",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.8",
            "size": 570271,
            "upload_time": "2024-04-11T11:35:59",
            "upload_time_iso_8601": "2024-04-11T11:35:59.644136Z",
            "url": "https://files.pythonhosted.org/packages/e6/59/38157841e4427603bd85787db5f646967c7481e753bdc5d193af2ad7e4cd/ll_xist-5.75.1-cp39-cp39-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9ecf7dc638b467390ee56e6af82a1c99b8947016c710916f300a4df4cf1d8962",
                "md5": "881020b7e17afca51f4ce334dcc56882",
                "sha256": "228b592b62da817a64efa0b628473c0857464bbdaa3d71c597d9b7f39c4b4293"
            },
            "downloads": -1,
            "filename": "ll-xist-5.75.1.tar.gz",
            "has_sig": false,
            "md5_digest": "881020b7e17afca51f4ce334dcc56882",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 760266,
            "upload_time": "2024-04-11T11:36:04",
            "upload_time_iso_8601": "2024-04-11T11:36:04.751997Z",
            "url": "https://files.pythonhosted.org/packages/9e/cf/7dc638b467390ee56e6af82a1c99b8947016c710916f300a4df4cf1d8962/ll-xist-5.75.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-11 11:36:04",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "ll-xist"
}
        
Elapsed time: 0.23068s