Compare virtual staging entry plans with Python
A monthly price is useful for budgeting, and the included photo count tells you whether the plan covers the work. The data below comes from a StagingBench snapshot of public pricing pages checked in October and November 2026. The Python script compares billing periods, photo allowances, and listed USD costs per photo using the entry plan recorded for each tool.
Count the plans before filtering the data
Each tuple holds the tool ID, pricing model, currency, price, billing period, included photos, listed USD cost per photo, free tier indicator, and free output watermark status. Counter groups all 13 rows by their recorded billing period. Of those entry plans, 9 are monthly, 2 are labeled one-off, 1 is labeled one-time, and 1 is priced per photo. The pricing model can mention other purchase options. The billing period identifies which option the entry price describes.
Summarize the stated photo counts and rates
The script represents blanks as None and builds a separate list of present values for each measurement. T11 states monthly design credits, so its row stays in the billing count and contributes no value to either numeric summary. The 12 stated photo counts have a median of 30 and range from 1 to 100. With an even number of observations, statistics.median averages the two middle values. The middle photo counts are both 30.
The listed USD rates range from USD 0.23 to USD 3.26. The middle rates are USD 0.63 and USD 0.98, giving a median of USD 0.805. Dividing the maximum by the minimum gives about 14.17. The script shows the median to three decimal places to preserve that midpoint. T04, T07, and T13 have EUR entry prices, and their listed USD per photo rates were converted at an ECB exchange rate. The script summarizes the given rates without performing currency conversions.
Compare plans within one currency and billing period
The final loop selects USD monthly entry plans priced from USD 19 to USD 27 inclusive and prints the rows with both a photo count and a rate. T11 passes the currency, period, and price filter. Its missing photo count and rate keep it out of the printed comparison.
T01 and T12 each charge USD 19 per month. T01 includes 30 photos at USD 0.63 per photo, while T12 includes 60 at USD 0.32. T02 charges USD 27 for 60 photos at USD 0.45 per photo. T03 charges USD 25 for 20 photos at USD 1.25 per photo. Printing the bill, allowance, and rate together makes it possible to compare the payment and check coverage for a specific job in the same view.
from collections import Counter from statistics import median plans = [ ("T01", "subscription (credits)", "USD", 19, "month", 30, 0.63, "yes", True), ("T02", "subscription (credits)", "USD", 27, "month", 60, 0.45, "yes", True), ("T03", "subscription (credits)", "USD", 25, "month", 20, 1.25, "yes", False), ("T04", "subscription (credits)", "EUR", 29, "month", 100, 0.33, "yes", True), ("T05", "subscription (credits)", "USD", 12, "month", 30, 0.4, "yes", True), ("T06", "subscription or one-time pack", "USD", 9, "month", 4, 2.25, "yes", True), ("T07", "per listing (one-off) or subscription", "EUR", 29, "one-off", 10, 3.26, "yes", True), ("T08", "credit packs (no subscription)", "USD", 50, "one-time", 22, 2.27, "yes", False), ("T09", "subscription", "USD", 35, "month", 30, 1.17, "yes", True), ("T10", "subscription (credits) or one-off credit pack", "USD", 49, "one-off", 50, 0.98, "yes", True), ("T11", "subscription (monthly design credits)", "USD", 22, "month", None, None, "yes", None), ("T12", "subscription (renders per month), monthly or yearly", "USD", 19, "month", 60, 0.32, "yes", False), ("T13", "pay per edited photo (prepaid balance)", "EUR", 0.2, "per photo", 1, 0.23, "yes", False), ] period_counts = Counter(plan[4] for plan in plans) photos = [plan[5] for plan in plans if plan[5] is not None] usd_pp = [plan[6] for plan in plans if plan[6] is not None] print("Entry plans by billing period") for period in ("month", "one-off", "one-time", "per photo"): print(f"{period}: {period_counts[period]}") print(f"Plans with photos stated: {len(photos)} of {len(plans)}") print( f"Photos included: median {median(photos):g}, " f"min {min(photos)}, max {max(photos)}" ) print( f"USD per photo: median {median(usd_pp):.3f}, " f"min {min(usd_pp):.2f}, max {max(usd_pp):.2f}" ) print(f"Max/min USD per photo: {max(usd_pp) / min(usd_pp):.2f}x") print("USD monthly entry plans priced 19 to 27") for tool_id, _, currency, price, period, count, rate, _, _ in plans: if currency == "USD" and period == "month" and 19 <= price <= 27: if count is None or rate is None: continue print(f"{tool_id}: USD {price}/month, {count} photos, USD {rate:.2f}/photo") Expected output:
Entry plans by billing period month: 9 one-off: 2 one-time: 1 per photo: 1 Plans with photos stated: 12 of 13 Photos included: median 30, min 1, max 100 USD per photo: median 0.805, min 0.23, max 3.26 Max/min USD per photo: 14.17x USD monthly entry plans priced 19 to 27 T01: USD 19/month, 30 photos, USD 0.63/photo T02: USD 27/month, 60 photos, USD 0.45/photo T03: USD 25/month, 20 photos, USD 1.25/photo T12: USD 19/month, 60 photos, USD 0.32/photo 原文:https://www.a8q9.cn/en/article/compare-virtual-staging-entry-plans-with-python-acd72b.html