Bookmarks tagged Python

20 Feb
In this tutorial you'll build robust web crawlers using libraries like BeautifulSoup, learn techniques to overcome real-world scraping challenges and best practices for large scale scraping.
You'll gain the skills to scrape complex sites, handle issues like rate limits, blocks, and javascript pages.
#Python #scrapping +
7 Dec 2023
A self-hosted, single-user, ActivityPub powered microblog written in Python
27 Nov 2023
Fabric is a high level Python (2.7, 3.4+) library designed to execute shell commands remotely over SSH, yielding useful Python objects in return. It builds on top of Invoke (subprocess command execution and command-line features) and Paramiko (SSH protocol implementation), extending their APIs to complement one another and provide additional functionality.
20 Nov 2023
Example of code to create plot graphs with the style and typography of XKCD, in Python.
#Python #XKCD +
13 Nov 2023
`ap` is a command-line client for the ActivityPub protocol coded in Python by, initially developed to illustrate how to write client code for the ActivityPub API as part of his book for O'Reilly Media, "ActivityPub: Programming for the Social Web".
25 Oct 2023
I build a lot of command-line tools in Python. It’s become my favorite way of quickly turning a piece of code into something I can use myself and package up for other people to use too.
[...] Here are some notes on what I’ve learned about designing and implementing CLI tools in Python so far.
#CLI + #Python
17 Oct 2023
pytest official documentation page explaining how to capture the stdout and stderr output and make use of it during as an assert during the test
#Python #pytest +
4 Oct 2023
PyGitHub is a Python library to access the GitHub REST API. This library enables you to manage GitHub resources such as repositories, user profiles, and organizations in your Python applications.
4 Oct 2023
GitPython is a python library used to interact with git repositories, high-level like git-porcelain, or low-level like git-plumbing.
It provides abstractions of git objects for easy access of repository data often backed by calling the git command-line program. ⚠️ This project is in maintenance mode
#Python #git +
2 Oct 2023
A very simple wrapper for the Firefish API written in Python. Good to understand how the calls work but very limited and poorly implemented.