Skip to main content


Project description

Latest PyPI version MIT license Travis tests Code coverage


properties gives structure (and documentation!) to the properties you use in your classes. properties-image extends this to include image files.


The properties package allows you to create strongly typed objects in a consistent way. This allows you to hook into notifications and other libraries. The properties-image package contains additional image file properties with external dependencies not included in properties.


  • Provide supplementary Property classes to the properties module

  • Allow dependency-heavy classes to be installed separately


Alternatives to properties:

  • traits is used by Enthought

  • traitlets is used in the Jupyter project

  • mypy and PEP0484 which document typing but do not include coercion or notifications

Other image libraries:



To install the repository, ensure that you have pip installed and run:

pip install properties_image

For the development version:

git clone
cd properties-image
pip install -e .


To include an image property, import properties and properties_image. Then the image property classes will be in the ext module. For additional examples, see properties.

import properties
import properties_image
class NamedImage(properties.HasProperties):
    name = properties.String('Name of the image')
    image = properties.ext.ImagePNG('The image')

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

properties_image-0.0.1.tar.gz (3.8 kB view hashes)

Uploaded source

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