You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Patch: Failing to fetch posts (because I forgot to rename the methods everywhere -_-)
Fix failing PyPI publish workflow
Fix docker workflow not running
What Changed: 7.0.0
Additions
Add knewkarma.User.username_available() to check if a specified username is available or taken.
Add bar plot in User.top_subreddits() (only works if matplotlib is installed)
Add check to determine if knewkarma is running inside a docker container.
Improvements
Api class (now at knewkarma-io/api) will now accept a dict of headers to use for the requests: api.Api(headers: Dict)
Docker images will be pulled from dockerhub: docker pull rly0nheart/knewkarma
The desktop icon (snap package) will now be clickable and keep the terminal open until user clicks any key.
Back to being asynchronous and using rich-click babyyyyy!!!!.
Clearer error messages.
Updates prompt is now case-insensitive (thanks to rich
Hiding the pip install --upgrade output, when upgrading knewkarma (PyPI Package).
Improved the pagination mechanism for post comments
Now able to check Reddit infrastructure status on every run.
Migrations
Rename the subreddit and username param in knewkarma.Subreddit and knewkarma.User to name
Rename the post_id and post_subreddit parameters in knewkarma.Post to id and subreddit
Move knewkarma.tools.styling_utils to knewkarma.tools.terminal
Move knewkarma.tools.misc_utils to knewkarma.tools.miscellaneous
Move knewkarma.tools.data_utils to knewkarma.tools.data
Move knewkarma.tools.package_utils to knewkarma.tools.package
Remove knewkarma.tools.time_utils, as functions from this have been shared across knewkarma.api, knewkarma.tools.data, and knewkarma.tools.miscellaneous
Remove knewkarma.tools.parsing_utils, as it will now be part of a separate package (karmakaze)