Watch on YouTube
About the show
Sponsored by Microsoft for Startups Founders Hub.
Connect with the hosts
Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Tuesdays at 11am PT. Older video versions available there too.
Michael #1: camply
Brian #2: hatch-fancy-pypi-readme
- Your ✨Fancy✨ Project Deserves a ✨Fancy✨ PyPI Readme! 🧐
- Hynek Schlawack
- Include lots of extras in a README.md
- text fragments
- files, like AUTHORS.md or Changelog.md, with custom start, stop, pattern includes, etc.
- regular expression substitutions
- Several projects with examples, including black.
Pamela #3: Pyodide dev branch now supports 3.11
Michael #4: EU hates open source?
- via Pamphile Roy
- The Cyber Resilience Act (CRA) is an interesting and important proposal for a European law that aims to drive the safety and integrity of software
- The proposal includes a requirement for self-certification by suppliers of software to attest conformity with the requirements of the CRA including security, privacy and the absence of Critical Vulnerability Events (CVEs).
- We recognize that the European Commission has framed an exception in recital 10 attempting to ensure these provisions do not accidentally impact Open Source software.
- However, drawing on more than two decades of experience, we at the Open Source Initiative can clearly see that the current text will cause extensive problems for Open Source software.
- Since the goal is to avoid harming Open Source software this goal should be stated at the start of the paragraph as the rationale, replacing the introductory wording about avoiding harm to "research and innovation" to avoid over-narrowing the exception.
- The reference to "non-commercial" as a qualifier should be substituted. The term “commercial” has always led to legal uncertainty for software and is a term which should not be applied in the context of open source
- OSI recommends further work on the Open Source exception to the requirements within the body of the Act to exclude all activities prior to commercial deployment of the software and to clearly ensure that responsibility for CE marks does not rest with any actor who is not a direct commercial beneficiary of deployment.
Brian #5: So, Single (‘) or Double (“) Quotes in Python?
- Marcin Kozak
- PEP8 doesn’t recommend anything.
- REPL uses single quotes.
>>> x = "one"
>>> x
'one'
- Black sides with “double quotes”, due to the apostrophe in the string problem.
- 'Don\'t be so sad.' vs “Don’t be sad.”
- You get to pick, and don’t be bullied by black-fanatics.
- There’s always blue, which is just like black, but
- defaults to single-quotes
- line length defaults to 79, not black’s 88.
- preserves whitespace before hash marks for right hanging comments (so multiple lines can line up).
Pamela #6: Frozen-Flask
Extras
Brian:
Michael:
Pamela:
Jokes: