Showing posts with label Python. Show all posts
Showing posts with label Python. Show all posts

KDevelop 5.0.0 released with better support for C/C++, Python, PHP, JS and QML

The KDevelop project has announced availability of KDevelop 5.0.0, latest stable release of full featured, extensible, cross platform supported, open source IDE(Integrated Development Environment) that mainly focus on support for  the C++, Python, PHP and JavaScript/QML programming languages.

KDevelop 5.0.0 is a result of 2 years of development effort after previous stable release, KDevelop 4.7.x and within this two years the project has made a lot achievements. These achievements includes better support for C/C++, Python, PHP and QML/JS languages. Also, the project code has refractored thoroughly to make it more maintainable and extensible.

Credit : KDevelop Website

The most important highlight of KDevelop 5.0.0 is improved support for C/C++ languages. The project has replaced custom C/C++ code analysis engine with clang.
  • Even the most complex C++ code constructs are now parsed and highlighted correctly and reliably. In the end there's a compiler in the background -- KDevelop will complain exactly if it wouldn't compile.
  • Diagnostics are a lot more accurate and reliable.  For example, KDevelop can now detect whether or not there is an overload of a function available with the parameters you are passing in.
  • For many problems (e.g. misspelled variable names, missing parentheses, missing semicolon, ...), we get suggestions on how to correct the problem from clang, and offer the user a shortcut key (Alt+1) to apply the fix automatically.
  • There is now a C parsing mode, which enables the analysis engine to correctly parse C code.
  • In contrast to the C++ support, the Python support has not undergone any significant refactoring, but has instead seen further stabilization and polishing. The same is true for the PHP and QML/JS language support components.
  • KDevelop 5 has of course been ported to KDE Frameworks 5 and Qt 5. This will for the first time enable us to offer an experimental version of KDevelop for Microsoft Windows in the near future, in addition to support for Linux.  Additionally, we offer experimental stand-alone Linux binaries, which make it much easier for you to try KDevelop 5 before upgrading your system-wide installation.
For more information on KDevelop 5.0.0, you can refer release announcement and a blog post made Kevin, which gives a detailed explanation of new features in this release.

Django 1.10 alpha 1 is available for testing

Mr Tim Graham, representing django team has announced availability of django 1.10 alpha 1, first development release of django 1.10. Django is a high level python web development framework that enables rapid development, and clean and pragmatic design for applications.


As part of the Django 1.10 release process, today we've released Django 1.10 alpha 1, a preview/testing package that represents the first stage in the 1.10 release cycle and an opportunity for you to try out the changes coming in Django 1.10.

This alpha milestone marks a complete feature freeze. The current release schedule calls for a beta release in about a month and a release candidate about a month from then. We'll only be able to keep this schedule if we get early and often testing from the community. Updates on the release schedule schedule are available on the django-developers mailing list.
See additional details in release announcement and release notes.

3 Open source GUI framworks for python

Python is an emerging, powerful, easy to use, dynamic scripting language. It is used in various fields like data analysis, web development, desktop application development ..etc.

Python is a favorite choice of programmers, due to availability of wide range of frameworks to serve different purposes. An article written by Jason Baker of Red Hat, published in opensource.com lists 3 popular open source, GUI frameworks for python along with brief descriptions. These 3 are PyQt, Tkinter and WxPython. I wonder, why PyGTK another popular GUI framework for python is not included in this list.


In Python, the steps to get started with GUI programming are not terribly complex, but they do require the user to begin making some choices. By its nature as a general purpose programming language with interpreters available across every common operating system, Python has to be fairly agnostic as to the choices it presents for creating graphical user interfaces.

Fortunately, there are many options available for programmers looking to create an easy way for users to interact with their programs. Bindings exist for several UI frameworks on a variety of platforms, including those native to Windows, Mac, and Linux, and many that will work across all three.
Continue reading article in open source portal.



Top 3 IDE's for Python

Python is one of the fastest growing scripting language. It has influence in a wide range fields including desktop applications, web applications, cloud services ..etc. Also, it is known fact that, IDE's ie, Integrated Development Environments will boost productivity significantly.



The OpenSource portal has published an article that gives a brief description of 3 popular IDEs for python.
Python is everywhere. These days, it seems it powers everything from major websites to desktop utilities to enterprise software. Python has been used to write all, or parts of, popular software projects like dnf/yum, OpenStack, OpenShot, Blender, Calibre, and even the original BitTorrent client.

It also happens to be one of my favorite programming languages. Personally, Python has been my go-to language through the years for everything from class projects in college to tiny scripts to help me automate recurring tasks. It's one of few languages out there that is both easy to get started with for beginners yet incredibly powerful when beginners graduate to working on real-world projects.
Read complete article in Open Source portal

Creating a Twitter Client using Python

The Linux Voice magazine, one of the leading open source magazine, has published a tutorial for writing a desktop twitter client using python. This tutorial make use of two libraries, namely Tweepy, a twitter python API and EasyGUI a easy to use GUI API for python.



Now you may be thinking “Why would I want to use Python with Twitter?” Well, dear reader, quite simply we can use Python to build our own applications that can use Twitter in any of the ways listed above. But we can also use Twitter and Python to enable interaction between the web and the physical world. We can create a script that searches for a particular hashtag, say #linuxvoice, and when it finds it, an LED can flash, a buzzer can buzz or a robot can start navigating its way around the room.

Tweepy The simplest method to install Tweepy on your machine is via Pip, a package manager for Python. This does not come installed as standard on most machines, so a little command line action is needed. The instructions below work for all Debian- and Ubuntu-based distros.

See complete tutorial in Linux Voice portal.