|6 months ago||4 days ago|
|MIT License||BSD 3-clause "New" or "Revised" License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Ask HN: What are some tools / libraries you built yourself?
news.ycombinator.com | 2021-05-16
I've been working on gazpacho  for last two years.
It's a general purpose web scraping library for Python that replaces BeautifulSoup + requests for most projects.
Just surpassed ~2K downloads every week!
How do i go about building a vidoe conferencing app?
reddit.com/r/rust | 2021-08-20
Generally, I'm already using Python to glue together things like OpenCV or libxml, which do the heavy-lifting, and taking advantage of how things like Qt's QImage release Python's Global Interpreter Lock, allowing me to load and process images on a background thread, so the Python code itself is usually already I/O-bound, but yes. If the Python code would become a bottleneck, it helps with that too.
Big brained meme I created
reddit.com/r/ProgrammerHumor | 2021-07-25
Catch some info with BeautifulSoup
reddit.com/r/learnpython | 2021-06-27
BeautifulSoup doesn't support XPath, no? They would need to use a library like lxml instead.
Where to start: Learning Web-scraping
reddit.com/r/learnpython | 2021-06-26
lxml is an XML parser however, it also supports HTML parsing. It's blazing fast and supports XPath. I think it isn't as beginner friendly to use, though it has detailed documentation. It works less well with heavily broken HTML documents and the encoding detection isn't as good as the one of BS4.
Python is better than C they said
reddit.com/r/ProgrammerHumor | 2021-06-06
According to lxml benchmarking docs, Python’s built in xml parser wouldn’t behave that bad either: https://github.com/lxml/lxml/blob/master/doc/performance.txtreddit.com/r/ProgrammerHumor | 2021-06-06
Want to try automating what I do majority of the time for my job using Python. Help me check what's possible and recommend the better way to achieve this task.
reddit.com/r/learnprogramming | 2021-04-09
*https://github.com/lxml/lxml *(works with beautifulsoup) as an internal parser
What are some alternatives?
xmltodict - Python module that makes working with XML feel like you are working with JSON
untangle - Converts XML to Python objects
html5lib - Standards-compliant library for parsing and serializing HTML documents and fragments in Python
pyquery - A jquery-like library for python
selectolax - Python binding to Modest and Lexbor engines (fast HTML5 parser with CSS selectors).
bleach - Bleach is an allowed-list-based HTML sanitizing library that escapes or strips markup and attributes
xhtml2pdf - A library for converting HTML into PDFs using ReportLab
xmldataset - xmldataset: xml parsing made easy 🗃️
MarkupSafe - Safely add untrusted strings to HTML/XML markup.