Python

Raspberry Pi photo printer
Article

How to build a Raspberry Pi photo booth

Doug Tidwell

The Raspberry Pi is a popular, powerful, low-cost Linux machine that can do amazing things. This article shows you how to build a photo booth with one.

Lesson Thumbnail
Lesson

Deploying applications from source code

Ben Hall

The goal of this track is to learn how to deploy an application from its source code using either the OpenShift Web Console or by using OpenShift from a command line in a terminal window.

20 minutes | Beginner
Red Hat Enterprise Linux 8 Beta
Article

What, No Python in RHEL 8 Beta?

Langdon White

Of course RHEL 8 has Python, both Python 3 and 2. Changes in RHEL 8 such as platform python and application streams improve the Python experience in RHEL.

Python on Red Hat Enterprise Linux
Article

Python in RHEL 8

Petr Viktorin

To install Python, type `yum install python3`. To run Python, type `python3`. What you need to know for using Python in RHEL 8.

Red Hat Enterprise Linux
Article

Using the STOMP Protocol with Apache ActiveMQ Artemis Broker

Chandra Shekhar Pandey

This article shows how to use Python-based messaging clients and STOMP to connect and subscribe to a durable topic in the Apache ActiveMQ Artemis or the Red Hat AMQ 7 broker. STOMP clients can communicate with any STOMP message broker, providing messaging interoperability among many languages, platforms, and brokers.

Python Flask logo
Article

How to install Python Flask on Red Hat Enterprise Linux 7

Don Schenck

If you need to build some Python-based microservices, one way to do it is to install Python in a Red Hat Enterprise Linux virtual machine and use Flask, a microframework that makes building RESTful services easy.

RedHat Shadowman Logo
Article

Introducing conu - Scripting Containers Made Easier

Dominika Hoďovská

Introducing conu - low-level python library for container scripting. conu gathers utilities that come in handy when creating tests, provides nice logging for troubleshooting and is easily extensible.

Falcon and RHSCL
Article

Create a scalable REST API with Falcon and RHSCL

Shane Boulden

APIs are critical to automation, integration and developing cloud-native applications, and it's vital they can be scaled to meet the demands of your user-base. In this article, we'll create a database-backed REST API based on the Python Falcon framework using Red Hat Software Collections (RHSCL)

Speed up your Python using Rust
Article

Speed up your Python using Rust

Bruno Rocha

Rust is a language that has no runtime so it can be used to integrate with any runtime; You can write modules in Rust and call using Python

Article Thumbnail
Article

The GDB Python API

Phil Muldoon

GDB has evolved in the last several years to provide a Python API. This series of articles will look at how a user can program GDB with the API and will also take an in-depth look at several features of that API. But, before we begin, a small history lesson is needed and a look at just why an API was needed. Why an API? The humble debugger. We've all used one at some point in our careers, sometimes with...

RedHat Shadowman Logo
Article

Red Hat updates Python, PHP, Node.js, more; supports new arches

Mike Guerette

I am pleased to announce the immediate availability of Red Hat Software Collections 3.0 Beta , Red Hat’s newest installment of open source development tools, dynamic languages, databases, and more. Delivered on a separate lifecycle from Red Hat Enterprise Linux with a more frequent release cadence, Red Hat Software Collections bridges development agility and production stability by helping you create modern applications that can be confidently deployed into production. Most of these components are also available in Linux container image...

Video Thumbnail
Video

Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)

Red Hat Software Collections, OpenShift and the Red Hat Container Development Kit open up many new possibilities for Python developers targeting Red Hat Enterprise Linux. At the same time, the wider Python ecosystem is undergoing two significant transitions - one being the ongoing migration from Python 2 to Python 3, and the other the shift to correctly validating HTTPS connections by default. In this session we will cover the currently available options for developing with Python on Red Hat platforms, as well as provide some insight into where things are headed in the context of the wider Python ecosystem.

Configuring mKahaDB persistence storage for ActiveMQ
Article

