#254 Do Excel things, get notebook Python code with Mito

Python Bytes - Ein Podcast von Michael Kennedy and Brian Okken - Montags

Kategorien:

Watch the live stream: Watch on YouTube About the show Sponsored by us: Check out the courses over at Talk Python And Brian’s book too! Special guest: Muhammad Raza Brian #1: yaml, GH Actions, and Python 3.10 Anthony Shaw (and others) Old: python: [3.7, 3.8, 3.9, 3.10-dev] New: python: ["3.7", "3.8", "3.9", "3.10"] Reasons: Github Actions use yaml. yaml treats 3.10-dev as a string, since it’s got non-numbers in it. yaml treats 3.10 as a number, and is the same as 3.1 hence, we have to use quotes for “3.10” using them on “3.7”, etc is not necessary, but is a nice consistency Michael #2: Beating C and Java, Python Becomes the #1 Most Popular Programming Language, Says TIOBE via Brain Skin "For the first time in more than 20 years we have a new leader of the pack..." the TIOBE Index announced this month. "The long-standing hegemony of Java and C is over.” For Tiobe, its enterprise focus, has seen Java and C dominate in recent years, but Python has been snapping at the heels of Java, and has now overtaken it... "Its ease of learning, its huge amount of libraries, and its widespread use in all kinds of domains, has made it the most popular programming language of today. Congratulations Guido van Rossum!" Muhammad #3: Newspaper3k: Article scraping & curation News, full-text, and article metadata extraction This allows you extract useful information from news articles, similar to Pocket or InstaPaper. Brian #4: PEP 660, pip 21.3, flit 3.4 -> easy editable installs pip install -e /local/dir is a great way to have a project installed while you are developing it. It used to not work with pyproject.toml based projects. Flit worked around this with flit install --``pth-file (or --symlink) PEP660 - Editable installs for pyproject.toml based builds (wheel based) Plus tons of work by Stéphane Bidoul and others, see Test & Code, episode 163 pip 21.3 (Oct 11), flit 3.4 (Oct 10) now support PEP660 And now with pip 21.3 and flit 3.4, pip install -e works for flit projects If you are using optional dependencies, for example: [project.optional-dependencies] test = [ "pytest", "tox", ] Then you need to use a quotes: pip install -e ".[test]" Michael #5: Mito - a JupterLab Extension - generates Python code while you work on your analysis via Tomas Rollo Mito is a spreadsheet that helps you complete your Python analyses 10x faster. You edit the Mitosheet, and it generates Python code for you. Best way to experience it is to watch the video Muhammad #6: troposphere Python library to create AWS CloudFormation descriptions The troposphere library allows easier creation of CloudFormation templates by writing Python code to describe AWS resources. Extras Muhammad How to learn Unix Tools Brian PyCon 2022 site is live, https://us.pycon.org/2022/ Joke: Alphabet cancels Loon

Visit the podcast's native language site