From 16c9c28d703f369835f75c2e201b73ad8fa4b495 Mon Sep 17 00:00:00 2001 From: Vikram Date: Wed, 25 Nov 2026 00:40:07 +0530 Subject: [PATCH] Website: dxray page, a shorter Products menu, and where our work lives - /dxray: the Python data library's page (real scan output, the HTML report, clean/ask, FAQ, JSON-LD), in the sitemap. It shows pip install dxray from PyPI automatically. - Products menu: Apps, a new Python libraries group (dxray, veyra-snap), and 8 popular extensions with "See all 25 extensions", instead of every extension. - Home page: "Where our work lives": FlightCoders, Microsoft Store and the Visual Studio Marketplace, JetBrains Marketplace and PyPI, with a trademark note (no partnership implied). JetBrains and Python marks from Simple Icons (CC0); no Microsoft logo, which Microsoft doesn't allow. Co-Authored-By: Claude Opus 5.5 --- website/app/dxray/dxray.css | 12 ++ website/app/dxray/page.tsx | 196 +++++++++++++++++++ website/app/page.tsx | 44 ++++- website/app/site.css | 3 +- website/app/sitemap.ts | 1 + website/app/where-we-ship.css | 20 ++ website/components/Nav.tsx | 8 +- website/components/NavMenu.tsx | 39 ++-- website/lib/catalog.ts | 11 +- website/lib/products.ts | 12 +- website/public/brand/platforms/jetbrains.svg | 1 + website/public/brand/platforms/python.svg | 1 + website/public/dxray-icon.png | Bin 0 -> 42362 bytes website/public/dxray-report.jpg | Bin 0 -> 190381 bytes 14 files changed, 321 insertions(+), 27 deletions(-) create mode 100644 website/app/dxray/dxray.css create mode 100644 website/app/dxray/page.tsx create mode 100644 website/app/where-we-ship.css create mode 100644 website/public/brand/platforms/jetbrains.svg create mode 100644 website/public/brand/platforms/python.svg create mode 100644 website/public/dxray-icon.png create mode 100644 website/public/dxray-report.jpg diff --git a/website/app/dxray/dxray.css b/website/app/dxray/dxray.css new file mode 100644 index 0000000..906ff8b --- /dev/null +++ b/website/app/dxray/dxray.css @@ -0,0 +1,12 @@ +/* dxray: the Python data library page. Builds on veyra-snap.css (terminal, code, install) and live-server.css. */ +.dx-page .live-kicker{border-color:#68f4d140;background:#68f4d10d;color:#9ff7e1} +.dx-page .live-kicker i{background:var(--mint);box-shadow:0 0 12px var(--mint)} +.dx-shot{margin:22px 0 0;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 40px 100px #000a} +.dx-shot img{display:block;width:100%;height:auto} +.dx-page .snap-two .snap-code{margin:14px 0} +.dx-page .snap-two .snap-code pre{padding:16px 18px;font-size:12px} +.dx-notes{display:grid;grid-template-columns:1fr 1fr;gap:14px} +.dx-notes p{display:flex;gap:12px;margin:0;padding:20px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#111722,#0a0e15);color:var(--muted);font-size:13.5px;line-height:1.7} +.dx-notes svg{flex:none;margin-top:4px;color:#ffcf6b} +.dx-notes b{color:#fff} +@media(max-width:800px){.dx-notes{grid-template-columns:1fr}} diff --git a/website/app/dxray/page.tsx b/website/app/dxray/page.tsx new file mode 100644 index 0000000..06910bf --- /dev/null +++ b/website/app/dxray/page.tsx @@ -0,0 +1,196 @@ +import type {Metadata} from 'next'; +import Image from 'next/image'; +import Link from 'next/link'; +import {AlertTriangle,BookOpen,Bot,FileText,Github,HeartPulse,Lightbulb,Lock,Package,ScanSearch,Sparkles,Terminal,Wrench} from 'lucide-react'; +import {Nav} from '@/components/Nav'; +import {Footer} from '@/components/Footer'; +import {Breadcrumbs} from '@/components/Breadcrumbs'; +import {ClosingCTA} from '@/components/ContentPage'; +import {absolute,jsonLd} from '@/lib/site'; +import {CopyCommand} from '../veyra-snap/CopyCommand'; +import '../live-server/live-server.css'; +import '../port-manager/port-manager.css'; +import '../veyra-snap/veyra-snap.css'; +import './dxray.css'; + +const PYPI='https://pypi.org/project/dxray/'; +const SOURCE='https://github.com/fcopensource/veyraeditor/tree/main/python/dxray'; +const FROM_GITHUB='pip install "git+https://github.com/fcopensource/veyraeditor#subdirectory=python/dxray"'; +const VERSION='1.0.0'; + +/** The version on PyPI, or null before it's published. Checked hourly, so the page switches to PyPI by itself. */ +async function pypiVersion():Promise{ + try{ + const res=await fetch('https://pypi.org/pypi/dxray/json',{next:{revalidate:3600},signal:AbortSignal.timeout(5000)}); + if(!res.ok)return null; + const data=await res.json() as {info?:{version?:string}}; + return data.info?.version||null; + }catch{return null;} +} + +export const revalidate=3600; + +export const metadata:Metadata={ + title:'dxray: An X-ray for Your Data (Python, pandas)', + description:'One line tells you what’s wrong with a dataset and what stands out in it, in plain English. dxray finds data problems with the exact pandas fix, ranks the insights, cleans safely, writes a shareable report, and gets your data ready for AI. Free, MIT.', + keywords:['pandas data profiling','exploratory data analysis python','automated eda','data quality python','data cleaning pandas','pandas insights','dataframe report','llm data analysis','ask questions about data','pip install dxray'], + alternates:{canonical:'/dxray'}, + openGraph:{url:'/dxray',title:'dxray: an X-ray for your data',description:'One line finds what’s wrong with a dataset and what stands out, in plain English. Free and open source.',images:[{url:'/dxray-report.jpg',width:1280,height:1450,alt:'The dxray report: a health score and insight cards with charts'}]}, +}; + +const FEATURES=[ + {icon:ScanSearch,title:'What each column really is',copy:'Not just object and int64: money stored as text, dates stored as text, yes/no columns, IDs, emails, categories, free text and constants.'}, + {icon:Wrench,title:'Every problem, with its fix',copy:'Missing values (including "N/A" and "-" hiding as text), duplicates, repeated IDs, one category spelled three ways, outliers, sentinels like -999. Each comes with the pandas line that fixes it.'}, + {icon:Lightbulb,title:'What stands out, ranked',copy:'What drives the column you care about, the groups that differ, trends and the biggest jumps and drops, 80/20 concentration, and averages that lie. Best first.'}, + {icon:HeartPulse,title:'A health score',copy:'A number from 0 to 100, so you can see at a glance whether the data is ready to use.'}, + {icon:Sparkles,title:'Clean it, safely',copy:'dx.clean() makes only mechanical fixes and lists every one. It never drops outliers or fills gaps: those are your decisions. Your DataFrame is left untouched.'}, + {icon:FileText,title:'A report you can share',copy:'Rich output in Jupyter, one self-contained HTML page with charts, Markdown for a pull request, or JSON for code.'}, + {icon:Bot,title:'Made for AI',copy:'dx.for_llm() describes your data in a few thousand tokens instead of a million rows. dx.ask() sends that description to Claude and answers in plain English.'}, + {icon:Terminal,title:'From the command line',copy:'dxray sales.csv for a report, --clean to save a cleaned copy, --html, --json, --llm or --ask. CSV, Excel, Parquet and JSON.'}, + {icon:Lock,title:'Private and light',copy:'Everything runs on your machine; only dx.ask() sends anything, and only the description. Needs just pandas and numpy. Python 3.9+.'}, +]; + +const FAQ=[ + {q:'What is dxray for?',a:'The first twenty minutes of every analysis: df.info(), describe(), value_counts() and squinting, before you know whether the data can be trusted or where the story is. dxray does that pass in one line and writes it in sentences.'}, + {q:'How is it different from a profiling report?',a:'Profilers list statistics for every column and leave the reading to you. dxray tells you what matters: the problems, with the exact code to fix each one, and the findings, ranked, in plain English.'}, + {q:'Does it change my data?',a:'No. dx.scan() only reads. dx.clean() returns a new, cleaned copy and a log of every change, and only makes mechanical fixes such as numbers stored as text and duplicate rows.'}, + {q:'Does my data leave my computer?',a:'Not unless you call dx.ask(). Then only dxray’s description of the data (schema, statistics, a few sample rows, problems and findings) goes to the Anthropic API, never the whole table.'}, + {q:'How big a dataset can it handle?',a:'Columns are profiled on every row. The relationship and trend analysis uses a 200,000-row random sample, so a million-row table still takes seconds.'}, + {q:'Which Python versions?',a:'Python 3.9 to 3.14 on Windows, macOS and Linux, with pandas 1.5 or newer. dx.ask() needs Python 3.10 or newer, like the Anthropic SDK.'}, + {q:'Is it free?',a:'Yes. dxray is free and open source under the MIT license, with no account and no telemetry. It’s made by FlightCoders, the team behind the Veyra editor.'}, +]; + +export default async function DxrayPage(){ + const published=await pypiVersion(); + const version=published||VERSION; + const install=published?'pip install dxray':FROM_GITHUB; + const app={ + '@context':'https://schema.org','@type':'SoftwareApplication',name:'dxray',applicationCategory:'DeveloperApplication', + operatingSystem:'Windows, macOS, Linux',url:absolute('/dxray'),image:absolute('/dxray-icon.png'),softwareVersion:version, + downloadUrl:published?PYPI:SOURCE,programmingLanguage:'Python',license:'https://opensource.org/licenses/MIT', + description:'A free Python library that finds what’s wrong with a dataset and what stands out in it, in plain English.', + offers:{'@type':'Offer',price:'0',priceCurrency:'USD'},publisher:{'@type':'Organization',name:'FlightCoders',url:'https://flightcoders.com'}, + }; + const faq={'@context':'https://schema.org','@type':'FAQPage',mainEntity:FAQ.map(item=>({'@type':'Question',name:item.q,acceptedAnswer:{'@type':'Answer',text:item.a}}))}; + + return <>