isort icon

isort For Linux

4.7/5 3
MIT/X Consortium License    

A plugin for automatic sorting of Python imports in the Kate or Pate applications. #Sort Python import  #Isort plugin  #Kate plugin  #Sort  #Python  #Import  

Softpedia Review

specifications

changelog

Free Download

isort Review by
4.0/5

isort is an open source and free software project written in Python and designed to act as a plugin for the Kate and Pate text editors, helping Python developers to sort imports alphabetically. The utility can also separate Python imports into sections automatically.

The plugin comprises of a command-line utility, a Python library and a bunch of plugins for various text editors, allowing you to effortlessly and quickly sort all your Python imports. At the moment, isort supports Python 2.6 through 3.4 and uses the pies tool to sort imports in style without outputting ugly code.

The following lines of code will show you how your Python imports are “sorted” when not using the isort plugin:

from my_lib import Object print("Hey") import os from my_lib import Object3 from my_lib import Object2 import sys from third_party import lib15, lib1, lib2, lib3, lib4, lib5, lib6, lib7, lib8, lib9, lib10, lib11, lib12, lib13, lib14 import sys from __future__ import absolute_import from third_party import lib3 print("yo")

And now, we will show you how the above example can look when using the isort plugin, either on the Kate and Pate text editors, or standalone from the command-line:

from __future__ import absolute_import

import os import sys

from third_party import (lib1, lib2, lib3, lib4, lib5, lib6, lib7, lib8,  lib9, lib10, lib11, lib12, lib13, lib14, lib15)

from my_lib import Object, Object2, Object3

print("Hey") print("yo")

The isort plugin is written entirely in the Python programming language. It is compatible with the Kate (KDE 4.13 or later) and Pate 2.0 or higher text editors, and it’s available for download as a universal source archive that must be configured and compiled prior to installation. isort has been successfully tested on 32-bit and 64-bit instruction set architectures.

isort 3.9.0

add to watchlist add to download basket send us an update REPORT
  runs on:
Linux
  filename:
3.9.0.tar.gz
  3 screenshots:
isort - This tool will automatically sort your Python importsisort - The isort tool in action, on the Kate text editorisort - isort also works with the Pate application
  main category:
Text Editing&Processing
  developer:
  visit homepage
User Comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy