<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Prashanth sams</title>
    <description>The latest articles on DEV Community by Prashanth sams (@prashanthsams).</description>
    <link>https://dev.to/prashanthsams</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4159720%2F9b910136-4c8e-4e82-b9bf-de4d8be00701.png</url>
      <title>DEV Community: Prashanth sams</title>
      <link>https://dev.to/prashanthsams</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/prashanthsams"/>
    <language>en</language>
    <item>
      <title>How I rank 250 countries for every month of the year</title>
      <dc:creator>Prashanth sams</dc:creator>
      <pubDate>Sat, 07 Nov 2026 20:18:30 +0000</pubDate>
      <link>https://dev.to/prashanthsams/how-i-rank-250-countries-for-every-month-of-the-year-1840</link>
      <guid>https://dev.to/prashanthsams/how-i-rank-250-countries-for-every-month-of-the-year-1840</guid>
      <description>&lt;p&gt;PickOH, the travel site I run, has twelve ranking pages, one per month. &lt;a href="https://pickoh.com/where-to-go/august" rel="noopener noreferrer"&gt;Where to Go in August&lt;/a&gt; currently lists 62 countries and territories, from Malawi at #1 to Svalbard at #62. Nobody orders them by hand. A scoring formula and one Postgres query build all twelve pages from 30 years of climate data.&lt;/p&gt;

&lt;p&gt;This post covers how the ranking works, the bug that gave four countries the same #1, and what happened when each assumption in the formula was tested.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsrlbfrl8u2szhcu04j8c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsrlbfrl8u2szhcu04j8c.png" alt="The Where to Go in August page: a grid of photo cards ranked #1 to #8, starting with Malawi, Peru, Zambia and Zimbabwe. Each card shows the day high, rainfall, rain days, night low and the country's other best month." width="800" height="472"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The data: one point per country, 30 years deep
&lt;/h2&gt;

&lt;p&gt;Each of the 250 countries and territories has twelve rows in Postgres, one per month: average daily high, average daily low, total rainfall and rain days. The numbers are 1991–2020 climate normals from the ERA5 reanalysis, fetched through &lt;a href="https://open-meteo.com/en/docs/historical-weather-api" rel="noopener noreferrer"&gt;Open-Meteo's archive API&lt;/a&gt;. Each one is measured at a single location, usually the capital.&lt;/p&gt;

&lt;p&gt;Fetching it mostly took patience: 30-year requests use up Open-Meteo's free quota quickly, so the backfill had to cache and resume per location. Auditing the result was the harder job:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ten places, including Finland, Iceland and Russia, shared one identical placeholder temperature curve that peaked in April.&lt;/li&gt;
&lt;li&gt;Sixteen large countries stored temperatures from the wrong region: the Sahara for Algeria, the Andes for Peru, the outback for Australia, Mumbai for India. Their rainfall and coordinates described the capital, so each row was describing two places at once.&lt;/li&gt;
&lt;li&gt;Checking every remaining location against ERA5 found 32 more like that.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The fix came down to one rule: temperature, rain and coordinates must all describe the same place. Bolivia stayed as it was, because ERA5 misreads the sharp relief around La Paz and the stored curve already matched the real city.&lt;/p&gt;

&lt;h2&gt;
  
  
  The score
&lt;/h2&gt;

&lt;p&gt;Every month of every country gets a penalty score. Lower is better, and 0 is a perfect month.&lt;/p&gt;

&lt;p&gt;The temperature penalty is the number of degrees the average daily high sits outside 18–26°C. The rain penalty treats 25 mm of monthly rain as one degree of discomfort. A month at 30°C with 50 mm of rain scores 4 + 2 = 6.&lt;/p&gt;

&lt;p&gt;A country's two lowest-scoring months become its picks. Exact ties go to the drier month, then the earlier one.&lt;/p&gt;

&lt;p&gt;Why two? &lt;a href="https://pickoh.com/community/jordan/weather" rel="noopener noreferrer"&gt;Jordan&lt;/a&gt; is a good example:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpwfmg38aka1b97072xnm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpwfmg38aka1b97072xnm.png" alt="Stacked column chart of Jordan's monthly score. Winter months score 4 to 5, mostly from cool temperatures with some rain. June to September score 4 to 10, almost entirely from heat. The two lowest months are October at 0.30 and April at 0.44." width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Amman is cool and damp in winter, then dry but hitting 33–36°C in summer. The good months sit between those seasons, so the picks land in October and April. A single best month would hide one of them.&lt;/p&gt;

&lt;p&gt;That shape is common. 64 of the 250 have picks that aren't consecutive months, and for 10 of them, including &lt;a href="https://pickoh.com/community/china/weather" rel="noopener noreferrer"&gt;China&lt;/a&gt;, the two picks are exactly six months apart.&lt;/p&gt;

&lt;p&gt;Temperature alone wouldn't be enough. 135 countries have three or more months inside the band, which would leave those months tied at zero. &lt;a href="https://pickoh.com/community/colombia/weather" rel="noopener noreferrer"&gt;Colombia&lt;/a&gt; is the extreme case: Bogotá's average high stays between 18 and 20°C all year, so rain alone picks August and September.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two stages, not one sort
&lt;/h2&gt;

&lt;p&gt;The obvious design is to sort all 250 by each month's score. The pages do something different:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Qualify.&lt;/strong&gt; A country appears on a month's page only if that month is one of its own two picks. This compares a country with itself.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Order.&lt;/strong&gt; The qualifiers are sorted by raw score. This compares countries with each other.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So August's page means "places at their best in August", not "the mildest places on Earth in August". A plain sort answers the second question, and the answer barely changes: Saint Helena would make the top ten in 11 months of the year, and every page would be 250 entries long.&lt;/p&gt;

&lt;p&gt;Because qualifying is relative, places that are never pleasant still get two months. 92 of the 250 never have a month inside the band. &lt;a href="https://pickoh.com/community/iceland/weather" rel="noopener noreferrer"&gt;Iceland&lt;/a&gt; peaks at 14.5°C in July, and both of &lt;a href="https://pickoh.com/community/antarctica/weather" rel="noopener noreferrer"&gt;Antarctica's&lt;/a&gt; best months are below freezing. Stage two handles them: Iceland is #52 of 60 for July, and Antarctica is #41 of 41 for December.&lt;/p&gt;

&lt;p&gt;Both stages run in a single Postgres query per page. The same query finds each country's other pick, which becomes the "Also great in July" line on its card.&lt;/p&gt;

&lt;h2&gt;
  
  
  The bug: four countries at #1
&lt;/h2&gt;

&lt;p&gt;The page position originally used competition ranking, where tied entries share a number. Malawi, Peru, Zambia and Zimbabwe all round to a score of 0.0 for August, so the cards read #1, #1, #1, #1, #5. The database was doing exactly what it was asked to do, and the page still looked broken.&lt;/p&gt;

&lt;p&gt;Switching to a simple running count over the same order fixed it. The rounding stayed, so countries with effectively identical weather fall alphabetically instead of being separated by differences no traveller would notice.&lt;/p&gt;

&lt;h2&gt;
  
  
  One formula, three copies
&lt;/h2&gt;

&lt;p&gt;Each country's Weather tab shows the same picks, with the two months marked in gold and green:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnr9bbiouotfckh03na07.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnr9bbiouotfckh03na07.png" alt="The Weather tab for Jordan: a monthly climate chart with April in green and October in gold, above two cards naming October the top pick and April the second best month." width="800" height="677"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That creates a maintenance problem, because the scoring logic exists in three places:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;TypeScript in the browser, for those Weather tab badges&lt;/li&gt;
&lt;li&gt;SQL, for the month pages&lt;/li&gt;
&lt;li&gt;TypeScript on the server, for the best-month text in server-rendered HTML&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Comments say to change them together, and a unit test pins the key parts of the query. Neither proves they agree. So for this post, an independent Python version of the score was run on every country's twelve months from the live API and compared with all twelve ranking pages: 250 countries, 500 picks, 0 mismatches.&lt;/p&gt;

&lt;p&gt;That check isn't in CI, which is the weak spot. A shared fixture that all three implementations have to pass would close it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which assumption matters most?
&lt;/h2&gt;

&lt;p&gt;The 25 mm constant and the 18–26°C band are both judgement calls. To see how much each one matters, the picks were recalculated with different values, counting how many countries' top month changed:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhh0qof4482ktt4y35gwr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhh0qof4482ktt4y35gwr.png" alt="Horizontal bar chart of the share of countries whose top month changes. Widening the band to 18–30°C changes 29%, moving it 2° warmer 24%, moving it 2° cooler 22%, removing rain 21%, doubling rain 11%, halving rain 7%, using 20 mm per point 3%, and using 30 mm per point 2%." width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The rain constant is stable. Moving it to 20 or 30 mm changes 2–3% of top picks, and doubling or halving it changes 7–11%. Removing rain altogether changes 21%, even with the drier month still winning ties.&lt;/p&gt;

&lt;p&gt;The comfort band is the strongest opinion in the model. Sliding it 2°C either way changes 22–24% of top picks, and stretching the top to 30°C changes 29%. Someone planning a beach holiday would want a warmer band and would get a noticeably different list. The band is already a parameter, so a personal comfort setting wouldn't need new scoring logic.&lt;/p&gt;

&lt;h2&gt;
  
  
  The year isn't evenly spread
&lt;/h2&gt;

&lt;p&gt;Each country gets two picks, but they don't land evenly across the calendar:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdasb1nmlbmyygi787zs7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdasb1nmlbmyygi787zs7.png" alt="Stacked column chart of picks per month by climate zone. February has 65, August 62 and July 60, while April has 24 and November 17. Tropical countries dominate January, February, July and August. Countries north of the tropics dominate April, May, September and October." width="800" height="432"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The February and August peaks come mostly from the tropics, where the dry season flips across the equator. In January and February, 89 of the 90 tropical picks come from north of the equator. By July and August, 52 of 71 come from south of it. Countries north of the tropics cluster around May and September, either side of the summer heat.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the score can't see
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cloud.&lt;/strong&gt; &lt;a href="https://pickoh.com/community/peru/weather" rel="noopener noreferrer"&gt;Peru&lt;/a&gt; is #2 for August: 21°C and under 1 mm of rain in Lima. The score is nearly perfect, but Lima's winter is known for grey skies and garúa, a coastal mist that barely registers as rain.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Humidity.&lt;/strong&gt; Only the daily high counts, so a sticky 30°C scores the same as a dry one. Night lows and rain days appear on the cards but aren't scored.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Geography.&lt;/strong&gt; One point stands in for a whole country. China's picks are Beijing's, which says nothing about tropical Hainan.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Grid resolution.&lt;/strong&gt; ERA5 uses a 0.25° grid, roughly 25 km. Tokyo's stored August high is 27°C, while published climate tables put it near 30°C. At 30°C, August would drop out of Japan's top two and April would replace it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Good months that miss the cut.&lt;/strong&gt; Greece's October scores 1.10, which would place it around #7 on October's page, but it isn't listed because May and September score better. Across the year, 193 of the 408 country-months scoring 2 or better don't appear on any page. It's also why page length says little about how many good options exist: November lists 17 countries while 31 score that well, and July lists 60 while only 23 do.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The ranking has to exist in the HTML too
&lt;/h2&gt;

&lt;p&gt;The month pages are React, and the browser fetches the ranking after load. Early on, &lt;code&gt;curl&lt;/code&gt; on a month page found zero &lt;code&gt;&amp;lt;a href&amp;gt;&lt;/code&gt; tags, so anything that didn't run JavaScript saw no ranking and no links.&lt;/p&gt;

&lt;p&gt;The server now loads the same ranking and renders it as plain anchors in the initial HTML. Between them, the twelve pages link every country's weather page. Three details matter:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The server-rendered list has to match what the page shows, in the same order. Anything else is cloaking.&lt;/li&gt;
&lt;li&gt;If the query fails, the page still renders without its links rather than returning an error.&lt;/li&gt;
&lt;li&gt;The bare &lt;code&gt;/where-to-go&lt;/code&gt; URL answers with a &lt;code&gt;302&lt;/code&gt; and &lt;code&gt;Cache-Control: no-store&lt;/code&gt;, because its target changes every month.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  All twelve months
&lt;/h2&gt;

&lt;p&gt;Here is every page, with the number of countries that qualify:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pickoh.com/where-to-go/january" rel="noopener noreferrer"&gt;January&lt;/a&gt; (50) · &lt;a href="https://pickoh.com/where-to-go/february" rel="noopener noreferrer"&gt;February&lt;/a&gt; (65) · &lt;a href="https://pickoh.com/where-to-go/march" rel="noopener noreferrer"&gt;March&lt;/a&gt; (28) · &lt;a href="https://pickoh.com/where-to-go/april" rel="noopener noreferrer"&gt;April&lt;/a&gt; (24) · &lt;a href="https://pickoh.com/where-to-go/may" rel="noopener noreferrer"&gt;May&lt;/a&gt; (44) · &lt;a href="https://pickoh.com/where-to-go/june" rel="noopener noreferrer"&gt;June&lt;/a&gt; (36) · &lt;a href="https://pickoh.com/where-to-go/july" rel="noopener noreferrer"&gt;July&lt;/a&gt; (60) · &lt;a href="https://pickoh.com/where-to-go/august" rel="noopener noreferrer"&gt;August&lt;/a&gt; (62) · &lt;a href="https://pickoh.com/where-to-go/september" rel="noopener noreferrer"&gt;September&lt;/a&gt; (45) · &lt;a href="https://pickoh.com/where-to-go/october" rel="noopener noreferrer"&gt;October&lt;/a&gt; (28) · &lt;a href="https://pickoh.com/where-to-go/november" rel="noopener noreferrer"&gt;November&lt;/a&gt; (17) · &lt;a href="https://pickoh.com/where-to-go/december" rel="noopener noreferrer"&gt;December&lt;/a&gt; (41)&lt;/p&gt;

&lt;p&gt;If you were adding one more term to the score, would it be cloud cover or humidity? I'd like to hear how you'd weight it.&lt;/p&gt;

</description>
      <category>datascience</category>
      <category>algorithms</category>
      <category>webdev</category>
      <category>showdev</category>
    </item>
    <item>
      <title>Free Social, Travel Map, Trip Planner &amp; Where-to-Go Guide</title>
      <dc:creator>Prashanth sams</dc:creator>
      <pubDate>Tue, 06 Oct 2026 18:27:05 +0000</pubDate>
      <link>https://dev.to/prashanthsams/free-social-travel-map-trip-planner-where-to-go-guide-ajp</link>
      <guid>https://dev.to/prashanthsams/free-social-travel-map-trip-planner-where-to-go-guide-ajp</guid>
      <description>&lt;p&gt;&lt;strong&gt;Find the best places to visit in any month, check the best time to visit 250 destinations, plan trips day by day, and map every country you've been to, all in one free platform.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9tnbxfxsbmc3z6bqev47.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9tnbxfxsbmc3z6bqev47.png" alt="PickOH cover: Where to next? A travel map of visited countries and a Where to Go in July card for Namibia" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You've got a week off in July. Where should you go?&lt;/p&gt;

&lt;p&gt;For most of us, answering that question takes a dozen browser tabs. A weather site. Three "best places to visit in July" lists that disagree with each other. A forum thread from years ago. A spreadsheet for the budget, a notes app full of saved places, and a scratch map on the wall that still doesn't know about last year's trip.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://pickoh.com" rel="noopener noreferrer"&gt;PickOH&lt;/a&gt; brings those tabs together.&lt;/strong&gt; It's a free travel platform that helps you decide where to go, plan the trip day by day, and keep a map of everywhere you've been.&lt;/p&gt;

&lt;p&gt;Here's what you can do with it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Find where to go in any month&lt;/strong&gt;, with destinations ranked on 30 years of climate data&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check the best time to visit&lt;/strong&gt; 250 countries and territories, month by month&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Explore a community for every country&lt;/strong&gt;, with quick facts, top places and travel tips&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Plan trips day by day&lt;/strong&gt;, with maps, routes, budgets, shared costs and packing lists&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Map every country you've visited&lt;/strong&gt;, pinned in the order you went&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Earn points and levels&lt;/strong&gt; as you add trips and help other travellers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every feature is free, and you don't need a credit card to sign up.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Start with when: where to go in any month
&lt;/h2&gt;

&lt;p&gt;Sometimes you know &lt;em&gt;when&lt;/em&gt; you can travel long before you know &lt;em&gt;where&lt;/em&gt;. That's what &lt;a href="https://pickoh.com/where-to-go" rel="noopener noreferrer"&gt;Where to Go&lt;/a&gt; is for.&lt;/p&gt;

&lt;p&gt;Pick a month, and PickOH lists every destination where that month is one of its two best months to visit. Each card shows the average daytime high, night low, monthly rainfall and number of rainy days, plus the destination's other great month.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Funpfprk8vq9d1smkq0vp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Funpfprk8vq9d1smkq0vp.png" alt="PickOH Where to Go in July page listing Namibia, Peru, Zambia and Zimbabwe with day highs, rainfall and rain days" width="800" height="631"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Where to Go in July: 60 destinations where July is one of the two best months to visit. Sort them by best match, warmest or driest.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Open July, for example, and southern Africa fills the top of the list. Namibia, Zambia, Zimbabwe, Botswana and South Africa are all in the top six, with Peru at number two. Namibia leads with 23°C days and almost no rain, in the heart of the region's dry season.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How the ranking works.&lt;/strong&gt; PickOH scores every month with a simple rule. It counts how many degrees the average daytime high sits outside a comfortable 18–26°C band, then adds a penalty for rain, where about 25 mm of monthly rain counts the same as 1°C of discomfort. The two lowest-scoring months become a destination's &lt;strong&gt;Top pick&lt;/strong&gt; and &lt;strong&gt;2nd Best&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The figures are 1991–2020 climate averages from ERA5 reanalysis data, via Open-Meteo. They describe a typical year, not a forecast, which makes them useful for planning months ahead.&lt;/p&gt;

&lt;p&gt;Browse by month: &lt;a href="https://pickoh.com/where-to-go/january" rel="noopener noreferrer"&gt;January&lt;/a&gt; · &lt;a href="https://pickoh.com/where-to-go/february" rel="noopener noreferrer"&gt;February&lt;/a&gt; · &lt;a href="https://pickoh.com/where-to-go/march" rel="noopener noreferrer"&gt;March&lt;/a&gt; · &lt;a href="https://pickoh.com/where-to-go/april" rel="noopener noreferrer"&gt;April&lt;/a&gt; · &lt;a href="https://pickoh.com/where-to-go/may" rel="noopener noreferrer"&gt;May&lt;/a&gt; · &lt;a href="https://pickoh.com/where-to-go/june" rel="noopener noreferrer"&gt;June&lt;/a&gt; · &lt;a href="https://pickoh.com/where-to-go/july" rel="noopener noreferrer"&gt;July&lt;/a&gt; · &lt;a href="https://pickoh.com/where-to-go/august" rel="noopener noreferrer"&gt;August&lt;/a&gt; · &lt;a href="https://pickoh.com/where-to-go/september" rel="noopener noreferrer"&gt;September&lt;/a&gt; · &lt;a href="https://pickoh.com/where-to-go/october" rel="noopener noreferrer"&gt;October&lt;/a&gt; · &lt;a href="https://pickoh.com/where-to-go/november" rel="noopener noreferrer"&gt;November&lt;/a&gt; · &lt;a href="https://pickoh.com/where-to-go/december" rel="noopener noreferrer"&gt;December&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Weather is only one part of the decision. Check entry requirements, costs and current travel advice before you book.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Check the best time to visit, month by month
&lt;/h2&gt;

&lt;p&gt;Already have a destination in mind? Every country and territory on PickOH has a weather page that answers the question "When should I go?"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F220ysd5ezc5fi8s49mxb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F220ysd5ezc5fi8s49mxb.png" alt="Best time to visit Thailand on PickOH: monthly rainfall and temperature chart with December and January as the best months" width="799" height="566"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Thailand's weather page picks December and January, and shows why.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Each page charts rainfall and average highs across all 12 months and explains its two picks in plain language. It ends with a table of lows, highs, how each month feels and how many rainy days to expect. It also tells you where the numbers are measured, usually the capital or the main city travellers visit.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pickoh.com/community/thailand/weather" rel="noopener noreferrer"&gt;Thailand's page&lt;/a&gt;, for example, picks December and January. December brings 30°C days and about 10 mm of rain over two rainy days. September, the wettest month, averages around 240 mm of rain over 26 rainy days.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Get to know a destination through its community
&lt;/h2&gt;

&lt;p&gt;Weather tells you &lt;em&gt;when&lt;/em&gt; to go. A destination's community page helps you understand what a visit could involve.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhu8fszwq1rvhn7bggn83.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhu8fszwq1rvhn7bggn83.png" alt="PickOH Thailand travel community page with country facts and top places to visit, including Bangkok, Chiang Mai and Phuket" width="800" height="562"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Every country community starts with quick facts and a ranked list of top places to visit.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Each of the 250 countries and territories on PickOH has a &lt;a href="https://pickoh.com/community" rel="noopener noreferrer"&gt;community page&lt;/a&gt; with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Quick facts:&lt;/strong&gt; population, area, local time and capital&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Top Places:&lt;/strong&gt; a ranked list of places to visit, each with a short description&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Explore:&lt;/strong&gt; regions to dig into&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Posts:&lt;/strong&gt; questions, travel tips, recommendations and itineraries shared by travellers&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Travel Tips:&lt;/strong&gt; members' tips gathered into one summary&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weather:&lt;/strong&gt; the month-by-month guide from the previous section&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The communities are new, so many are still waiting for their first post. If you know a country well, your tip could be the first thing its next visitor reads.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Plan the trip, day by day
&lt;/h2&gt;

