Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

General-purpose library for Python

Project description

# Iris

General-purpose library for Python

## Introduction

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

## Modules

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

The most interesting ones are perhaps:

  • 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

## Installation

Iris can be installed via pip:

> pip install info.gianlucacosta.iris

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Files for info.gianlucacosta.iris, version 3.1
Filename, size File type Python version Upload date Hashes
Filename, size info.gianlucacosta.iris-3.1-py3.5.egg (53.4 kB) File type Egg Python version 3.5 Upload date Hashes View
Filename, size info.gianlucacosta.iris-3.1.tar.gz (16.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page