Skip to content

Instantly share code, notes, and snippets.

import os,sys,json,base64,csv,re,time
from io import BytesIO
from datetime import datetime,timezone
from pathlib import Path
TARGET_COUNT=700
IMG_DIR=Path.home()/"passive-income"/"cmgui-images"/"screenshot"
JSONL_PATH=Path.home()/".cache"/"huggingface"/"hub"/"datasets--alibabagroup--CMGUI"/"snapshots"/"bd62dc5652ba565341a8217398aa251cc5aca6d5"/"episode_annotation_train.jsonl"
OUTPUT_DIR=Path.home()/"passive-income"/"superapp-patterns"
ENV_FILE=Path.home()/"trading-bot"/".env"
CLAUDE_MODEL="claude-haiku-4-5-20251001"
import os,sys,json,base64,csv,re,time,zipfile
from io import BytesIO
from datetime import datetime,timezone
from pathlib import Path
TARGET_COUNT=1000
OUTPUT_DIR=Path.home()/"passive-income"/"superapp-patterns"
ENV_FILE=Path.home()/"trading-bot"/".env"
CLAUDE_MODEL="claude-haiku-4-5-20251001"
COST=0.003
HF_CACHE=Path.home()/".cache"/"huggingface"
import os,sys,json,base64,csv,re,time
from io import BytesIO
from datetime import datetime,timezone
from pathlib import Path
TARGET_COUNT=1000
OUTPUT_DIR=Path.home()/"passive-income"/"superapp-patterns"
ENV_FILE=Path.home()/"trading-bot"/".env"
DATASET_NAME="alibabagroup/CMGUI"
CLAUDE_MODEL="claude-haiku-4-5-20251001"
COST=0.003