Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

knewkarma

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knewkarma

A Reddit data analysis toolkit

  • 7.1.4
  • PyPI
  • Socket score

Maintainers
2

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.

Code Style Downloads PyPI - Version Snap Version

knewkarma subreddit AskScience --posts
import asyncio

import aiohttp
import knewkarma


async def subreddit_posts(subreddit_name, posts_limit):
    subreddit = knewkarma.Subreddit(subreddit_name)

    async with aiohttp.ClientSession() as session:
        posts = await subreddit.posts(session=session, limit=posts_limit)

        for post in posts:
            print(post.data.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.

Become a Sponsor

Star History

Star History Chart

License

GPL-3.0+ License © Richard Mwewa

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc