Skip to content

Commit

Permalink
Merge pull request #37 from knewkarma-io/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
rly0nheart authored Oct 24, 2024
2 parents 5ab5eae + 1129543 commit bccb22c
Show file tree
Hide file tree
Showing 8 changed files with 628 additions and 478 deletions.
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
<!--<a href="https://opencollective.com/knewkarma"><img alt="Open Collective backers and sponsors" src="https://img.shields.io/opencollective/all/knewkarma?logo=open-collective"></a>-->
</p>

***

```commandline
knewkarma subreddit AskScience --posts
```
Expand All @@ -28,7 +26,7 @@ async def subreddit_posts(subreddit_name, posts_limit):
posts = await subreddit.posts(session=session, limit=posts_limit)

for post in posts:
print(post.title)
print(post.data.title)


asyncio.run(subreddit_posts(subreddit_name="AskScience", posts_limit=200))
Expand Down Expand Up @@ -70,8 +68,3 @@ projects and/or the work put into this project in particular, any sponsorship ti
## License

GPL-3.0+ License © [Richard Mwewa](https://gravatar.com/rly0nheart)

***
<a href="https://gravatar.com/rly0nheart">
<img src="https://github.com/user-attachments/assets/5b29ee58-ea36-4ec0-aea3-4b2f9f7999fb" alt="richard-mwewa">
</a>
367 changes: 191 additions & 176 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "knewkarma"
version = "7.0.13"
version = "7.1.0"
description = "A Reddit data analysis toolkit"
authors = ["Richard Mwewa <[email protected]>", "Knew Karma IO <[email protected]>"]
readme = "README.md"
Expand All @@ -24,7 +24,7 @@ repository = "https://github.com/knewkarma-io/knewkarma"

[tool.poetry.dependencies]
python = "^3.10"
kraw = "^0.2.4"
kraw = "^0.3.3"
matplotlib = { version = "^3.9.2", optional = true }
pandas = "^2.1.4"
rich-click = "^1.8.3"
Expand Down
Loading

0 comments on commit bccb22c

Please sign in to comment.