python

Article Thumbnail
Article

How to Use MongoDB 2.4 with Python 3.3 from Red Hat Software Collections

Honza Horak

This article is focused on MongoDB 2.4 packaged as software collections . Knowledge of MongoDB basics is recommended, but not required. In case you are not familiar with MongoDB and you'd like to learn more, try MongoDB's online courses . These courses give you basic knowledge about MongoDB concepts, configuration, and deployment, as well as knowledge of how to program application for MongoDB. This article is focused on what is different with Red Hat Software Collections (RHSCL) packages. These packages...

Article Thumbnail
Article

Webinar recording - Red Hat Software Collections for RHEL 6 and 7

Mike Guerette

We recently hosted and recorded a webinar that talks to the latest for Red Hat Software Collections (RHSCL) 1.1 available for both Red Hat Enterprise Linux 6 and 7 Red Hat Software Collections (RHSCL) delivers the latest, stable versions of dynamic languages, open source databases, and web development tools, all with a faster release cadence (to keep up with the upstream) and supported for 3 years. The new additions in Red Hat Software Collections 1.1 are: 2 new open source...

Article Thumbnail
Article

Red Hat Software Collections (RHSCL) 1.1 now GA

Mike Guerette

Second installment of Red Hat Software Collections delivers comprehensive suite of dynamic languages, open source databases and web development tools Red Hat today announced the general availability of Red Hat Software Collections 1.1, the second iteration of Red Hat’s comprehensive suite of powerful web development tools, dynamic languages and open source databases. Delivered on a separate life cycle from Red Hat Enterprise Linux with a more frequent release cadence, Red Hat Software Collections puts the latest stable open source runtime...

Article Thumbnail
Article

Repost: Announcing OpenShift Enterprise 2.1 | Openshift Blog

Mike Guerette

Another excellent OpenShift Enterprise update with more examples of Red Hat Software Collections being converted into OpenShift cartridges: MySQL 5.5 and PHP 5.4, and soon the additions of Python 3.3 and MongoDB 2.4. Also, I love the "simple, no touch virtual machine (VM) image of OpenShift Enterprise so [customers] can place the image on their laptop and work on cartridges, code, and DevOps models while they are disconnected from their datacenter. As part of your OpenShift Enterprise subscription, we have...

Article Thumbnail
Article

PyCon 2014 session - Outreach Program for Women: Lessons in Collaboration

Mike Guerette

As we mentioned previously, here's the video of Red Hat's Marina Zhurakhinskaya's PyCon 2014 NA session, Outreach Program for Women: Lessons in Collaboration. Abstract: "Since 2010, the GNOME Foundation's Outreach Program for Women has provided 130 women with an opportunity to participate in remote internships with 23 Free Software organizations. This talk will cover the history of the program, what makes it successful, how the same strategies can be used for engaging all new contributors, and what other initiatives help...

Article Thumbnail
Article

Join Red Hat at PyCon 2014

Mike Guerette

Red Hat is a PyCon 2014 sponsor this month and a number of Red Hatters will be there including Tom Callaway, Ruth Suehle, Langdon White , Tyler Siprova and Todd Bourque from Red Hat recruiting, Cindy Pallares-Quezada, and me. In addition, Marina Zhurakhinskaya has the session, Outreach Program for Women: Lessons in Collaboration , which will be Sunday 1:50 p.m.–2:20 p.m. in Room 520. Please do stop by our booth and say "Hello!"

Article Thumbnail
Article

Using Python's Virtualenv with RHSCL

Bohuslav Kabrda

I've been getting more and more questions about using Python's virtualenv with python27 and python33 collections from RHSCL, so I decided to write a very short tutorial about this topic. The "tl;dr" version is: everything works perfectly fine as long as you remember to enable the collection first. Update 2018: An updated article has been published, See How to install Python 3, pip, venv, virtualenv, and pipenv on Red Hat Enterprise Linux . What is Virtualenv Citing Virtualenv official documentation...

Article Thumbnail
Article

Migrate to Python 3 with RHSCL

Bohuslav Kabrda

Although most of Python enterprise applications still use Python 2 (e.g. Python 2.4 on RHEL 5 or Python 2.6 on RHEL 6), Python 3 has already become a mature variant and is worth considering. Why, you ask? Python 3 series is being actively developed by upstream, while Python 2 now only gets security fixes and bug fixes. Python 2.7 is the latest minor release of the 2.X series and there will be no Python 2.8 . This is very important...

Article Thumbnail
Article

Profiling Python Programs

William Cohen

For RHEL6 and newer distributions tools are available to profile Python code and to generate dynamic call graphs of a program's execution. Flat profiles can be obtained with the cProfile module and dynamic callgraphs can be obtained with pycallgraph. The cProfile Python module records information about each of the python methods run. For older versions of Python that do not include the cProfile module you can use the higher overhead profile module. Profiling is fairly simple with the cProfile module...

Article Thumbnail
Article

OpenShift Online adds Python 3.3, PHP 5.4 and more

Mike Guerette

The OpenShift Online release for January 2014 has some great additions! Read the whole article here , but read about these cartridge updates: "We've updated some of our most popular cartridges to newer versions. Plus, we'll have more coming very soon. PHP 5.4 MySQL 5.5 Python 3.3 Zend Server 6.1 with PHP 5.4 " Each of these technology cartridge updates are provided by Red Hat Software Collections--fully maintained and supported by Red Hat. "

Article Thumbnail
Article

Feeling Developer Pain

Steve Milner +1

Introduction Hi, I'm Steve , a member of the Inception team at Red Hat. The Inception team was pulled from different parts of IT to foster DevOps culture in Red Hat. Though we've only been a team for a little over a month, we've been trying to do some early projects to make everyone's lives easier.l We spent quite a bit of time in our early meetings identifying pain points in the current processes. We talked with a few developers...

Article Thumbnail
Article

Using DTS Eclipse, PyDev, and Python 2.7

Langdon White

Red Hat intended for developers to integrate Developer Toolset 2.0 (DTS) and Red Hat Software Collections 1.0 (RHSCL). As you may not realize, inside the DTS is a copy of Eclipse and you can use that with any software collection. In other words, you can use PyDev, with the Python 2.7 Software Collection from RHSCL in the Eclipse from DTS. Let's find out how. First, let's make sure you have the right repos, [lwhite@lwhite-laptop ~]$ sudo yum repolist Loaded plugins...

Article Thumbnail
Article

Released! Red Hat Software Collections now GA!

Mike Guerette

[EDITOR's Note: This article introduces V1.0 of Red Hat Software Collections, but we are now at 2.0. Read about the latest here .] We've had so much interest in Red Hat Software Collections during beta testing and now here they are! Red Hat has announced the general availability of Red Hat Software Collections 1.0! "Available via select Red Hat Enterprise Linux subscriptions, Red Hat Software Collections delivers the newest, most stable versions of open source runtime components to subscribers on...

Article Thumbnail
Article

Red Hat Software Collections and Developer Toolset - now in beta2

Mike Guerette

A couple of months ago, Red Hat announced the beta 1 phases of both Red Hat Developer Toolset V2.0 and Red Hat Software Collections V1.0 . Now, they are both in a beta 2 phase! Be sure to take a look at these tools if you haven't already - we've receive a huge amount of interest in them! Both offerings provide recent, stable versions of technologies that you've been asking for. At a high level, Developer Toolset is for gcc...

Article Thumbnail
Article

Software Collections Quickstart

Scott McCarty (fatherlinux)

As I discussed in an article entitled Red Enterprise Linux Release Speed , developers sometimes have a problem with how slow Red Hat's Enterprise Linux releases new versions of software. Well, the good news is, Software Collections are here. Software Collections provide Red Hat Enterprise Linux users with newer versions of programming languages and server daemons like python, perl, ruby, php, mysql, mariadb, etc. This is a quick start guide to help you get comfortable with both programming languages and...

Article Thumbnail
Article

Using RHSCL: Django on Python 3 with PostgreSQL

Bohuslav Kabrda

This article will show you how to use two software collections of RHSCL 1.0 Beta for cutting edge development. We will create a Django 1.5 application (running on Python 3.3), that will use PostgreSQL 9.2 as a database. Installing Dependencies First off, we will install the required collections. If you haven't done so already, you need to subscribe to the correct RHN channel ( rhel-x86_64- variant -6-rhscl-1-beta , where variant is one of server , client or workstation ). Now...

Article Thumbnail
Article

Red Hat Software Collections 1.0 Beta Now Available

Mike Guerette

You may have seen references to " software collections " in this blog, but this is different. "Red Hat Software Collections", now in beta for the first time, is a collection of refreshed and supported web/dynamic languages and databases for Red Hat Enterprise Linux. Now you can have two versions of software on one OS, or refresh these languages and databases more frequently. See this list below! From the announcement: "Red Hat is pleased to announce the Beta release of...

Article Thumbnail
Article

Learning Django with OpenShift

Scott McCarty (fatherlinux)

Background The goal of this article is to use the OpenShift Platform as a Service (PaaS) as a learning platform for Django . Most of the technical articles out there about running Django on OpenShift assume the user already understands how to administer Django environments and projects. This article is written from the perspective of someone who has done some python programming and wants to learn some Django without doing a bunch of setup work. Since each OpenShift Gear "...is...

Article Thumbnail
Article

Unleashing Power of WebSockets on RHEL 6

Bohuslav Kabrda

WebSockets are a rising technology that solves one of the great needs of web development - full duplex communication between a browser (or a different client) and a server. Let's imagine a simple scenario - live web chat. In the past, you'd probably use AJAX and polling to make new posts appear in realtime. The downside is that implementing all that is not entirely easy and it tends to put a lot of strain on the server. This article will...

Article Thumbnail
Article

Setting up Django and Python 2.7 on Red Hat Enterprise 6 the easy way

Langdon White

Recently, I needed to get Django installed with Python 2.7 on Red Hat Enterprise Linux 6. As this is not a directly supported activity, I wanted to document how I went about it. As you might imagine, the generally expected method for install would be to grab the Python 2.7 source tree and then build it. Obviously, that can be a lot of work; is not particularly repeatable; and, potentially, exposes you to more security flaws. As a result, I...

Article Thumbnail
Article

Software Collections on Red Hat Enterprise Linux

Marcela Maslanova

Did you ever wish you had newer versions of the software on your Red Hat Enterprise Linux machines? You are probably not alone. Providing new versions of software in rpm is hard, because rpm supports only one version installed on your computer at a time. Multiple versions on one machine can conflict with each other or create unpredictable behaviour in applications that you might not have considered dependencies. Last year, we developed Software Collections to allow you to install newer...