Now available - Red Hat Software Collections 2.4 and Red Hat Developer Toolset 6.1

Mike Guerette

Today, we are announcing the general availability of Red Hat Software Collections 2.4, Red Hat’s latest set of open source web development tools, dynamic languages, and databases. We are also announcing Red Hat Developer Toolset 6.1, which helps to streamline application development on Red Hat Enterprise Linux by giving developers access to some of the latest, stable open source C and C++ compilers and complementary development tools. New language additions to Red Hat Software Collections 2.4 include: Nginx 1.10 Node.js...

RedHat Shadowman Logo
Article

Red Hat Software Collections 2.3 now beta

Mike Guerette

Today, Red Hat announced the beta availability of Red Hat Software Collections 2.3 , Red Hat’s newest installment of open source web development tools, dynamic languages, and databases. Delivered on a separate lifecycle from Red Hat Enterprise Linux with a more frequent release cadence, Red Hat Software Collections bridges developer agility and production stability by helping to accelerate the creation of modern applications that can then be more confidently deployed into production. New additions to Red Hat Software Collections 2.3...

Article Thumbnail
Article

Migration of Red Hat Enterprise Linux 5 or 6 to Red Hat Enterprise Linux 7 with the Preupgrade Assistant

Petr Hracek

This article describes how an administrator can migrate Red Hat Enterprise Linux 5 or Red Hat Enterprise Linux 6 to Red Hat Enterprise Linux 7 with the help of the Preupgrade Assistant. The Preupgrade Assistant is a tool which assesses your running system for anything that might adversely affect the success of your migration. As Red Hat Enterprise Linux 5 will have only extended update support after March 2017, administrators will find a tool like that useful to help them...

Article Thumbnail
Article

A microservices example: writing a simple to-do application

Saurabh Badhwar

Microservices are becoming a new trend, thanks to the modularity and granularity they provide on top of advantages like releasing applications in a continuous manner. There are various platforms and projects that are rising which aims to make writing and managing microservices easy. Keeping that in mind, I thought, why not make a demo application that can give an example of how microservices are built and how they interact. In this article, I will be building a small application using...

Article Thumbnail
Article

Keeping track of my subscriptions using the Red Hat Content Delivery Network API

John Herr

In a previous post, where-have-all-my-subscriptions-gone , I mentioned that you can access the Red Hat Content Delivery Network (CDN) using its API --- allowing you to query CDN for subscriptions and their usage, registered hosts, and more as well as unregistering hosts, and more. I wanted to do some analysis for my own subscription usage, so I wrote some scripts that let me more easily tell where my subscriptions are being used. Since Python scripting is still fairly new to...

Article Thumbnail
Article

The Hypothesis Testing Library for Python: An Introduction

Anne Mulhern

Hypothesis is a Python library for creating tests which are simple to write and powerful when run, finding cases in your code you wouldn't have thought to look for. It is stable, powerful and easy to add to an existing test suite. It works by letting you write tests that assert that something should be true for every case, not just the ones you happen to think of. Think of a normal unit test as being something like the following...

Article Thumbnail
Article

Node.js 4.4, Python 3.5, and Ruby 2.3 Get Started guides on developers.redhat.com

Rob Terzi

On developers.redhat.com you can find short, focused guides to help you start developing with a number of Red Hat technologies. With the recent release of Red Hat Software Collections (RHSCL) 2.2 , a number of Get Started guides have been updated to use the newest software collections, such as Node.js 4.4, Python 3.5, and Ruby 2.3. These guides give you the steps you need to install the software and get to a simple "Hello, World" in a few minutes. The...

Python logo
Article

Because Red Hatters are Pythonistas, too

Mike Guerette

At Red Hat, we're big supporters of Python. We code in Python and provide great tools to get your Python applications up and running. We also offer you—the Python developer—projects you can get involved in to further hone your Python skills. Read on to learn how: We use Python in Red Hat Enterprise Linux OpenStack Platform. We support your Python coding with Red Hat Software Collections. You can get your applications up and running in the cloud with OpenShift by...