Data sanitation engine for Knew Karma
Project description
Karma Kaze (カルマの風)
Data sanitation engine for Knew Karma.
import karmakaze
import requests
username = "AutoModerator"
response = requests.get(f"https://www.reddit.com/user/{username}/about.json").json()
sanitise = karmakaze.Sanitise() # Provides static methods for sanitising raw response data
parse = karmakaze.Parse() # Provides methods for parsing the sanitised data
sanitised_data = sanitise.subreddit_or_user(response=response)
parsed_data = parse.user(data=sanitised_data)
print(sanitised_data)
print(parsed_data)
License
MIT 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
karmakaze-2.0.1.tar.gz
(19.0 kB
view hashes)
Built Distribution
karmakaze-2.0.1-py3-none-any.whl
(19.1 kB
view hashes)
Close
Hashes for karmakaze-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 625c2827448b226c52417eeb695c99f61541c79424e18747ed7ee08ac6dc5736 |
|
MD5 | bff9486a2b55a4e57b44a2990eaa0a02 |
|
BLAKE2b-256 | 980f45d857a3ae02b83dcf8b52d719fab0cde593f7be8e0cb49a1fee4f174570 |