Skip to main content

iommi is a high level framework built on django

Project description

https://travis-ci.org/TriOptima/iommi.svg?branch=master http://codecov.io/github/TriOptima/iommi.svg/coverage.svg?branch=master

iommi is a django-based framework for even higher abstraction and faster development than django itself.

Major features:

  • A system to project django model definitions into more high level definitions

  • Forms <docs/forms>: view models, data validation, and parsing

  • Queries <docs/queries>: filtering lists/query sets

  • Tables <docs/tables>: view models for lists/query sets, html tables, and CSV reports

  • Pages <docs/pages>: compose pages from parts like forms, tables and html fragments

All the components are written with the same philosophy of:

  • Late binding

  • Many layered customization

  • Single point customization without needing to introduce entire chains of classes

  • Prepackaged commonly used patterns (that can still be customized!)

  • Declarative/programmatic hybrid API

  • Everything has a name so can be referenced for customization

  • Escape hatches included

Example:

def my_page(request):
    class MyPage(Page):
        foos = Table.from_model(model=Foo)
        bars = Table.from_model(model=Bar)

    return MyPage()

This creates a page with two tables, one for the model Foo and one for the model Bar.

Usage

See usage <docs/usage>.

Running tests

You need tox installed then just make test.

License

BSD

Documentation

http://iommi.readthedocs.org.

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

Uploaded Source

File details

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

File metadata

  • Download URL: iommi-0.1.0.tar.gz
  • Upload date:
  • Size: 56.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/41.6.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.5

File hashes

Hashes for iommi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3e48cc274cc32d125419616453a0db0e20ef48b1bd0b78437633242478b5e105
MD5 9f6dda431e5a9206da82f8f4699d2a22
BLAKE2b-256 3b951b40adbcd923c2c429a304b27d33f4ae2d98fc988d932259331a5e5088db

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