Urgent.News

What's breaking now, across thousands of outlets.

Finance & Markets

The Four-Script Philosophy: How Fewer Tools Shipped 39 Stock Products

The night I lost three hours of work, I was on my third re-run of a batch upload. My CSV had the wrong column count for Vecteezy, four columns instead of the five I'd copy-pasted from an Adobe template, and every row got rejected. Then I fixed it, re-ran, and realized I had no idea which files from the previous attempt had actually gone through. I was about to double-post to Adobe, which is the…

The author experienced a critical loss of work due to an incorrect CSV column count in a batch upload, which led to the rejection of every row. This incident prompted the author to stop writing new tools and focus on deleting existing ones. Eventually, the author ended up with four scripts that packaged 39 finished products and consumed minimal resources on a server with 1 vCPU, 2 GB RAM, and no GPU.

The author learned that metadata issues are not creative problems but formatting ones, and that different platforms require different CSV header formats. To address this, the author created a script called make_metadata.py, which generates the exact header each platform demands without any additional formatting. The author also created upload_tracker.py to prevent double-posting by keeping track of submitted assets and ensuring that only pending files are uploaded.

The author also emphasized the importance of converting metadata to a sellable product, using two simple scripts, md2pdf.py and pack_product.py, to create styled PDFs and packaged zips with covers. By using a minimal server and adhering to strict folder layouts, the author was able to develop a robust pipeline that produced high-quality products with fewer tools.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Finance & Markets

Why Four Python Scripts Beat a Framework for Stock Asset Packaging

Last March I lost a whole evening to a CSV header. I had 40 vectors ready for Adobe Stock, I exported my metadata the way I thought it should look, hit upload, and the review check bounced the whole…

  • Four Python scripts streamline asset packaging process
  • Each script handles specific task: metadata, tracking, conversion, bundling
  • Minimal dependencies using standard library and Pillow/ReportLab

More from Thursday 5 November →