Rename to sigcal-bot
- package src/sigcal_bot, distribution and CLI sigcal-bot - environment variables SIGCAL_BOT_* - database file, container names, user agents, logs and QR device name - docs and changelog updated
This commit is contained in:
@@ -6,7 +6,7 @@ from __future__ import annotations
|
||||
from datetime import datetime, timezone
|
||||
from pathlib import Path
|
||||
|
||||
from signal_cal_bot.expand import parse_events
|
||||
from sigcal_bot.expand import parse_events
|
||||
|
||||
FIXTURE = Path(__file__).parent / "fixtures" / "tec-like.ics.txt"
|
||||
|
||||
|
||||
+2
-2
@@ -8,8 +8,8 @@ from pathlib import Path
|
||||
|
||||
import httpx
|
||||
|
||||
from signal_cal_bot.feed import Feed, FeedResponse, normalize_feed_url
|
||||
from signal_cal_bot.store import Store
|
||||
from sigcal_bot.feed import Feed, FeedResponse, normalize_feed_url
|
||||
from sigcal_bot.store import Store
|
||||
|
||||
NOW = datetime(2026, 11, 18, 12, 0, tzinfo=timezone.utc)
|
||||
EMPTY_FEED = b"BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//test//EN\r\nEND:VCALENDAR\r\n"
|
||||
|
||||
@@ -6,9 +6,9 @@ from __future__ import annotations
|
||||
from datetime import datetime, timezone
|
||||
from zoneinfo import ZoneInfo
|
||||
|
||||
from signal_cal_bot.config import FormatConfig
|
||||
from signal_cal_bot.expand import Event
|
||||
from signal_cal_bot.format import (
|
||||
from sigcal_bot.config import FormatConfig
|
||||
from sigcal_bot.expand import Event
|
||||
from sigcal_bot.format import (
|
||||
find_postcode,
|
||||
format_hashtags,
|
||||
format_time_range,
|
||||
|
||||
@@ -8,8 +8,8 @@ import io
|
||||
import httpx
|
||||
from PIL import Image
|
||||
|
||||
from signal_cal_bot.config import ImagesConfig
|
||||
from signal_cal_bot.images import ImageService
|
||||
from sigcal_bot.config import ImagesConfig
|
||||
from sigcal_bot.images import ImageService
|
||||
|
||||
|
||||
def make_service(tmp_path, **overrides) -> ImageService:
|
||||
|
||||
@@ -9,7 +9,7 @@ from zoneinfo import ZoneInfo
|
||||
|
||||
import httpx
|
||||
|
||||
from signal_cal_bot.config import (
|
||||
from sigcal_bot.config import (
|
||||
AnnounceConfig,
|
||||
CalendarConfig,
|
||||
Config,
|
||||
@@ -20,17 +20,17 @@ from signal_cal_bot.config import (
|
||||
SignalConfig,
|
||||
WatchdogConfig,
|
||||
)
|
||||
from signal_cal_bot.expand import Event
|
||||
from signal_cal_bot.feed import Feed, FeedResponse, normalize_feed_url
|
||||
from signal_cal_bot.scheduler import (
|
||||
from sigcal_bot.expand import Event
|
||||
from sigcal_bot.feed import Feed, FeedResponse, normalize_feed_url
|
||||
from sigcal_bot.scheduler import (
|
||||
Bot,
|
||||
clamp_send_at,
|
||||
in_window,
|
||||
next_window_start,
|
||||
reminder_time,
|
||||
)
|
||||
from signal_cal_bot.store import PageInfo, Store
|
||||
from signal_cal_bot.watchdog import Watchdog
|
||||
from sigcal_bot.store import PageInfo, Store
|
||||
from sigcal_bot.watchdog import Watchdog
|
||||
|
||||
LONDON = ZoneInfo("Europe/London")
|
||||
UTC = timezone.utc
|
||||
|
||||
Reference in New Issue
Block a user