Webcast: Pretty Little Python Secrets – Episode 1 – Installing Python Tools and Libraries the Right Way
Have you ever installed a Python tool / library only to then find out other Python based tools you’ve installed previously are now completely broken?
Running Kali? Ever try installing a Python tool with apt-get and another with pip? Notice how some things don’t work anymore?
Ever wondered if there was an easier way to install Python tools quickly without having to deal with dependency hell?
If you’re using Python-based tooling on a regular basis (which most of the security community is) then odds are you’ve been in one of those situations multiple times.
Turns out there are relatively simple solutions to all of these problems albeit some are “hidden” within the Python docs, not explained well, require a lot of effort to the point where people give up and/or not generally known outside of the hard-core Python development circles.
In this Black Hills Information Security webinar, we’ll share a collection of “ez button” methods to correctly install Python tools/libraries without messing up your entire system along with the “why” and “how” behind them.
Chapters & Links below, in the info. | BHIS Discord Community: https://discord.gg/aHHh3u5
Slides for this webcast can be found here: https://www.blackhillsinfosec.com/wp-content/uploads/2020/08/SLIDES_PrettyLittlePythonSecretsEpisode1.pdf
00:00 – PreShow Banter™ – Jokes Not Safe For Work
11:34 – PreShow Banter™ – Sponsorware for GitHub
20:15 – FEATURE PRESENTATION: Pretty Little Python Secrets
25:22 – 1st Circle of Hell: Managing Python Versions
31:01 – 2nd Circle of Hell: Python Dependencies
33:28 – Installing Python Tools/Libraries
39:26 – Isolate, Isolate, Isolate
46:37 – Pipx – The Easy Button
51:23 – Making Python Apps Semi-Portable
53:17 – ZipApps!
1:03:41 – Shiv!
1:11:41 – If all else fails… Docker!
1:17:33 – Conclusion
Notable Links:
- https://twitter.com/porchetta_ind
- https://github.com/byt3bl33d3r
- https://twitter.com/byt3bl33d3r
- https://github.com/pyenv/pyenv
- https://github.com/pyenv/pyenv/wiki/Common-build-problems
- https://github.com/pyenv/pyenv-installer
- https://github.com/sponsorware/docs
- https://docs.python.org/3/library/venv.html
- https://github.com/pipxproject/pipx
- https://docs.python.org/3/library/zipapp.html
- https://pythonspeed.com/docker/
- https://www.github.com/my-app
Ready to learn more?
Level up your skills with affordable classes from Antisyphon!
Available live/virtual and on-demand