see

Python’s dir for humans.

Latest release: v1.3.2 2016-04-30

Install

To install see, run:

$ pip install --upgrade see

Download

The latest release can be found on the Python Package Index.

Source code in development can be found on GitHub. Clone the project with Git by running:

$ git clone git://github.com/araile/see

Usage

see is designed for the interactive Python interpreter. Import the see function like so:

>>> from see import see

Call see() without arguments to see all objects in the global scope.

>>> foo = 'bar'
>>> see()
    foo      see()

Call see(an_object) to see what you can do with an_object.

>>> number = 1
>>> see(number)
    +                -                *                /                //
    %                **               <<               >>               &
    ^                |                +obj             -obj             ~
    <                <=               ==               !=               >
    >=               abs()            bool()           dir()
    divmod()         float()          hash()           help()
    hex()            int()            oct()            repr()
    round()          str()            .bit_length()    .conjugate()
    .denominator     .from_bytes()    .imag            .numerator
    .real            .to_bytes()

If you don’t want to manually import see every time you run the interpreter, you can make a Python startup file containing this line. Information on how to do this is in the README file.

Info

Copyright © 2009–2016 Liam Cooke. Licensed under the BSD License.

Change Log Contributors Python Package Index