Language Selection

English French German Italian Portuguese Spanish

Python Programming Leftovers

Filed under
Development
  • Webinar Recording: “Security Checks for Python Code” with Anthony Shaw

    Last week we had a webinar on Python security with Anthony Shaw. He covered a number of places where Python code, including popular frameworks, run into security vulnerabilities. He also showed his PyCharm plugin for showing and fixing known vulnerabilities. The webinar recording is now available.

    So much covered in this webinar! Anthony discussed common Python security vulnerabilities, how his plugin helps, how to run it in continuous integration, and more.

  • How to Write a Guest Article for PyBites

    Hello Everybody! In this article I'll run through the procedure of using git and github to submit a guest article to PyBites.

  • The Beginner's Guide to Python Turtle

    When I was a kid, I used to learn Logo, a programming language that involved a turtle that you could move around the screen with just a few commands. I remember feeling like a computer genius as I controlled this little object on my screen, and this was what got me interested in programming in the first place. The Python turtle library comes with a similar interactive feature that gives new programmers a taste of what it’s like to work with Python.

  • Use logzero for simple logging in Python

    The logzero library makes logging as easy as a print statement, which is quite a feat of simplicity. I'm not sure whether logzero took its name to fit in with the series of "zero boilerplate" libraries like pygame-zero, GPIO Zero, and guizero, but it's certainly in that category. It's a Python library that makes logging straightforward.

    You can just use its basic logging to stdout the same way you might use print for information and debugging purposes, and it has a smooth learning curve towards more advanced logging, like logging to a file.

  • Create Boing!, our Python tribute to Pong

    Following on from yesterday’s introduction to Pong, we’re sharing Boing!, the Python-based tribute to Pong created by Eben Upton exclusively for Code the Classics. Read on to get a detailed look at the code for Boing!

More in Tux Machines

Python: Release of sphinxcontrib-spelling, The Real Python Podcast and Working with Data in Python

  • sphinxcontrib-spelling 5.1.0

    sphinxcontrib-spelling is a spelling checker for Sphinx-based documentation. It uses PyEnchant to produce a report showing misspelled words.

  • The Real Python Podcast – Episode #12: Web Scraping in Python: Tools, Techniques, and Legality

    Do you want to get started with web scraping using Python? Are you concerned about the potential legal implications? What are the tools required and what are some of the best practices? This week on the show we have Kimberly Fessel to discuss her excellent tutorial created for PyCon 2020 online titled “It’s Officially Legal so Let’s Scrape the Web.” We discuss getting started with web scraping, and cover tools and techniques. Kimberly gives advice on finding elements inside of the html, and techniques for cleaning your data. She also notes a recent change to the legal landscape regarding scraping the web.

  • Tricks for Working with Data in Python

    The terms ‘Data Science’ and ‘Data Analyst’ are considered hot topics in the IT world. The problem is that these are generic terms and mean different things to different people and organizations. As a result, I am calling this ‘Data Examination’. In this case, Data Examination refers to the ability to use the Pandas DataFrame to get a first look at the data, slice it into useful bits of information to make a decision, clean the data, get stats on the data, and add more information to a dataframe.

Programming and Howtos

Red Hat/Fedora: FHE, CoreOS, LLVM, GraalVM and Paul Cormier

  • IBM Releases Fully Homomorphic Encryption Toolkit for MacOS and iOS; Linux and Android Coming Soon

    Often, when I begin explaining fully homomorphic encryption (FHE) to someone for the first time I start by saying that I’ve been working in the field for nearly a decade and yet, I still have to pause to spell it right. So, let’s call it FHE. Half-kidding aside, FHE really sounds like magic when you hear about it for the first time, but it’s actually based on very sound mathematics. The main difference is that FHE requires a shift in the programming paradigm that we are used to, which makes it a little more difficult to integrate into applications. That was until today thanks to a new toolkit we are making available for MacOS, iOS and soon for Linux and Android. In fact, developers with basic platform tool familiarity can get up and running by following a few simple instructions rather quickly (see video below). It was no small feat to synthesize 11 years of top-notch cryptography research into a streamlined developer experience that is accessible and freely available to anyone in the time most people would spend to brew a pot of coffee or de-clutter a desk.

  • New open source security tools let you develop on encrypted data

    Building security into the fabric of your applications no longer requires you to be an expert in cryptography. The open source IBM Fully Homomorphic Encryption Toolkits provide code and development environment settings that developers can use to experiment with a different kind of secure programming model.

  • Contribute at the Fedora CoreOS Test Day

    The Fedora CoreOS team has released the first Fedora CoreOS testing release based on Fedora 32. They expect that this release will promote to the stable channel in two weeks, on the usual schedule. As a result, the Fedora CoreOS and QA teams have organized a test day on Monday, June 08, 2020. Refer to the wiki page for links to the test cases and materials you’ll need to participate. Read below for details.

  • IBM C/C++ and Fortran compilers to adopt LLVM open source infrastructure

    IBM® has been investing significantly in open source code, communities, and governance. LLVM is an open source compilation technology framework that is actively maintained by a large development community, supporting multiple architectures and programming languages. Clang is the open source C/C++ frontend for the LLVM project and provides full support for the latest language standards. IBM intends to fully incorporate the LLVM Core and Clang sub-projects in future C/C++ offerings on IBM z/OS®, Linux on Power, IBM AIX®, and IBM i (with PASE) platforms. As an active sponsor and strong supporter of the LLVM open source project, IBM is contributing code for both IBM Power® and IBM Z® in the areas of code generation and exploitation, portability and usability enhancements, and toolchain support. In 2019, IBM increased participation in the LLVM project by adding AIX support and enhancing loop optimizations. IBM is intending to fully leverage the LLVM infrastructure in C/C++ offerings as the next step in our compiler strategy.

  • Mandrel: A community distribution of GraalVM for the Red Hat build of Quarkus

    The Java community has demonstrated time and time again its ability to evolve, improve, and adapt to meet the needs of its developers and users. Even after 25 years of language and framework choices, Java has consistently ranked in the top languages in use today due to its strong track record and capabilities in enterprise use cases. Red Hat has long been a strong leader in Java and open source software development and remains committed to being at the forefront of Java as it continues to evolve. Today, Red Hat and the GraalVM community jointly established a new downstream distribution of GraalVM, called Mandrel. This distribution will power the Red Hat build of Quarkus, a recently announced addition to Red Hat Runtimes. This article explains what Mandrel is and why it is necessary.

  • Red Hat CEO Paul Cormier Talks About IBM and His Vision for the Future

    Paul Cormier recently sat down for a talk with us about how the company's relationship with its new owner, IBM, is working out and to reflect on where the company is going.

Latest Security Patches and FUD/Drama