Bookmarks tagged Python

20 Feb proxiesapi.com
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 github.com
A self-hosted, single-user, ActivityPub powered microblog written in Python
27 Nov 2023 www.fabfile.org
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 matplotlib.org
Example of code to create plot graphs with the style and typography of XKCD, in Python.
#Python #XKCD +
13 Nov 2023 github.com
`ap` is a command-line client for the ActivityPub protocol coded in Python by @evan@cosocial.ca, 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 simonwillison.net
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 docs.pytest.org
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 github.com
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 github.com
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 codeberg.org
A very simple wrapper for the Firefish API written in Python. Good to understand how the calls work but very limited and poorly implemented.