Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 24355

Python Bytes: #284 Spicy git for Engineers

$
0
0
<p><strong>Watch the live stream:</strong></p> <a href='https://www.youtube.com/watch?v=Go2-6sboFS4' style='font-weight: bold;'>Watch on YouTube</a><br> <br> <p><strong>About the show</strong></p> <p>Sponsored by us! Support our work through:</p> <ul> <li>Our <a href="https://training.talkpython.fm/"><strong>courses at Talk Python Training</strong></a></li> <li><a href="https://testandcode.com/"><strong>Test &amp; Code</strong></a> Podcast</li> <li><a href="https://www.patreon.com/pythonbytes"><strong>Patreon Supporters</strong></a></li> </ul> <p><strong>Brian #1:</strong><a href="https://github.com/alan-turing-institute/distinctipy"><strong>distinctipy</strong></a></p> <ul> <li>“<em>distinctipy</em> is a lightweight python package providing functions to generate colours that are visually distinct from one another.”</li> <li>Small, focused tool, but really cool.</li> <li>Say you need to plot a dynamic number of lines.</li> <li>Why not let distinctipy pick colors for you that will be distinct?</li> <li>Also can display the color swatches.</li> <li>Some example palettes here: https://github.com/alan-turing-institute/distinctipy/tree/main/examples <pre><code>from distinctipy import distinctipy # number of colours to generate N = 36 # generate N visually distinct colours colors = distinctipy.get_colors(N) # display the colours distinctipy.color_swatch(colors) </code></pre></li> </ul> <p><strong>Michael #2:</strong> <a href="https://docs.soda.io/soda-sql/concepts.html"><strong>Soda SQL</strong></a></p> <ul> <li>Soda SQL is a free, open-source command-line tool.</li> <li>It utilizes user-defined input to prepare SQL queries that run tests on dataset in a data source to find invalid, missing, or unexpected data.</li> <li>Looks good for data pipelines and other CI/CD work!</li> </ul> <p><strong>Daniel #3:</strong> <a href="https://www.nature.com/articles/s41586-020-2649-2"><strong>Python in Nature</strong></a></p> <ul> <li>There’s a review article from Sept 2020 on array programming with NumPy in the research journal Nature.</li> <li>For reference, in grad school we had a fancy paper on quantum entanglement that got rejected from Nature Communications, a sub-journal to Nature. Nature is hard to get into.</li> <li>List of authors includes Travis Oliphant who started NumPy. Covers NumPy as the foundation, building up to specialized libraries like QuTiP for quantum computing.</li> <li>If you search “Python” on their site, many papers come up. Interesting to see their take on publishing software work.</li> </ul> <p><strong>Brian #4:</strong> <a href="https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/"><strong>Supercharging GitHub Actions with Job Summaries</strong></a></p> <ul> <li><p>From a tweet by <a href="https://twitter.com/simonw/status/1526337395334885377?s=20&amp;t=pFgZ2Ruklh8MLNlSiUmIcA">Simon Willison</a></p> <ul> <li>and an article: <a href="https://til.simonwillison.net/github-actions/job-summaries">GH Actions job summaries</a></li> </ul></li> <li><p>Also, <a href="https://twitter.com/nedbat/status/1526338136699281408?s=20&amp;t=pFgZ2Ruklh8MLNlSiUmIcA">Ned Batchelder</a> is using it for Coverage reports</p></li> <li><p>“You can now output and group custom Markdown content on the Actions run summary page.”</p></li> <li><p>“Custom Markdown content can be used for a variety of creative purposes, such as:</p> <ul> <li>Aggregating and displaying test results</li> <li>Generating reports</li> <li>Custom output independent of logs”</li> </ul></li> <li><p><a href="https://github.com/nedbat/coveragepy/blob/ad824b4585c88d0a153dd248f4585084dea33189/.github/workflows/coverage.yml#L218-L221">Coverage.py example:</a></p> <pre><code>- name: "Create summary" run: | echo '### Total coverage: ${{ env.total }}%' &gt;&gt; $GITHUB_STEP_SUMMARY echo '[${{ env.url }}](${{ env.url }})' &gt;&gt; $GITHUB_STEP_SUMMARY </code></pre></li> </ul> <p><strong>Michael #5:</strong><a href="https://pyfound.blogspot.com/2022/05/the-2022-python-language-summit_01678898482.html"><strong>Language Summit is write up out</strong></a></p> <ul> <li>via Itamar, by Alex Waygood <ul> <li><a href="https://pyfound.blogspot.com/2022/05/the-2022-python-language-summit-python_11.html"><strong>Python without the GIL</strong></a>: A talk by Sam Gross</li> <li><a href="https://pyfound.blogspot.com/2022/05/the-2022-python-language-summit-per.html"><strong>Reaching a per-interpreter GIL</strong></a>: A talk by Eric Snow</li> <li><a href="https://pyfound.blogspot.com/2022/05/the-2022-python-language-summit_2.html"><strong>The "Faster CPython" project: 3.12 and beyond</strong></a>: A talk by Mark Shannon</li> <li><a href="https://pyfound.blogspot.com/2022/05/the-2022-python-language-summit-python.html"><strong>WebAssembly: Python in the browser and beyond</strong></a>: A talk by Christian Heimes</li> <li><a href="https://pyfound.blogspot.com/2022/05/the-2022-python-language-summit-f.html"><strong>F-strings in the grammar</strong></a><strong>:</strong> A talk by Pablo Galindo Salgado</li> <li><a href="https://pyfound.blogspot.com/2022/05/the-2022-python-language-summit_60.html"><strong>Cinder Async Optimisations</strong></a>: A talk by Itamar Ostricher</li> <li><a href="https://pyfound.blogspot.com/2022/05/the-2022-python-language-summit-dealing.html"><strong>The issue and PR backlog</strong></a>: A talk by Irit Katriel</li> <li><a href="https://pyfound.blogspot.com/2022/05/the-2022-python-language-summit_11.html"><strong>The path forward for immortal objects</strong></a>: A talk by Eddie Elizondo and Eric Snow</li> <li><a href="https://pyfound.blogspot.com/2022/05/the-2022-python-language-summit.html"><strong>Lightning talks</strong></a>, featuring short presentations by Carl Meyer, Thomas Wouters, Kevin Modzelewski, Samuel Colvin and Larry Hastings</li> </ul></li> </ul> <p><strong>Daniel #6:</strong><a href="https://www.allspice.io"><strong>AllSpice is Git for EEs</strong></a></p> <ul> <li>Software engineers have Git/SVN/Mercurial/etc</li> <li>None of the other engineering disciplines (mechanical, electrical, optical, etc), have it nearly as good. Altium has their Vault and “365,” but there’s nothing with a Git-like UX.</li> <li>Supports version history, diffs, all the things you expect. Even self-hosting and a Gov Cloud version.</li> <li>“Bring your workflow to the 21st century, finally.”</li> </ul> <p><strong>Extras</strong> </p> <p>Brian:</p> <ul> <li><a href="https://testandcode.com/188">Will McGugan talks about Rich, Textual, and Textualize on Test &amp; Code 188</a></li> <li>Also 3 other episodes since last week. (I have a backlog I’m working through.)</li> </ul> <p>Michael:</p> <ul> <li><a href="https://www.youtube.com/watch?v=je21yaRV_xc"><strong>Power On-Xbox Documentary | Full Movie</strong></a></li> <li><a href="https://www.youtube.com/watch?v=7sxUu-tYcIA"><strong>The 4 Reasons To Branch with Git - Illustrated Examples with Python</strong></a></li> <li><a href="https://www.easypost.com"><strong>A Python spotting</strong></a> - via Jason Pecor</li> <li><a href="https://twitter.com/btskinn/status/1524507904929370114"><strong>2022 StackOverflow Developer Survey</strong></a> is live, via Brian</li> <li><a href="https://www.textsniper.app"><strong>TextSniper macOS App</strong></a></li> <li>PandasTutor on webassembly </li> </ul> <p>Daniel: </p> <ul> <li>I know Adafruit’s a household name, shout-out to <a href="https://www.sparkfun.com">Sparkfun</a>, <a href="https://www.seeedstudio.com">Seeed Studio</a>, <a href="https://openmv.io">OpenMV</a>, and other companies in the field.</li> </ul> <p><strong>Joke:</strong> </p> <p><a href="https://www.reddit.com/r/ProgrammerHumor/comments/un1pmg/i_can_explain_this/"><strong>A little awkward</strong></a></p>

Viewing all articles
Browse latest Browse all 24355

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>