Skip to main content

iommi is a high level framework built on django

Project description

https://img.shields.io/badge/Code_on-GitHub-black https://img.shields.io/discord/773470009795018763?logo=discord&logoColor=fff?label=Discord&color=7389d8 https://github.com/iommirocks/iommi/workflows/tests/badge.svg https://codecov.io/gh/iommirocks/iommi/branch/master/graph/badge.svg Documentation Status https://img.shields.io/badge/code%20style-black-000000.svg

iommi is a toolkit to build web apps faster. It’s built on Django but goes a lot further.

It has:

  • forms: that feel familiar, but can handle growing complexity better than Django’s forms

  • tables: that are powerful out of the box and scale up to arbitrary complexity

  • a system to compose parts:, like forms, menus, and tables, into bigger pages

  • tools that will speed up your development like live edit, jump to code, great feedback for missing select/prefetch related, a profiler, and more.

  • great error messages when you make a mistake

docs/README-demo.gif

Example:

class IndexPage(Page):
    title = html.h1('Supernaut')
    welcome_text = 'This is a discography of the best acts in music!'

    artists = Table(auto__model=Artist, page_size=5)
    albums = Table(
        auto__model=Album,
        page_size=5,
    )
    tracks = Table(auto__model=Album, page_size=5)


urlpatterns = [
    path('', IndexPage().as_view()),
]

This creates a page with three separate tables, a header and some text:

docs/README-screenshot.png

For more examples, see the examples project.

Getting started

See getting started.

Running tests

You need to have tox installed, then:

make venv
source venv/bin/activate
make test
make test-docs

License

BSD

Documentation

https://docs.iommi.rocks

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

iommi-7.25.0.tar.gz (264.8 kB view details)

Uploaded Source

Built Distribution

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

iommi-7.25.0-py2.py3-none-any.whl (430.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file iommi-7.25.0.tar.gz.

File metadata

  • Download URL: iommi-7.25.0.tar.gz
  • Upload date:
  • Size: 264.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for iommi-7.25.0.tar.gz
Algorithm Hash digest
SHA256 c80816f5172bd94658dc4e4f3a82741ce788a84e852a35fa45fe99e1d2188a12
MD5 187c4ffac42640f6dd44d36747007e33
BLAKE2b-256 6aba0d3db0ac18c38a3c6024cd6537b7cb0a5a1b8d96afae9b2fe9f584f0083b

See more details on using hashes here.

File details

Details for the file iommi-7.25.0-py2.py3-none-any.whl.

File metadata

  • Download URL: iommi-7.25.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 430.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for iommi-7.25.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4ce142eb6c747e694221c3c6e915cf2a75faf119b60a83ddc3524252116f3b04
MD5 f8e5865279cf97a34ba7e93a9ab323d6
BLAKE2b-256 1fa9cb6febc38fd7159661b0510a93ba0265299bc4cc9e596463aeab194af421

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