Episode #170: Visualize this: Visualizing Python's visualization ecosystem
Sponsored by DigitalOcean: pythonbytes.fm/digitalocean - $100 credit for new users to build something awesome.
Michael #1: Python visualization graph
- via Prayson Daniel
- The PyViz.org website is an open platform for helping users decide on the best open-source (OSS) Python data visualization tools for their purposes, with links, overviews, comparisons, and examples.
- Overviews of the OSS visualization packages
- High-level tools for getting started
- A live table for comparing maturity, popularity, and support.
- Dashboarding tools
- SciVis tools for rendering data embedded in three-dimensional space.
- Topic examples of using Python viz tools to analyze or describe specific datasets
Brian #2: Awesome Zen of Python
- A Rabbit Hole lot of Zen
- yes, I know, that’s a terrible mixed metaphor
- List of articles on “the Zen of Python”
- Well, articles, talks, tools, and “other?”
- Al Sweigart: The Zen of Python, Explained is a nice quick reference.
- Moshe Zadka: Meditations on the Zen of Python is slightly longer, but good and still a quick read.
- One line (“There should be one-- and preferably only one --obvious way to do it.”) is a joke making fun of pre-decrement, post-decrement in C.
- Abdur-Rahmaan Janhangeer: The Zen Of Python Is A Joke And Here Is Why is a must read.
Michael #3: Jupytext
- via Matt Harrison
- Jupyter Notebooks as Markdown Documents, Julia, Python or R scripts
- Wished Jupyter notebooks were plain text documents?
- Wished you could edit them in your favorite IDE?
- And get clear and meaningful diffs when doing version control?
- Then... Jupytext may well be the tool you're looking for!
- Jupytext can save Jupyter notebooks as
- Markdown and R Markdown documents
- Scripts in many languages.
Brian #4: Tour of Python Itertools
- Martin Heinz
- Very cool quick look at some of the cool-ness to be found in itertools and more_itertools.
compress- one iterator to another eliminating elements that fail a bool expression
accumulate- like functools.reduce but returns all intermediate values
cycle- so cool, create a never ending repeating iterable
tee- multiple references to one iterable
divide- divides iterable into sub-iterables
partition- split into two based on a predicate bool expression
side_effect- attach a side effect function to an iterable that gets called with each element
collapse- like flatten
split_at- multiple iterables splitting at divider items, specified with predicate
bucket- multiple iterables based on multi-return-value expression
map_reduce- specify 3 functions: key function (for categorizing), value function (for transforming) and finally reduce function (for reducing).
Michael #5: justpy.io
- JustPy is an object-oriented, component based, high-level Python Web Framework that requires no front-end programming.
- JustPy has no front-end/back-end distinction. All programming is done on the back-end allowing a simpler, more productive, and more Pythonic web development experience.
- JustPy removes the front-end/back-end distinction by intercepting the relevant events on the front-end and sending them to the back-end to be processed.
- Elements on the web page are instances of component classes. A component in JustPy is a Python class that allows you to instantiate reusable custom elements whose functionality and design is encapsulated away from the rest of your code.
- Custom components can be created using other components as building blocks. Out of the box, JustPy comes with support for HTML and SVG components as well as more complex components such as charts and grids.
- Supports most of the components and the functionality of the Quasar library
- Based on solid libraries: Starlette, uvicorn, and Vue.js.
Brian #6: Modularity for Maintenance
- A list of many automation tools you can use to help with the maintenance of open source projects.
- CI, tox, linting, type checking, dependencies, security, coverage, formatting, releasing
- with lots of options and links
- A request for some kind of tool to help automate all the automation when starting new projects. Maybe a cookie-cutter thing….
- That would be cool. But frankly, the list is super helpful also.
- Sentry helping fund some OSS projects.
- black, pypi, pytest, structlog, gimli (last one is a Rust thing).
- Just launched a new 7.2 hour course: Python for absolute beginners
- Talk Python Training now streaming newest courses in HiDPI (nearly 4K) and it’s super crisp. More details here.
- AWS Cloud has decided to no longer publish awscli to #pypi pulling a 700M+ download package (via Anthony Sottile)
- The podcast RSS feed is a little smaller now.
First law of software quality:
e = mc^2 →
errors = (more code)^2.