chore: update urls

This commit is contained in:
purarue 2024-10-25 09:39:00 -07:00 committed by karlicoss
parent a2b397ec4a
commit 7ab6f0d5cb
18 changed files with 38 additions and 38 deletions

View file

@ -1,5 +1,5 @@
"""
Parses active browser history by backing it up with [[http://github.com/seanbreckenridge/sqlite_backup][sqlite_backup]]
Parses active browser history by backing it up with [[http://github.com/purarue/sqlite_backup][sqlite_backup]]
"""
REQUIRES = ["browserexport", "sqlite_backup"]

View file

@ -1,5 +1,5 @@
"""
Parses browser history using [[http://github.com/seanbreckenridge/browserexport][browserexport]]
Parses browser history using [[http://github.com/purarue/browserexport][browserexport]]
"""
REQUIRES = ["browserexport"]

View file

@ -1,7 +1,7 @@
"""
Parses Google Takeout using [[https://github.com/seanbreckenridge/google_takeout_parser][google_takeout_parser]]
Parses Google Takeout using [[https://github.com/purarue/google_takeout_parser][google_takeout_parser]]
See [[https://github.com/seanbreckenridge/google_takeout_parser][google_takeout_parser]] for more information
See [[https://github.com/purarue/google_takeout_parser][google_takeout_parser]] for more information
about how to export and organize your takeouts
If the DISABLE_TAKEOUT_CACHE environment variable is set, this won't cache individual
@ -12,7 +12,7 @@ zip files of the exports, which are temporarily unpacked while creating
the cachew cache
"""
REQUIRES = ["git+https://github.com/seanbreckenridge/google_takeout_parser"]
REQUIRES = ["git+https://github.com/purarue/google_takeout_parser"]
import os
from collections.abc import Sequence
@ -36,7 +36,7 @@ from google_takeout_parser.merge import CacheResults, GoogleEventSet
from google_takeout_parser.models import BaseEvent
from google_takeout_parser.path_dispatch import TakeoutParser
# see https://github.com/seanbreckenridge/dotfiles/blob/master/.config/my/my/config/__init__.py for an example
# see https://github.com/purarue/dotfiles/blob/master/.config/my/my/config/__init__.py for an example
from my.config import google as user_config
@ -123,7 +123,7 @@ def events(disable_takeout_cache: bool = DISABLE_TAKEOUT_CACHE) -> CacheResults:
else:
results = exit_stack.enter_context(match_structure(path, expected=EXPECTED, partial=True))
for m in results:
# e.g. /home/sean/data/google_takeout/Takeout-1634932457.zip") -> 'Takeout-1634932457'
# e.g. /home/username/data/google_takeout/Takeout-1634932457.zip") -> 'Takeout-1634932457'
# means that zipped takeouts have nice filenames from cachew
cw_id, _, _ = path.name.rpartition(".")
# each takeout result is cached as well, in individual databases per-type

View file

@ -3,10 +3,10 @@ An example all.py stub module that provides ip data
To use this, you'd add IP providers that yield IPs to the 'ips' function
For an example of how this could be used, see https://github.com/seanbreckenridge/HPI/tree/master/my/ip
For an example of how this could be used, see https://github.com/purarue/HPI/tree/master/my/ip
"""
REQUIRES = ["git+https://github.com/seanbreckenridge/ipgeocache"]
REQUIRES = ["git+https://github.com/purarue/ipgeocache"]
from collections.abc import Iterator

View file

@ -1,5 +1,5 @@
"""
Provides location/timezone data from IP addresses, using [[https://github.com/seanbreckenridge/ipgeocache][ipgeocache]]
Provides location/timezone data from IP addresses, using [[https://github.com/purarue/ipgeocache][ipgeocache]]
"""
from my.core import __NOT_HPI_MODULE__ # isort: skip

View file

@ -2,7 +2,7 @@
Converts IP addresses provided by my.location.ip to estimated locations
"""
REQUIRES = ["git+https://github.com/seanbreckenridge/ipgeocache"]
REQUIRES = ["git+https://github.com/purarue/ipgeocache"]
from dataclasses import dataclass
from datetime import timedelta

View file

@ -2,7 +2,7 @@
Extracts locations using google_takeout_parser -- no shared code with the deprecated my.location.google
"""
REQUIRES = ["git+https://github.com/seanbreckenridge/google_takeout_parser"]
REQUIRES = ["git+https://github.com/purarue/google_takeout_parser"]
from collections.abc import Iterator

View file

@ -5,7 +5,7 @@ Extracts semantic location history using google_takeout_parser
# This is a separate module to prevent ImportError and a new config block from breaking
# previously functional my.location.google_takeout locations
REQUIRES = ["git+https://github.com/seanbreckenridge/google_takeout_parser"]
REQUIRES = ["git+https://github.com/purarue/google_takeout_parser"]
from collections.abc import Iterator
from dataclasses import dataclass

View file

@ -1,4 +1,4 @@
REQUIRES = ["git+https://github.com/seanbreckenridge/ipgeocache"]
REQUIRES = ["git+https://github.com/purarue/ipgeocache"]
from my.core.warnings import high

View file

@ -1,11 +1,11 @@
"""
Gives you access to older comments possibly not accessible with rexport
using pushshift
See https://github.com/seanbreckenridge/pushshift_comment_export
See https://github.com/purarue/pushshift_comment_export
"""
REQUIRES = [
"git+https://github.com/seanbreckenridge/pushshift_comment_export",
"git+https://github.com/purarue/pushshift_comment_export",
]
from dataclasses import dataclass
@ -21,7 +21,7 @@ from my.core.cfg import make_config
@dataclass
class pushshift_config(uconfig.pushshift):
'''
Uses [[https://github.com/seanbreckenridge/pushshift_comment_export][pushshift]] to get access to old comments
Uses [[https://github.com/purarue/pushshift_comment_export][pushshift]] to get access to old comments
'''
# path[s]/glob to the exported JSON data