{
  "id": 17642814,
  "title": "Double-Posting Gets Stock Accounts Flagged: upload_tracker.py Prevents It",
  "url": "https://urgent.news/2026/11/01/double-posting-gets-stock-accounts-flagged-upload-tracker-py-prevents",
  "topic": "finance",
  "section": "Finance & Markets",
  "published": "2026-11-01T17:12:18.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/revanzart/double-posting-gets-stock-accounts-flagged-uploadtrackerpy-prevents-it-588n"
  },
  "original_language": "en",
  "account": "Double-posting a batch of stock assets led to the creation of upload_tracker.py, a ledger that prevents duplicate submissions. This script uses only the standard library and has three commands: pending, done, and status. The pending command shows what has not been processed yet, the done command marks an asset as submitted, and the status command displays the current pending items. By marking assets as done after each successful submission, the risk of duplicate postings is significantly reduced. In addition to preventing duplicate submissions, the script also helps maintain correct metadata for each platform. The make_metadata.py script builds the exact headers required by each platform, ensuring that the CSV files meet their specific criteria. The scripts are designed to be simple, efficient, and easy to understand, with only two additional third-party packages (Pillow and reportlab) required for image and PDF handling. The kit, including these scripts, can help digital product sellers avoid account restrictions and maintain compliance with platform guidelines.",
  "summary": "Double-Posting Gets Stock Accounts Flagged: upload_tracker.py Prevents It I learned about double-posting the way most people do: the hard way. I had a batch of 40 assets, ran my upload script, watched it stall at file 23, killed it, and ran it again. The script, being dumb and honest, started from file 1. By the time I noticed, 23 files had been submitted twice in one afternoon. The account got…",
  "key_points": [
    "Double-posting stock assets created uploadtracker.py script",
    "Pending, done, and status commands manage asset submissions",
    "makemetadata.py builds platform-specific CSV file headers"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}