A Reddit data analysis toolkit
Project description
Knew Karma (/nuː ‘kɑːrmə/) is a Reddit data analysis toolkit designed to provide an extensive range of functionalities for exploring and analysing Reddit data. It includes a Command-Line Interface (CLI), and an Application Programming Interface (API) to enable easy integration in other Python projects and/or scripts.
knewkarma subreddit AskScience --posts
import asyncio
import aiohttp
import knewkarma
async def subreddit_posts(subreddit_name, posts_limit):
subreddit = knewkarma.Subreddit(name=subreddit_name)
async with aiohttp.ClientSession() as session:
posts = await subreddit.posts(session=session, limit=posts_limit)
for post in posts:
print(post.title)
asyncio.run(subreddit_posts(subreddit_name="AskScience", posts_limit=200))
Documentation
Refer to the documentation for Feature Overview, Installation, API Integration, and Usage instructions.
Sponsorship
If you find Knew Karma useful and would like to support its development, you can sponsor the project through Open Collective.
Your sponsorship will help cover the costs of ongoing maintenance, new feature development, and overall project sustainability.
How to Sponsor
You can sponsor the project by visiting Knew Karma's Open Collective page and choosing a sponsorship tier that fits your budget.
Whether you're a company that relies on Knew Karma for data analysis or an individual who appreciates open-source projects and/or the work put into this project in particular, any sponsorship tier is greatly appreciated.
Star History
License
GPL-3.0+ License © Richard Mwewa
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for knewkarma-7.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b471c3c93bb25cccfc80ee8ed993d487e829588409f112939b382161dc01592e |
|
MD5 | 7818b65e17dc3b28110813d2b5c0a963 |
|
BLAKE2b-256 | 42e76808e0213ae35d2762ebfc8efc7590525b0e63393ff80c1b309131a964b8 |