
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
cleverutils
Advanced tools
Some handy Python utilities and code snippets used repeatedly by the author and considered beginner to intermediate level of difficulty. Published just in case they're of use to other Pythonistas somehwere, some time.
cleverutils
Some handy Python utilities and code snippets (beginner to intermediate level) used so often by the author that he took the time to package them up and share on Github/PyPI. Hopefully they might be of use to other Pythonistas somehwere, some time...
pip install cleverutils
To access the main Session/Login/Scraper classes:
>>> from cleverutils import CleverSession, Login_to
>>> cs = CleverSession(echo=True)
>>> cs.start()
To access individual functions in clevergui:
>>> from cleverutils import start_gui, button_menu, text_input, get_folder, progress_bar
start_gui, button_menu, and text_input are simply wrappers around frequently used PySimpleGUI functions using a predefined "house style".
Uses selenium for webbrowser automation and scraping, PySimpleGUI for nice, simple input prompts(*) and keyring for getting/setting credentials. Uses cleverdict for general data management and its handy auto-save/JSON features.
chomedriver.exe is included in this repository but you can replace with the latest selenium web-driver for your preferred browser. Please see selenium docs/tutorials widely available elsewhere.
Hopefully cleverutils will be of interest to people getting started with selenium and web scraping generally or working with Github, Twitter etc. and not wanting to use their API. cleverutils isn't super elegant or even PEP8 compliant, but does solve simple web scraping challenges quickly, understandably, and extensibly.
Contact Peter Fison peter@southwestlondon.tv or feel free to raise Pull Requests / Issue in the normal Github way.
If cleverutils helps you save time and focus on more important things, please feel free to to show your appreciation by starring the repository on Github.
I'd also be delighted if you wanted to:
FAQs
Some handy Python utilities and code snippets used repeatedly by the author and considered beginner to intermediate level of difficulty. Published just in case they're of use to other Pythonistas somehwere, some time.
We found that cleverutils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.