#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
Brian #2: 8 surprising ways how to use Jupyter Notebook
- by Aleksandra PĹoĹska, Piotr PĹoĹski
- Fun romp through ways you can use and abuse notebooks
- package development
- web app
- slides
- book
- blog
- report
- dashboard
- 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.
Brian #4: Is it a class or a function? It's a callable!
- 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
map
,filter
,range
, andzip
) 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 functionzip
- thatâs a classreversed
,enumerate
,range
, andfilter
âfunctionsâ are all classes. But callable classes.- Cool discussion of
- callable objects
- partials, itemgetters, iterators, generators, factory functions
- âŚ
Extras
Brian:
- Whatâs in which Python - Ned Batchelder
- brief bullet list of a few memorable changes in versions 2.1 through 3.11
Michael:
- Orion Browser via Dan Bader
- PSF 2021 Survey Results are out (full analysis next week)
Joke: async problems