Python News

Open-source Python projects categorized as News

Top 23 Python News Projects

  • newspaper

    News, full-text, and article metadata extraction in Python 3. Advanced docs:

  • Stream-Framework

    Stream Framework is a Python library, which allows you to build news feed, activity streams and notification systems using Cassandra and/or Redis. The authors of Stream-Framework also provide a cloud service for feed technology:

    Project mention: On what side project you guys are working on? | /r/webdev | 2023-06-29

    An ultralight social media app with no dependencies that can run on shared web hosting. It's an API like Getstream, so F/E is up to you. I've had a fork of it in production for 2.5 years on a subscription site that generates a small income.

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • trafilatura

    Python & command-line tool to gather text on the Web: web crawling/scraping, extraction of text, metadata, comments

    Project mention: Trafilatura: Python tool to gather text on the Web | | 2023-08-14

    The feature list answers that question pretty well:

    Basically: you could implement all of this on top of BeautifulSoup - polite crawling policies, sitemap and feed parsing, URL de-duplication, parallel processing, download queues, heuristics for extracting just the main article content, metadata extraction, language detection... but it would require writing an enormous amount of extra code.

  • news-please

    news-please - an integrated web crawler and information extractor for news that just works

    Project mention: Data extraction from news media outlets? | /r/datasets | 2022-10-13

    Look at news-please, you can find it in GitHub. I did something similar and it was very helpful. You can hit me up with if you have any questions.

  • pygooglenews

    If Google News had a Python library

  • GNews

    A Happy and lightweight Python Package that Provides an API to search for articles on Google News and returns a JSON response.

    Project mention: Need some help with my personal project (interactive world map with real-time data) | /r/datascience | 2023-05-15

    The web crawling part wasn't much of an issue - I am using an existing API ( which does what I needed. The issue lies in, well, pretty much the rest of the task described above. I need to create an interactive world map with real-time data (news articles) - more specifically, maintaining the data server, figuring out the data mapping part, etc. Since I pretty much have no experience in this, I would like to ask you guys for some directions. What tool would I need to use and how would I store/load the data? Is it possible to do so without writing some Javascript code myself?

  • GoogleNews

    Script for GoogleNews

    Project mention: Python script that opens my bookmarks and returns only links posted in the last 14 days | /r/learnpython | 2023-05-07

    Another option you could consider would be using a wrapper library around google news if you struggle with implementing the scarping logic yourself. The downside is that you'll still have to be careful so your IP doesn't get blocked. Make sure you limit the amount of requests per second/minute...

  • Mergify

    Tired of breaking your main and manually rebasing outdated pull requests?. Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.

  • django-newsfeed

    A news curator and newsletter subscription package for Django

    Project mention: How to make a "ads wall" | /r/djangolearning | 2022-10-30

    You could try django-newsfeed but this might make things harder in the long run if you want to make modifications to it.

  • archiveis

    A simple Python wrapper for the capturing service

    Project mention: Ask HN: Why paywalled content is not banned yet? | | 2023-08-26

    Paywalled content is annoying. But it can be bypassed most of the time by cut'n'pasting the URL into the search fields of either

  • savepagenow

    A simple Python wrapper and command-line interface for’s "Save Page Now" capturing service

  • news-fetch

    A Python Package which helps to scrape all news details from any news websites

  • newsnotfound

    Entire source code for NewsNotFound's article generation process ✍

    Project mention: Speaking of AI image and text storytelling, there's now an AI-powered news website... | /r/behindthebastards | 2023-06-23

    NewsNotFound website


    Jarvis is a simple Chatbot with a GUI capable of chatting and retrieving information and daily news from the internet for it's user using python.

  • newsemble

    API for fetching data from news websites.

  • wallabag-kindle-consumer

    Send all articles with a certain tag to your kindle.

  • nepstonks

    An automated bot that scrapes the latest upcoming issues, news, and investment opportunities that are announced inside Nepal and sends them to a telegram channel.

  • JapanDailyNews

    Project mention: Show HN: AI-generated Japan news podcast | | 2023-04-07
  • ailive

    AI Revolution

    Project mention: Enhancing AI Capabilities with External API Integration and Assistance | /r/GPT3 | 2023-03-20

    I am looking to do the same! My idea was a bit different but we share the vision. Happy to collaborate at open source project

  • pressReadMePlease

    PressReader 🐍 automation for mobile apps auth token

  • python-client API Python Client (by newsdataapi)

    Project mention: Hacker News API VS python-client - a user suggested alternative | | 2023-08-04 is the best news API to get real-time and historical news data from the world. gathers news from more than 20,000+ news sources which cover around 154 countries in 77 languages. As of now, has access to over 100 million news articles which are gathered from 2018 till today. It is also the best alternative to Google News API.

  • YourDailyRundownBackend

    Flask-based backend for YourDailyRundown.

    Project mention: YourDailyRundown | /r/SideProject | 2023-09-10
  • pastevents

    A structured, searchable archive of Wikipedia's "Current Events" portal

    Project mention: Basic HTML Google News for Vintage Computers | | 2023-06-16

    I share the frustration with the major online news portals, and have in fact built my own portal powered by Wikipedia[1].

    But eventually I realized that my biggest gripe with news today isn't the presentation but the content. And I'm not talking about biases or sensationalism – I'm talking about the news items themselves.

    Much of what passes as news today is stuff like "15 people die when a copper mine collapses in Chile". I'm trying to get a big picture view of the world, and I don't believe that such stories are at all conducive to that endeavor. News as we know it is just an endless stream of random events, apparently selected according to a handful of crude criteria, the most important one being dead people. I've been a keen follower of global news for many years, and I don't feel that I'm understanding anything.

    Where are the truly novel approaches to painting a picture of what the world is today? Where are the quantitative news portals, the event pattern search engines, the automatically derived trends? I'm still looking.


  • cabbage_news

    A news aggregator built on top of HN

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-09-10.

Python News related posts


What are some of the best open-source News projects in Python? This list will help you:

Project Stars
1 newspaper 13,119
2 Stream-Framework 4,695
3 trafilatura 2,039
4 news-please 1,742
5 pygooglenews 1,179
6 GNews 384
7 GoogleNews 248
8 django-newsfeed 187
9 archiveis 166
10 savepagenow 152
11 news-fetch 151
12 newsnotfound 116
14 newsemble 44
15 wallabag-kindle-consumer 40
16 nepstonks 19
17 JapanDailyNews 12
18 ailive 10
19 pressReadMePlease 8
20 python-client 6
21 YourDailyRundownBackend 3
22 pastevents 3
23 cabbage_news 2
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.