elzoido<p>Sagt mal, <a href="https://chaos.social/tags/fedihelp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fedihelp</span></a> <a href="https://chaos.social/tags/fedihelp_de" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fedihelp_de</span></a>, ihr kennt euch doch sicherlich besser aus in <a href="https://chaos.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> als ich. Mal angenommen, ich lass ein Script regelmäßig (alle 30-60s) laufen. Das fragt eine API ab und bekommt so vmtl <=10x im Monat eine ID, die ich gerne persistent speichern will, ob sie schonmal gesehen wurde. Ne richtige DB scheint mir overkill, ein flaches json-File zu anfällig ggü Race Conditions. Ich denke an eine sqlite, aber evtl gibts da mir unbekannte Python-Magie?</p>