skip to navigation
skip to content

Not Logged In

Iris 1.2

A general-purpose library for Python

Iris is a general-purpose, object-oriented and open source Python library.

Iris is written in pure Python - it currently targets Python 2.7, but future support for Python 3 is planned.


All the modules reside within the iris package.

The most interesting ones are perhaps:

  • iris.ioc, featuring a simple IoC container, that supports transient and singleton objects out of the box and can be extended via OOP by introducing new registration kinds
  • iris.versioning, introducing a Version class and a VersionDirectory, that, for example, can return the file having the latest version in a directory
  • iris.maven, dealing with MavenArtifact (which describes the Maven properties of an artifact) and MavenRepository, to query a Maven repository using the concepts introduced in the versioning module
  • iris.web, whose Page class renders a web page, including its headers, ready to be returned as the output, for instance, of a CGI script. SiteInfoService and RequestInfoService show, in a developer-friendly way, several important environment variables provided by an Apache web server.
  • iris.rendering abstracts the templating process by providing a Model class that can be easily reused with different rendering technologies
  • iris.vars enables developers to create boolean variables (instances of Flag) whose value depends on the existence of underlying files - which can be useful in some situations where multiple technologies are involved
  • introduces simple I/O utilities
  • iris.strings provides a String utility class, foreseeing a future porting to Python 3

What's new in version 1.2

  • iris.ioc, a whole module dedicated to IoC and basic dependency injection
  • some additions to, especially PathOperations.linearWalk() and FileUtils.openEncoded()
File Type Py Version Uploaded on Size
Iris-1.2-py2.7.egg (md5) Python Egg 2.7 2013-11-30 54KB
Iris-1.2.win32.exe (md5) MS Windows installer 2.7 2013-11-30 216KB (md5) Source 2013-11-30 30KB
  • Downloads (All Versions):
  • 1 downloads in the last day
  • 116 downloads in the last week
  • 587 downloads in the last month