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

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 Djangos 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.1.0.tar.gz (145.8 kB view details)

Uploaded Source

Built Distribution

iommi-5.1.0-py2.py3-none-any.whl (254.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: iommi-5.1.0.tar.gz
  • Upload date:
  • Size: 145.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for iommi-5.1.0.tar.gz
Algorithm Hash digest
SHA256 def3982ee82cab8d2009bf1302c00c7e01e261565f535fc532ec0a219cd7e9f3
MD5 f63583e09e65587a683c7aa13b2df583
BLAKE2b-256 c25969841a3b0dfda19ecbb02eaec5abab4c46964409130fe9859fa799357844

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: iommi-5.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 254.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for iommi-5.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 aa41bff140b7421015df0abacf2b4c66baf5bb334c199c0409f761448665e8fe
MD5 5f16340dc1eb8bd7661bb7595f994f25
BLAKE2b-256 4af7aaffb99d2a16e1f34844a4b5aa6afe8cf0d1a26cd8c4a1cda07c532fb326

See more details on using hashes here.

Provenance

Supported by

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