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-1.3.0.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for karmakaze-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 216924ad89d9979f43e97e9de4260991f7d456fae33f0b708a693c9c2ba8a3bc |
|
MD5 | 97ea70518f4c060433aa785defc08294 |
|
BLAKE2b-256 | dda0d6a2655fed7cb8b3bbfd9d9a173c99597406bb32c08714cc301afce27def |