Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

tri.tables
==========

tri.tables is a library to make full featured HTML tables easily.

Simple example
--------------

.. literalinclude:: ../examples/examples/views.py
:pyobject: readme_example_1

And this is what you get:

.. image:: table_example_1.png

Fancy django features
---------------------

Say I have some models:

.. literalinclude:: ../examples/examples/models.py
:pyobject: Foo
.. literalinclude:: ../examples/examples/models.py
:pyobject: Bar

Now I can display a list of Bars in a table like this:

.. literalinclude:: ../examples/examples/views.py
:pyobject: readme_example_2

This gives me a view with filtering, sorting, bulk edit and pagination and this only scratches the surface. Some other features include:

* automatic rowspan
* filtering
* grouping of headers
* link creation
* templates for cells

All these examples and a bigger example using many more features can be found in the examples django project.

Read the full documentation for more.


Running tests
-------------

You need tox installed then just `make test`.


License
-------

BSD


Documentation
-------------

http://tritables.rtfd.org.

=========
Changelog
=========

Here's the recent changes to tri.tables.

.. changelog::
:version: dev
:released: Ongoing

.. change::
:tags: docs

Updated CHANGES.

Metadata

Release files for tri.tables 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tri.tables 0.8.0
File Size Uploaded
tri.tables-0.8.0.tar.gz 17.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tri.tables 0.8.0
File Interpreter ABI Platform
tri.tables-0.8.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 35.9 kB

Release files / tri.tables-0.8.0.tar.gz

Download URL tri.tables-0.8.0.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3a58c859458d20d6d6782b42afe546b62dff5dc4b3002a63b2fd4e35490df49e
BLAKE2b-256 checksum
How to use checksums
38d13d5197a1bbf4a4d9475840ab4f1f7d939b743e667abe12cc3b72e0bb185b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / tri.tables-0.8.0-py2.py3-none-any.whl

Download URL tri.tables-0.8.0-py2.py3-none-any.whl
Size 18.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9f1b4c57eb52ee6ee5f72097d77356c079b7278740530ad804a43b4a6c5ca86a
BLAKE2b-256 checksum
How to use checksums
9c556310662158b26d0fb289ed487aa0ff639a186330869e20da4cf3e9456617
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page