&lt;p&gt;Once you've picked a destination, the itinerary planner turns your ideas into a plan. Create a trip with your destination, dates, number of travellers, travel style and budget, then build it one day at a time.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5irxl2umlm34o59l4w5e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5irxl2umlm34o59l4w5e.png" alt="PickOH itinerary planner showing day 1 of a 7-day Japan trip with a timeline, a route map of Tokyo and a route summary" width="800" height="562"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Day 1 of a sample 7-day Japan trip: stops on a timeline, the route on a map, and the distance and travel time between stops.&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Build each day&lt;/strong&gt; by adding stops to time slots: sights, restaurants, activities and places to stay.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Add travel legs&lt;/strong&gt; by air, rail, road or water. You can look up flights by flight number.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;See the route on a map&lt;/strong&gt;, with distances and travel times between stops. &lt;em&gt;Find Shortest Route&lt;/em&gt; reorders a day's stops for you.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Catch problems early.&lt;/strong&gt; PickOH flags overlapping stops, unrealistic travel times and overpacked days.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Start from a draft.&lt;/strong&gt; &lt;em&gt;Plan it with AI&lt;/em&gt; builds a first version from Wikivoyage travel guides and OpenStreetMap: one area per day, about four sights plus lunch and dinner, saved as a private draft for you to edit.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The money side lives in the same place.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fd9udgwbl7zr7hy4lmi9i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fd9udgwbl7zr7hy4lmi9i.png" alt="PickOH trip budget planner with planned cost against budget, spending by category and a daily spending chart" width="800" height="562"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The Budget tab for the same sample trip compares planned spending with the budget, by category and by day.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;Budget&lt;/strong&gt; tab totals your costs in one trip currency, converted at today's rate, and compares them with your budget. &lt;strong&gt;Split Costs&lt;/strong&gt; divides shared expenses equally, by exact amounts, by percentage or by shares, and shows who needs to settle up. The &lt;strong&gt;Packing List&lt;/strong&gt; combines a shared group list, a private list and a smart packing list. &lt;strong&gt;Document&lt;/strong&gt; turns the whole plan into text you can copy and share, or a PDF you can download.&lt;/p&gt;

&lt;p&gt;Planning with friends? Invite friends who follow you back as collaborators. You all edit the same plan, changes sync live, and every trip has its own chat. Trips stay private until you choose to share them, and once you do, other travellers can clone your plan and make it their own.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Map every country you've visited
&lt;/h2&gt;

&lt;p&gt;After the trip comes the part many of us love most: remembering it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fy40nyj28vfarmh05vh32.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fy40nyj28vfarmh05vh32.png" alt="PickOH travel map with 24 visited countries pinned in order, connected by travel paths, next to a trip timeline" width="800" height="562"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;A demo travel map: 24 countries, pinned in the order they were visited.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Add the countries you've visited, with dates, and PickOH pins each one on your travel map with its flag, numbered in the order you went. Repeat visits count, too. Your &lt;strong&gt;Trip Timeline&lt;/strong&gt; shows how much of the world you've explored, out of 195 countries, and &lt;strong&gt;Play Journey&lt;/strong&gt; replays your travels across the map, trip by trip.&lt;/p&gt;

&lt;p&gt;You can also share the places you loved as &lt;strong&gt;attractions&lt;/strong&gt;, with photos and your own rating, for other travellers to like, comment on and save. And when someone else's find catches your eye, save it to your &lt;strong&gt;bucket list&lt;/strong&gt; for a future trip.&lt;/p&gt;

&lt;p&gt;Each country also gets a page of its own for trip costs, photos, the hotels you stayed in, videos from YouTube, TikTok or Vimeo, and your memories. &lt;strong&gt;Analytics&lt;/strong&gt; turns it all into travel insights: countries and continents covered, how many years your travels span, your most active year, and how many countries you visited each year.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Earn points and level up
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm8ezrvhx7iph0vq4ozl3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm8ezrvhx7iph0vq4ozl3.png" alt="PickOH levels, from Level 1 New Explorer to Level 30 PickOH Titan" width="799" height="350"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;PickOH rewards the things that make it more useful for everyone. You earn points for adding a country (+20), planning an itinerary (+15) and sharing a travel tip (+10), and you earn more when other travellers save your places or clone your itineraries.&lt;/p&gt;

&lt;p&gt;Points unlock 30 levels, from &lt;strong&gt;New Explorer&lt;/strong&gt; to &lt;strong&gt;PickOH Titan&lt;/strong&gt;. A leaderboard ranks travellers by points this week, this month and of all time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bonus: PickOH in your browser
&lt;/h2&gt;

&lt;p&gt;If you use Firefox, two free add-ons put PickOH's climate data in your toolbar. &lt;a href="https://addons.mozilla.org/firefox/addon/where-to-go-by-pickoh/" rel="noopener noreferrer"&gt;Where to Go — by PickOH&lt;/a&gt; shows the best countries to visit this month, or any month. &lt;a href="https://addons.mozilla.org/firefox/addon/weather-trends-for-travel/" rel="noopener noreferrer"&gt;Weather Trends for Travel&lt;/a&gt; shows month-by-month climate for countries worldwide and lets you compare two places side by side.&lt;/p&gt;

