#287: Surprising ways to use Jupyter Notebooks
Published Tue, Jun 7, 2022, recorded Tue, Jun 7, 2022
About the show
Sponsored by us! Support our work through:
Michael #1: auto-py-to-exe
- Converts .py to .exe using a simple graphical interface
- A good candidate to install via pipx
- For me, just point it at the top level app.py file and click go
- Can add icons, etc.
- Got a .app version and CLI version (I think 😉 )
- Required brew install python-tk to get tkinter on my mac
- I tested it against my URLify app.
- Oddly, only ran on Python 3.9 but not 3.10
- by Aleksandra Płońska, Piotr Płoński
- Fun romp through ways you can use and abuse notebooks
- package development
- web app
- REST API
Michael #3: piptrends
- by Tankala Ashok
- Use piptrends.com for comparing python packages downloads and GitHub Statistics.
- Whenever doing research which python package, check multiple places to finalize it so thought of putting all those things in a single place.
- Inspired by npmtends.com.
- by Trey Hunner
- It’s kinda hard to tell in Python. Actually, impossible to tell from staring at the calling code.
- “Of the 69 “built-in functions” listed in the Python Built-In Functions page, only 42 are actually implemented as functions: 26 are classes and 1 (
help) is an instance of a callable class.
- Of the 26 classes among those built-in “functions”, four were actually functions in Python 2 (the now-lazy
zip) but have since become classes.
- The Python built-ins and the standard library are both full of maybe-functions-maybe-classes.”
len- yep, that’s a function
zip- that’s a class
filter“functions” are all classes. But callable classes.
- Cool discussion of
- callable objects
- partials, itemgetters, iterators, generators, factory functions
- What’s in which Python - Ned Batchelder
- brief bullet list of a few memorable changes in versions 2.1 through 3.11
Joke: async problems