<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Python on Blog | Jonas Neubert</title><link>https://blog.jonasneubert.com/tags/python/</link><description>Recent content in Python on Blog | Jonas Neubert</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 04 Jan 2025 22:49:55 -0700</lastBuildDate><atom:link href="https://blog.jonasneubert.com/tags/python/index.xml" rel="self" type="application/rss+xml"/><item><title>The Best Python Packages for Reading Barcodes</title><link>https://blog.jonasneubert.com/2022/09/30/the-best-python-packages-for-reading-barcodes/</link><pubDate>Fri, 30 Sep 2022 00:00:00 +0000</pubDate><guid>https://blog.jonasneubert.com/2022/09/30/the-best-python-packages-for-reading-barcodes/</guid><description>&lt;p>Three years ago I published a blog post on &lt;a href="https://blog.jonasneubert.com/2019/01/23/barcode-generation-python/">how to &lt;em>generate&lt;/em> barcodes using Python&lt;/a>. It&amp;rsquo;s one of the most visited posts on the blog! Occasionally a reader emails to ask: &amp;ldquo;But what if I want to &lt;em>read&lt;/em>/&lt;em>decode&lt;/em>/&lt;em>scan&lt;/em>&lt;sup id="fnref:1">&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref">1&lt;/a>&lt;/sup> a barcode, not write it?&amp;rdquo;&lt;/p>
&lt;p>Here is the answer:&lt;/p>
&lt;h2 id="dont-use-python-for-barcode-decoding">Don&amp;rsquo;t use Python for Barcode Decoding!&lt;/h2>
&lt;p>You really shouldn&amp;rsquo;t be using pure Python to decode barcodes from images or videos or, worse, from camera streams.&lt;/p></description></item><item><title>The Best Python Packages for Generating Barcodes</title><link>https://blog.jonasneubert.com/2019/01/23/barcode-generation-python/</link><pubDate>Wed, 23 Jan 2019 00:00:00 +0000</pubDate><guid>https://blog.jonasneubert.com/2019/01/23/barcode-generation-python/</guid><description>&lt;p>Barcodes are a cheap and ubiquitous way to add machine-readable information to an object. I think of barcodes as the real-world equivalent of browser cookies: For example, when you arrive at airport departures, the airline hands you a boarding pass with a barcode (the cookie). From that point onward you&amp;rsquo;re asked to show your barcode at every interaction: at security, the duty-free shop, and the boarding gate. And just like the information stored in browser cookies, the information in barcodes isn&amp;rsquo;t in plain sight but easily made visible.&lt;/p></description></item><item><title>Publishing your First PyPI Package by/for the Absolute Beginner</title><link>https://blog.jonasneubert.com/2017/09/13/publishing-your-first-pypi-package/</link><pubDate>Wed, 13 Sep 2017 00:00:00 +0000</pubDate><guid>https://blog.jonasneubert.com/2017/09/13/publishing-your-first-pypi-package/</guid><description>&lt;p>The process for packaging and publishing Python packages is subject to much community discussion and frequent change. That leads to a lot of outdated information about it floating around the interwebs.&lt;/p>
&lt;p>As part of &lt;a href="https://blog.jonasneubert.com/2017/06/10/pycon-2017-video/">my PyCon 2017 talk&lt;/a> preparations I wrote &lt;a href="https://github.com/jonemo/microscan-driver">a driver for a barcode reader&lt;/a> that was part of the live demo in my presentation. Having never published a package to PyPI before&lt;sup id="fnref:1">&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref">1&lt;/a>&lt;/sup>, I thought this would be a good opportunity to learn about the Python Package Index (PyPI) and how to use it.&lt;/p></description></item></channel></rss>