Skip to main content

A quick thumbnail creator for python codes

Project description


What is Pythumbnail?

Pythumbnail is a quick thumbnail creator for python codes. You can get an overview of the available functions, for/while loops and if conditions without even running the code.

Suppose you have the following python file:

class someclass:
    def __init__(self):
        self.a = 10

    def do_something(self):
        for i in range(len(self.a)):
            if i == 2:

    def do_something_else(self, num):
        while self.a < 100:
            self.a += num

Here is a small example to show what Pythumbnail could do (Python 3):

import pythumbnail

file = pythumbnail.read_file('')

The output will look like:

    'class someclass()'
        'def __init__(self)'
        'def do_something(self)'
            'for i in range(len(self.a))'
                'if[i,2] LOGIC: [==]'
        'def do_something_else(self,num)'
            'while[self.a,100] LOGIC: [<]'

Quick Start

To install Pythumbnail, you need python version 3.6.0 or above. Pythumbnail could be installed from pypi:

$ python3 -m pip install pythumbnail

Running Pythumbnail:

import pythumbnail


Full documentation is available here


Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.


Apache License 2.0

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

pythumbnail-0.0.9.tar.gz (6.2 kB view hashes)

Uploaded source

Built Distribution

pythumbnail-0.0.9-py3-none-any.whl (11.5 kB view hashes)

Uploaded py3

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