Data sanitisation engine for Knew Karma
Project description
Karma Kaze (カルマの風)
Data sanitisation engine for Knew Karma.
from karmakaze.klean import Klean
from karmakaze.strukt import Strukt
import requests
username = "AutoModerator"
response = requests.get(f"https://www.reddit.com/user/{username}/about.json").json()
klean = Klean() # Sanitises the data
strukt = Strukt() # Restructures the sanitised data
sanitised_data = klean.subreddit_or_user(response)
restructured_data = strukt.users(sanitised_data)
print(sanitised_data)
print(restructured_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.0.0.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for karmakaze-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1dd145b8f4cfa4599b342339805bdf3c4da5761f075bf5093d6db7710b77088 |
|
MD5 | 584cdc3e0b3aee526c716518b336a45c |
|
BLAKE2b-256 | af24d609ed1fb91e44606800330f981f775dcd50d1f17d06851a14efa699b039 |