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.4.0.tar.gz
(7.5 kB
view hashes)
Built Distribution
Close
Hashes for karmakaze-1.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbf37546bcc72c9366fa44206c620805537cc8f362ef45f28fcd29e970188d51 |
|
MD5 | b6059100d49e6491d7e0fea90e74db0e |
|
BLAKE2b-256 | 1fcded4ad7dfcbdb051080a593a0e734e6a3745c1337337feaa32be914fec76d |