Python wheel files are zip files and can be viewed with VisiData #1539
Replies: 2 comments 9 replies
-
Yeah it sure can! I'm realizing I didn't mention this shortcut I have in my from visidata import vd
vd.open_whl = vd.open_zip And if you couple it with a command to open a new sheet using the cell value as a path... from visidata import BaseSheet
BaseSheet.addCommand(' zo', 'open-cell-path', 'vd.push(vd.openSource(cursorCell.value))') Then you have an even handier PyPI remote wheel browser 👍 Edit: Thanks to @anjakefala's addition in #1514 , the native |
Beta Was this translation helpful? Give feedback.
-
There are a few other file formats that are based on zip format according to Wikipedia:
Also, It is not perfect showing these files as their base types, but it is more useful than if VisiData completely ignored the format. @saulpw what do you think? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
For example:
This command uses the builtin VisiData support for unzip-http to allow you to quickly view what files are in a Python Wheel, without having to download the whole file first.
I think this could be combined with @ajkerrigan's plugin for PyPi: https://dev.to/ajkerrigan/data-exploration-quick-wins-with-visidata-13lh/
Beta Was this translation helpful? Give feedback.
All reactions