Skip to main content

General-purpose library for Python

Project description


General-purpose library for Python

Deprecation & namespace warning

Please, note: Iris is now deprecated and should be used only to support ancient projects.

Furthermore, for compatibility with Python's modern packaging system, please delete from the file system every reference to its 3.x version and use version 4.x instead.


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


All the modules reside within the info.gianlucacosta.iris package and subpackages.

In particular:

  • 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

  • versioning, introducing a Version class and a VersionDirectory, that, for example, can return the file having the latest version in a directory

  • 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

  • rendering abstracts the templating process by providing a Model class that can be easily reused with different rendering technologies

  • 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

  • io.utils, contains generic I/O utilities

  • io.tree defines objects for operating on file trees


Iris can be installed via pip:

pip install info.gianlucacosta.iris

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

info.gianlucacosta.iris-4.0.1.tar.gz (13.3 kB view hashes)

Uploaded Source

Built Distribution

info.gianlucacosta.iris-4.0.1-py3-none-any.whl (17.3 kB view hashes)

Uploaded Python 3

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