Skip to main content

iommi is a high level framework built on django

Project description

https://img.shields.io/discord/773470009795018763?logo=discord&logoColor=fff?label=Discord&color=7389d8 https://github.com/TriOptima/iommi/workflows/tests/badge.svg https://codecov.io/gh/TriOptima/iommi/branch/master/graph/badge.svg Documentation Status https://repl.it/badge/github/boxed/iommi-repl.it 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-5.8.1.tar.gz (151.7 kB view details)

Uploaded Source

Built Distribution

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

iommi-5.8.1-py2.py3-none-any.whl (268.9 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: iommi-5.8.1.tar.gz
  • Upload date:
  • Size: 151.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for iommi-5.8.1.tar.gz
Algorithm Hash digest
SHA256 26c39e6208b94491e215185ee66bace16734b1bb16f653d770c6bb6826cf5aef
MD5 79b92a21c0037d2d05a94710d1b775b2
BLAKE2b-256 35c8ac1d4be9784f2cd3d782556b2dfc4a6c463254afcc636bc9adbad802d521

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iommi-5.8.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 268.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for iommi-5.8.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 16cc4a3042bac5a9915d70c11096737351e525b6b0c8be6c4642838797a9e760
MD5 77666cb0a0a261163c26c62d32135afb
BLAKE2b-256 87908dde7802f15b4883f3247867b2a094e8413bfe8da1dd056f0bb2a7319339

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