Programming Tools: Eric3
I am writing this column for a number of reasons. First, I enjoy programming, and I find writing about it to be a trip. Second, a lot of wonderful programming tools are out there, but many are lost in the noise of competing commercial and non-commercial products. So, part of my job with this column is to highlight some of the tools I think are worthwhile. I will try to be objective, but in the final analysis, it all is subjective. You are free to agree or disagree, as is your wont.
Also, I don't know everything. New tools are introduced and existing ones are changing and expanding all the time, faster than I can keep up. For these reasons, you can tell me what you think and suggest other tools that you have found particularly useful. You, reader, are invited to be a contributor to this column.
In the world of open source, a constant tension exists between commercial and non-commercial products. Because of the limited resources many open-source projects have, I plant to review them more often than commercial products. That said, I have no problem with commercial products as long as they do not lock users into their use. Thus, I happily will review a commercial compiler, say, because you always are free to compile your programs using other compilers. The principle here is as long as the input and output obey open standards, products can do any processing they want--you are not locked in. This conforms to Richard Stallman's definition of free software.
I have a method to my madness is writing this column. When discussing a tool, I will try to cover these points:
Why you should use this tool.
What the major features of this tool are.
What setup or installation you need for this tool.
What resources are required to install and use the tool.
A sample application, hopefully useful, to illustrate the use of the tool.
The pros and cons of the tool.
A chart comparing other similar tools, if appropriate and if I am aware of these other tools.
A semi-subjective rating of the tool.
Being a Python developer is one of my many roles. I believe GUI-based IDEs are effective, so I have looked at a number of products, both commercial and open-source, that support Python. I chose the open-source eric3 IDE by Detlev Offenbach. It is written specifically for Python, and it uses PyQt bindings and the QScintilla editor widget. I find the eric3 IDE to be a delight. Figure 1 is a screenshot of a project showing eric3 version 4 beta, the version I currently use.
Here are some of the main features of eric3, the features I find most beneficial:
The main window layout includes tabview, listview and workspace, all of which are configurable.
The editor has syntax highlighting, code folding, auto indenting, brace highlighting, auto completion, calltips, bookmarks and macro recording capabilities.
An integrated project manager shows all the source files, forms, translations and any other file or directory that is part of the project, each displayed on its own tab. The source browser also has built-in class browsing capabilities.
An integrated, full-featured Python debugger that comes in three different flavors: the standard variant, a variant that doesn't need Qt and a variant to debug multithreaded applications. With the help of an additional debugger stub, it can be used to debug mod_python scripts as well.
An interactive Python shell has integrated debugger support and command-line completion.
An explorer window exists for walking through your directory structure with built-in class browsing capabilities for Python files.
Window panes display local and global variables in the current scope while debugging a program.
There are integrated source code wizards: a QRegExp wizard, a Python regexp wizard and several wizards for Qt dialogs.
The integrated refactoring browser uses the Bicycle Repair Man package.
Scripting capabilities are built into eric3.
There is an integrated interface to the Python Module unittest and code coverage analysis.
An integrated help viewer can display HTML help files, or you can choose to use Qt-Assistant to view help files.
You have the ability to start Qt-Designer and Qt-Linguist from within eric3.
You also can compile Qt-Designer forms to produce Qt-Linguist files and release them from within the IDE.
As you can see, eric3 has an impressive list of features, many of which I have omitted.
Webinar: 8 Signs You’re Beyond Cron
11am CDT, April 29th
Join Linux Journal and Pat Cameron, Director of Automation Technology at HelpSystems, as they discuss the eight primary advantages of moving beyond cron job scheduling. In this webinar, you’ll learn about integrating cron with an enterprise scheduler.Join us!
- DevOps: Better Than the Sum of Its Parts
- Return of the Mac
- Drupageddon: SQL Injection, Database Abstraction and Hundreds of Thousands of Web Sites
- Play for Me, Jarvis
- Non-Linux FOSS: .NET?
- Not So Dynamic Updates
- Designing Foils with XFLR5
- Users, Permissions and Multitenant Sites
- April 2015 Issue of Linux Journal: High-Performance Computing