Mender blog

How to work with Python applications and modules in Yocto

Python is one of the most popular programming languages used today and it has been around for more than 2 decades. It is commonly used in the development of applications for IoT and especially in the early stages of product development while developers might still be evaluating projects. The reason for its popularity is because Python is easy and quick to develop, for example the logic is closer to the human thought process by abstracting the details of the computer from the developer such as pointers, and memory management. Though it could make it slower as compared to lower-level languages such as C but business speed outweighs programming execution speed. In today’s business world, in most cases development time matters more than application execution speed and reducing time-to-market for each project enables companies to be much more competitive in addressing customer needs! In short, saving time in the development process would most likely be more cost-effective than performance and execution speed in the application.

In embedded Linux development, there are two approaches when deciding on what operating system to run on. You either build your own distribution such as the Yocto Project or Buidroot or use a binary distribution such as Debian or Raspbian. In the early stages of the product development or proof-of-concept it is common to start out with a binary distribution such as the Beagleboard or Raspberry Pi but as the project scales from evaluation and prototyping phase to mass production a tool that can generate custom distribution and images in a reproducible and automated way would most likely make more sense. The Yocto Project not only is able to build toolchains, bootloaders, kernels and root filesystems as Buildroot is able to, it can also generate a Linux distribution with binary packages that can be installed at runtime.

Learn more in this tutorial on how to work with Python applications and modules in Yocto Project.

Recent articles

Key takeaways from embedded world North America 2024

Key takeaways from embedded world North America 2024

The Mender team attended the first embedded world in North America to connect with industry leaders and discuss insights on IoT compliance, the CRA, RTOS vs. Linux for IoT, and the importance of secure OTA update orchestration.
Understanding the EU Cyber Resilience Act (CRA): Why it matters and how to comply

Understanding the EU Cyber Resilience Act (CRA): Why it matters and how to comply

The EU Cyber Resilience Act (CRA) was enacted in October 2024 and has impacted products with digital elements on the European market. Learn why CRA compliance is essential for manufacturers, the penalties for noncompliance, and how to meet the Act's cybersecurity standards.
How OTA updates enhance software-defined vehicles

How OTA updates enhance software-defined vehicles

Discover how OTA updates enhance software-defined vehicles by improving safety, reducing recalls, and delivering benefit to producers and consumers.
View more articles

Learn why leading companies choose Mender

Discover how Mender empowers both you and your customers with secure and reliable over-the-air updates for IoT devices. Focus on your product, and benefit from specialized OTA expertise and best practices.

 
sales-pipeline_295756365