&lt;h2&gt;
  
  
  More than a holiday picker
&lt;/h2&gt;

&lt;p&gt;Making travel information easier to explore does more than settle where to spend a week off.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;You travel at the right time.&lt;/strong&gt; Visiting a place in its best months means more good-weather days for what you came to see.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You look beyond the usual shortlist.&lt;/strong&gt; Monthly rankings put lesser-known places next to famous ones. July's top ten includes Madagascar, Mozambique and Eswatini alongside South Africa and Peru.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You learn from people who've been there.&lt;/strong&gt; Community questions and tips turn one traveller's experience into knowledge everyone can use.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You remember every trip.&lt;/strong&gt; In PickOH's own words: "We believe every trip — whether across the street or across the globe — deserves to be remembered."&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Get started in three steps
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Create a free account&lt;/strong&gt; at &lt;a href="https://pickoh.com/signup" rel="noopener noreferrer"&gt;pickoh.com&lt;/a&gt;, or continue with Google.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Add the countries you've visited&lt;/strong&gt; and watch your travel map fill in.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open &lt;a href="https://pickoh.com/where-to-go" rel="noopener noreferrer"&gt;Where to Go&lt;/a&gt;&lt;/strong&gt; for your next free month, then turn your favourite destination into an itinerary.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Frequently asked questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Is PickOH free?
&lt;/h3&gt;

&lt;p&gt;Yes. Every feature is free: the travel map, attractions, bucket list, itinerary planner, communities and analytics. You don't need a credit card to sign up.&lt;/p&gt;

&lt;h3&gt;
  
  
  How does PickOH decide where to go each month?
&lt;/h3&gt;

&lt;p&gt;It scores each month's 1991–2020 climate averages by how far the average daytime high sits outside 18–26°C, plus a rain penalty (about 25 mm of rain counts as 1°C). Each destination's two best-scoring months become its Top pick and 2nd Best. Each month's page lists every destination that has that month in its top two.&lt;/p&gt;

&lt;h3&gt;
  
  
  Do I need an account?
&lt;/h3&gt;

&lt;p&gt;No account is needed to browse Where to Go, the weather pages or the country communities. You need a free account to map your travels, keep a bucket list, plan itineraries and post in communities.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can I plan a trip with friends?
&lt;/h3&gt;

&lt;p&gt;Yes. Invite friends who follow you back as collaborators. You edit the same plan together, changes sync live, every trip has its own chat, and Split Costs works out who owes what.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can I keep my travels private?
&lt;/h3&gt;

&lt;p&gt;Yes. Turn on Private Account in Settings → Privacy, and only followers you approve can see your travel timeline, attractions and itineraries. Your bucket list is always private, and new itineraries stay private until you share them.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is the weather data a forecast?
&lt;/h3&gt;

&lt;p&gt;No. It's long-run climate averages, which describe a typical year and are useful for planning months ahead. Any particular year can differ.&lt;/p&gt;

&lt;h2&gt;
  
  
  So, where to next?
&lt;/h2&gt;

&lt;p&gt;Your next trip doesn't have to start with a dozen tabs. Pick a month on &lt;a href="https://pickoh.com/where-to-go" rel="noopener noreferrer"&gt;Where to Go&lt;/a&gt;, find a place that fits, and plan it on &lt;a href="https://pickoh.com" rel="noopener noreferrer"&gt;PickOH&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdrmdfwatze1o3adm5i1h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdrmdfwatze1o3adm5i1h.png" alt="Start free at pickoh.com: find where to go, plan the trip day by day and map every country you've visited" width="800" height="339"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Which country is next on your list? Tell me in the comments.&lt;/strong&gt; 🌍&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pickoh.com" rel="noopener noreferrer"&gt;PickOH&lt;/a&gt; · &lt;a href="https://pickoh.com/where-to-go" rel="noopener noreferrer"&gt;Where to Go&lt;/a&gt; · &lt;a href="https://pickoh.com/community" rel="noopener noreferrer"&gt;Explore communities&lt;/a&gt; · &lt;a href="https://pickoh.com/about" rel="noopener noreferrer"&gt;About PickOH&lt;/a&gt; · &lt;a href="https://pickoh.com/help" rel="noopener noreferrer"&gt;Help Center&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Prashanth Sams — Creator of PickOH&lt;/em&gt;&lt;/p&gt;

</description>
      <category>travel</category>
      <category>ai</category>
      <category>tools</category>
      <category>showdev</category>
    </item>
    <item>
      <title>3.1+ Million Downloads of pytest-html-reporter 🚀</title>
      <dc:creator>Prashanth sams</dc:creator>
      <pubDate>Sat, 03 Oct 2026 12:44:36 +0000</pubDate>
      <link>https://dev.to/prashanthsams/31-million-downloads-of-pytest-html-reporter-17h2</link>
      <guid>https://dev.to/prashanthsams/31-million-downloads-of-pytest-html-reporter-17h2</guid>
      <description>&lt;p&gt;&lt;em&gt;Six years after its first release, the pytest plugin that turns a test run into one shareable HTML file has had its biggest update yet.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A test run finishes with a few failures. Before you can fix anything, you need to find the affected tests, read the errors, and work out what changed since the last build.&lt;/p&gt;

&lt;p&gt;That is where a good test report earns its place.&lt;/p&gt;

