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 env/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-3.0.0.tar.gz (119.0 kB view details)

Uploaded Source

Built Distribution

iommi-3.0.0-py2.py3-none-any.whl (209.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: iommi-3.0.0.tar.gz
  • Upload date:
  • Size: 119.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for iommi-3.0.0.tar.gz
Algorithm Hash digest
SHA256 d1a9f07692f8ad88bebb7175219c030b142d9d5bfaba92fbd725501fe4b11aea
MD5 06e3e247edc431d8a56ad845940fea6d
BLAKE2b-256 b3ee6855ce4d49be4044a0c3b5a7ce5028a6bcb39837c04c8fdd90bbb370f891

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: iommi-3.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 209.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for iommi-3.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 199d10f29a023dd93fc4a63c0bf07777fa54cf23530a77c09349da828643a623
MD5 9e09bdcce433b6b3f56b804fb2447c26
BLAKE2b-256 62ef7afcab341b689eca7f5a4d4cf16b9bb0463945bccae076a7bab0715fed3b

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