Code Monkey home page Code Monkey logo

hpi-personal's Introduction

These are personal modules and some of my personal scripts/jobs to save/backup data

  • my.old_forums, parses random forum posts and achievements from sites I used to use in the past, see old_forums
  • my.nextalbums, grabbing when I listened to music albums/my ratings using my giant spreadsheet. Handled by nextalbums export
  • my.location.where_db acts as a sort of entrypoint to consume my location data -- lets me query where I was on a day, reverse geocode (using Nominatim) lookup/query around a particular time

The most important parts of this are the all.py files, which override the default all.py in HPI to use my data sources:

For more info on those, see docs

Among the other custom scripts in scripts, includes:

  • discord-download-attachments - to download all of my discord attachments
  • last-gps-location, which quickly grabs my latest gpslogger gps location
  • a custom fzf Ctrl+R for my shell which searches all of my.zsh.history, see related files

Installation

Requires python3.10+

To install, first follow the instructions on my HPI repo

Then install this as editable:

# install my HPI
git clone https://github.com/seanbreckenridge/HPI-personal ./HPI-seanbreckenridge-personal
python3 -m pip install -e ./HPI-seanbreckenridge-personal

Jobs

jobs contains anacron-like jobs that are run periodically, using bgproc and evry. In other words, those are the scripts that back up my data.

I run the jobs in the background using supervisor, see here for my configuration, and/or run_jobs for the bgproc wrapper. They likely won't work out of the box for you, as they depend on tokens/environment variables that are set on my system - In particular the HPIDATA environment variable, which for me is ~/data -- they're here as examples if you're having issues setting up cron/scripts to backup the data

hpi-personal's People

Contributors

seanbreckenridge avatar

Watchers

 avatar

hpi-personal's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.