&lt;p&gt;Today, I'm excited to share a milestone: &lt;strong&gt;pytest-html-reporter has reached 3.1 million downloads.&lt;/strong&gt; 🎉&lt;/p&gt;

&lt;p&gt;I published the first version in July 2020. Since then, it has run on laptops and CI servers I will never see, for teams I have never met. As the project's creator and maintainer, I'm grateful to everyone who has installed it, reported a bug, shared feedback, or contributed an improvement.&lt;/p&gt;

&lt;p&gt;The goal remains simple: help teams understand their pytest results quickly, so they can get on with fixing the problems those results reveal.&lt;/p&gt;

&lt;h2&gt;
  
  
  One file. The whole test run.
&lt;/h2&gt;

&lt;p&gt;pytest-html-reporter is a pytest plugin. Install it, and your usual pytest run writes a single, self-contained HTML report. There is no second tool to render it and no dashboard server to host it. You can email the file, attach it to a ticket, or publish it as a CI artifact.&lt;/p&gt;

&lt;p&gt;On your own machine, the report opens in your browser as soon as the run ends. On CI, it doesn't try.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faspj9z3rlj4zh0eu1a66.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faspj9z3rlj4zh0eu1a66.gif" alt="A tour of the pytest-html-reporter report" width="480" height="248"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;A 38-second tour: dashboard, analytics, test metrics, steps, archives, screenshots, API logs and coverage.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The biggest update yet
&lt;/h2&gt;

&lt;p&gt;If you last tried pytest-html-reporter a few years ago, it looks very different today. The 0.3 and 0.4 releases rebuilt the report and added most of what you'll see below.&lt;/p&gt;

&lt;p&gt;Here's a quick tour, in the order you might use it when a build goes red.&lt;/p&gt;

&lt;h3&gt;
  
  
  Start with the dashboard
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8od8j6b2i13ee893d6zz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8od8j6b2i13ee893d6zz.png" alt="The dashboard, split between the light and dark themes" width="800" height="477"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The dashboard in light and dark. The report follows your system theme until you pick one, then remembers your choice.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The dashboard shows the run at a glance: totals, pass rate, duration, trends across builds, and highlights such as the most failed suite and the change in failures since the last build.&lt;/p&gt;

&lt;p&gt;Every status count is a link. Click &lt;strong&gt;28 FAILED&lt;/strong&gt;, and the report opens Test Metrics filtered to exactly those tests.&lt;/p&gt;

&lt;h3&gt;
  
  
  Go from a number to the failing tests
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F40wg2uo7j35xl0b3natr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F40wg2uo7j35xl0b3natr.png" alt="The Test Metrics table" width="800" height="476"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Test Metrics: every test as a searchable, sortable row you can export to CSV or Excel.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Each test gets one row with its suite, status, duration, error message, logs, steps and screenshot. A retried test stays one row with the outcome that stuck. Open its rerun count to see what each attempt failed with.&lt;/p&gt;

