This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Python-printr (or PyPrintr) is a recursive printing objects module that allows to emulate the print_r() function of PHP by printing the objects properties of a class instance and its internal structure.

NOTICE: If you need to use printr() function for list, tuples and dicts, please, don’t use printr() function. You can choose pprint module. printr() function is only for objects of your own class instances. Read more about Python-printr at https://pypi.python.org/pypi/pyprintr
Developed by:
Eugenia Bahit http://www.eugeniabahit.com/
Contributors:
Alejandro Ramirez http://www.ramirezalejandro.com.ar/
Licence:
GPL v3.0

Basic Usage

First, you must get an object of a class instance and then, you can call to the printr function by passing the object like an argument function.

from printr import printr

my_object = MyClass()
printr(my_object)

Customization

Change this value by modifying the IDENTATION_CHAR constant:

import printr
printr.IDENTATION_CHAR = "."  # use point to identation
myobject = MyClass()
printr.printr(myobject)

Also, you can set the identation width, by modifying the TAB_WIDTH constant (by default is 4):

import printr
printr.TAB_WIDTH = 2
myobject = MyClass()
printr.printr(myobject)
Release History

Release History

1.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyprintr-1.0.tar.gz (14.9 kB) Copy SHA256 Checksum SHA256 Source May 4, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting