https://github.com/purarue/bleanser
my bleanser modules
https://github.com/purarue/bleanser
data
Last synced: 4 months ago
JSON representation
my bleanser modules
- Host: GitHub
- URL: https://github.com/purarue/bleanser
- Owner: purarue
- License: mit
- Created: 2022-08-30T13:02:55.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-22T04:50:02.000Z (over 1 year ago)
- Last Synced: 2024-11-22T05:26:07.580Z (over 1 year ago)
- Topics: data
- Language: Python
- Homepage: https://beepb00p.xyz/exobrain/projects/bleanser.html
- Size: 69.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Modules
Since these are to clean up data for my HPI modules, they require those to be installed, see my [HPI repo](https://github.com/purarue/HPI#install)
- `zsh` and `bash`, using the format I use from HPI. See the top of the files [on the HPI repo](https://github.com/purarue/HPI) for what those look like
- `ipython` using my HPI module to parse dt/command
- `activitywatch` for android activitywatch JSON dumps using [active_window](https://github.com/purarue/active_window/)
- `chess` (for `chess.com`/`lichess` dumps) using a custom JSON normaliser
- `discord` - **WARNING** see the top of [discord.py](src/bleanser_pura/modules/discord.py) for how this works and some caveats
- `trakt`, for [traktexport](https://github.com/purarue/traktexport) dumps
- `listenbrainz`, for [listenbrainz](https://github.com/purarue/listenbrainz_export)
- `mal_zips`: for [backup mal zips](https://github.com/purarue/malexport/#recover_deleted)
- `smscalls`, for [karlicoss SMSCalls](https://github.com/karlicoss/HPI/blob/master/my/smscalls.py) module (uses [SMS Backup & Restore](https://play.google.com/store/apps/details?id=com.riteshsahu.SMSBackupRestore&hl=en_US)) -- requires you to prune each type (`calls` and `sms` individually)
- rubiks cube history `cstimer` - backups of my server data, saved whenever I open the page by [cstimer-save-server](https://github.com/purarue/cstimer-save-server), twistytimer (phone app) backups using [scramble-history](https://github.com/purarue/scramble-history)
- `grouvee` exports using [`grouvee_export`](https://github.com/purarue/grouvee_export)
## Install
```bash
# install upstream bleanser
pip install git+https://github.com/karlicoss/bleanser
# clone/run stuff here
git clone https://github.com/purarue/bleanser
pip install ./bleanser
python3 -m bleanser_pura.modules....
```
See [`bleanser-runall`](./bin/bleanser-runall) for examples, example [`bleanser-runall -n`](https://gist.github.com/purarue/e97e4776181efcca2b19b0d7ffc1d0ed) (dry-run) output
`bin` includes some scripts that I add to my `$PATH` to make running bleanser scripts easier