&lt;p&gt;Every row also has a permanent link that opens the report at that exact test, and filters live in the URL too (&lt;code&gt;#test-metrics?status=FAIL&lt;/code&gt;). "The failures in last night's build" becomes a link you can paste into a ticket or a chat.&lt;/p&gt;

&lt;h3&gt;
  
  
  See what the test saw
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fh1ktm8zafh02c0f7a16u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fh1ktm8zafh02c0f7a16u.png" alt="The Screenshots gallery" width="800" height="349"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Failing Selenium and Playwright tests are captured automatically, and every image lands in one gallery.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;When a Selenium or Playwright test fails, the reporter takes a screenshot automatically. You don't add a hook, a fixture or an import. Every picture the run took also appears in one gallery, beside its suite and error.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2l1hqlafznmh5olykbxk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2l1hqlafznmh5olykbxk.png" alt="The API Logs viewer" width="800" height="475"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;API Logs: the request and response behind each test, with the curl command that repeats the call.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;For API tests, you can attach requests, responses, JSON, text and files to the test that produced them. The API Logs page shows each call with its status and timing, gives you the curl command to replay it, and blanks out credentials before they reach the report. Captured stdout, stderr and logging output are kept with each test as well.&lt;/p&gt;

&lt;h3&gt;
  
  
  Follow the steps
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fh38wbofer18dzsmpulen.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fh38wbofer18dzsmpulen.png" alt="The Test Steps view with a failing Gherkin scenario" width="800" height="477"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Test Steps: named, timed steps for every test, with pytest-bdd scenarios shown as Given, When and Then.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Name the steps inside a test, and the report shows each one with its timing, nested from the suite down to the action. This works for async tests, too. pytest-bdd scenarios need no changes at all: their Given, When and Then steps appear individually, and the failing step carries its error and screenshot.&lt;/p&gt;

&lt;h3&gt;
  
  
  Spot the patterns
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fadz73j8nncmr484n6kkk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fadz73j8nncmr484n6kkk.png" alt="The Analytics page" width="800" height="477"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Analytics across 21 archived builds: stability score, flaky tests, failures grouped by exception, and ownership.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;One run tells you what broke. History tells you whether it matters. The reporter archives every build, so Analytics can score the suite's stability, separate flaky tests from tests that always fail, group failures by the exception behind them, and show pass-rate drift and where the time goes.&lt;/p&gt;

&lt;p&gt;Add the built-in &lt;code&gt;owner&lt;/code&gt; and &lt;code&gt;severity&lt;/code&gt; markers to your tests, and failures are broken down by team and priority, too.&lt;/p&gt;

&lt;h3&gt;
  
  
  Check the coverage
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F33sporas7pqeca9y2c8j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F33sporas7pqeca9y2c8j.png" alt="The Test Coverage tab" width="800" height="477"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The Test Coverage tab: overall and per-file coverage, missing lines, and the trend across builds.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;When pytest-cov runs, a Test Coverage tab appears with overall and per-file coverage, missing lines and the trend across builds. Coverage measured in an earlier CI job can be brought in, too.&lt;/p&gt;

&lt;h2&gt;
  
  
  Built for CI, too
&lt;/h2&gt;

&lt;p&gt;The same plugin works from a laptop up to a large pipeline:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Parallel runs:&lt;/strong&gt; a pytest-xdist run produces one report, not one per worker.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sharded runs:&lt;/strong&gt; &lt;code&gt;pytest-html-reporter merge&lt;/code&gt; combines shards from several machines into one build, one set of totals and one JUnit XML file.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;JUnit XML:&lt;/strong&gt; written by the same run, for your CI's test results view.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Named profiles:&lt;/strong&gt; keep &lt;code&gt;local&lt;/code&gt; and &lt;code&gt;ci&lt;/code&gt; settings in &lt;code&gt;pyproject.toml&lt;/code&gt; and pick one with &lt;code&gt;--report-profile=ci&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Environment details:&lt;/strong&gt; the host, Python and plugin versions, CI system, branch and commit are recorded automatically, with a link back to the pipeline.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it on your next test run
&lt;/h2&gt;

&lt;p&gt;If you already have a pytest suite, install the package and run your tests:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;pytest-html-reporter
pytest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's all it takes. The report is written to &lt;code&gt;report/pytest_html_reporter.html&lt;/code&gt; and opens when the run finishes. To choose where it goes and what it's called:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pytest tests/ &lt;span class="nt"&gt;--html-report&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;./report/report.html &lt;span class="nt"&gt;--title&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"Test Results"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;On GitHub Actions&lt;/strong&gt;, one step installs the plugin, runs pytest, and publishes the results to the job summary, a pull request comment that updates on every push, and a downloadable artifact:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;steps&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/checkout@v4&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;prashanth-sams/pytest-html-reporter-action@v1&lt;/span&gt;
    &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;python-version&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'&lt;/span&gt;&lt;span class="s"&gt;3.12'&lt;/span&gt;
      &lt;span class="na"&gt;requirements&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;requirements.txt&lt;/span&gt;
      &lt;span class="na"&gt;tests&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;tests/&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;In VS Code&lt;/strong&gt;, the Pytest HTML Reporter extension lists failing tests by suite in the sidebar. Click one to jump to its &lt;code&gt;def&lt;/code&gt;, or open the full report in an editor tab:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;code &lt;span class="nt"&gt;--install-extension&lt;/span&gt; prashanth-sams.pytest-html-reporter-vscode
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://prashanth-sams.github.io/pytest-html-reporter.github.io/" rel="noopener noreferrer"&gt;Explore the documentation and live demo →&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Thank you to our sponsor, PickOH
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fosyjyhtqys7b2499n6li.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fosyjyhtqys7b2499n6li.png" alt="PickOH sponsors pytest-html-reporter" width="800" height="336"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;pytest-html-reporter is sponsored by &lt;a href="https://pickoh.com/" rel="noopener noreferrer"&gt;PickOH&lt;/a&gt;. PickOH lets you map the countries you have visited, plan trips, and join destination communities for weather, tips and attractions, all for free.&lt;/p&gt;

&lt;p&gt;Their support helps keep this plugin free, open source and actively maintained. If the reporter has saved you time, take a look at what they're building at &lt;a href="https://pickoh.com/" rel="noopener noreferrer"&gt;pickoh.com&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Thank you for helping the project grow
&lt;/h2&gt;

&lt;p&gt;Reaching 3.1 million downloads is an encouraging moment. Maintaining a useful project means continuing to listen, fix issues and make everyday workflows easier.&lt;/p&gt;

&lt;p&gt;If pytest-html-reporter has helped your work, I'd love to hear how you use it and what would make it better. The &lt;a href="https://github.com/prashanth-sams/pytest-html-reporter/blob/master/ROADMAP.md" rel="noopener noreferrer"&gt;roadmap&lt;/a&gt; is public, and issues and pull requests are always welcome.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Try it on your next build. Share your feedback. And if you find it useful, give the project a star on GitHub.&lt;/strong&gt; ⭐&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/prashanth-sams/pytest-html-reporter" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt; · &lt;a href="https://pypi.org/project/pytest-html-reporter/" rel="noopener noreferrer"&gt;PyPI&lt;/a&gt; · &lt;a href="https://prashanth-sams.github.io/pytest-html-reporter.github.io/report/pytest_html_report.html#dashboard" rel="noopener noreferrer"&gt;Live demo&lt;/a&gt; · &lt;a href="https://github.com/marketplace/actions/pytest-html-reporter" rel="noopener noreferrer"&gt;GitHub Action&lt;/a&gt; · &lt;a href="https://marketplace.visualstudio.com/items?itemName=prashanth-sams.pytest-html-reporter-vscode" rel="noopener noreferrer"&gt;VS Code extension&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Prashanth Sams — Creator and maintainer of pytest-html-reporter&lt;/em&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>python</category>
      <category>testing</category>
      <category>automation</category>
    </item>
  </channel>
</rss>
