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/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

This version

7.1.0

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

Uploaded Source

Built Distribution

iommi-7.1.0-py2.py3-none-any.whl (302.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for iommi-7.1.0.tar.gz
Algorithm Hash digest
SHA256 2af6ddf1634ea1e3d4f94914fc290f1c3ed8badd4c626fe3fa7f1a983c5f3e2e
MD5 e4156fd1e1b6980dd98aa777a7c20242
BLAKE2b-256 c331f0408c3571d8b51b3802baaeb90ce2a9196e143b2e1eb94e956ccb2d726f

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for iommi-7.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 088379ae5900d606acfdfdbdefc36dd733c44e24772c0393658f82f1c32aedc0
MD5 021937023b68a906c985c12cb848020d
BLAKE2b-256 32bef4383559da310c45950e65ebeb1de5e8fe46c34b3d456869f61ba2ba4906

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