Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions website/app/dxray/dxray.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,12 @@
.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}}

/* the official PyPI address, shown in full so people can check it */
.dx-pypi{display:inline-flex;align-items:center;gap:12px;margin:6px auto 0;padding:10px 16px;border:1px solid #ffd43b33;border-radius:12px;background:#ffd43b0a;color:#e9eef5;text-align:left;transition:border-color .2s,background .2s}
.dx-pypi:hover{border-color:#ffd43b80;background:#ffd43b14}
.dx-pypi img{flex:none}
.dx-pypi span{display:flex;flex-direction:column;gap:2px;min-width:0}
.dx-pypi small{display:inline-flex;align-items:center;gap:5px;color:#ffe08a;font:500 10px var(--font-mono);letter-spacing:.8px;text-transform:uppercase}
.dx-pypi b{font:600 13.5px var(--font-mono);overflow-wrap:anywhere}
.dx-pypi>svg{flex:none;color:#8997a5}
7 changes: 4 additions & 3 deletions website/app/dxray/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
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 {AlertTriangle,BadgeCheck,BookOpen,ExternalLink,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';
Expand Down Expand Up @@ -69,7 +69,7 @@ export default async function DxrayPage(){
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'},
offers:{'@type':'Offer',price:'0',priceCurrency:'USD'},publisher:{'@type':'Organization',name:'FlightCoders',url:'https://flightcoders.com'},sameAs:[PYPI,SOURCE],
};
const faq={'@context':'https://schema.org','@type':'FAQPage',mainEntity:FAQ.map(item=>({'@type':'Question',name:item.q,acceptedAnswer:{'@type':'Answer',text:item.a}}))};

Expand All @@ -85,6 +85,7 @@ export default async function DxrayPage(){
<p className="live-tagline">An X-ray for your data.</p>
<p className="live-intro">One line tells you what&apos;s wrong with a dataset and what stands out in it, in plain English, with the pandas code that fixes each problem. Then clean it, share a report, or ask Claude about it.</p>
<CopyCommand command={install}/>
{published&&<a className="dx-pypi" href={PYPI} target="_blank" rel="noopener"><img src="/brand/platforms/python.svg" width={18} height={18} alt=""/><span><small><BadgeCheck size={12}/>Official package on PyPI · by FlightCoders</small><b>https://pypi.org/project/dxray/</b></span><ExternalLink size={15}/></a>}
{!published&&<p className="snap-status"><i/>Coming to PyPI as <code>pip install dxray</code>. Until then, install it from GitHub with the command above.</p>}
<div className="live-actions">
{published?<a className="primary" href={PYPI}><Package size={16}/>View on PyPI</a>:<a className="primary" href={SOURCE}><Github size={16}/>Source on GitHub</a>}
Expand Down Expand Up @@ -167,7 +168,7 @@ dx.<span className="f">ask</span>(df, <span className="s">&quot;Why did revenue
<li>In a notebook or script: <code>import dxray as dx</code>, then <code>dx.scan(df)</code>.</li>
<li>Or in a terminal: <code>dxray sales.csv --html report.html</code>.</li>
</ol>
<p className="live-note">The source, docs and changelog are <a href={SOURCE}>on GitHub</a>. Also from us for Python: <Link href="/veyra-snap">veyra-snap</Link>, which turns a run of your code into pytest tests.</p>
<p className="live-note">{published&&<>The official package is <a href={PYPI}>pypi.org/project/dxray</a>, published by FlightCoders. </>}The source, docs and changelog are <a href={SOURCE}>on GitHub</a>. Also from us for Python: <Link href="/veyra-snap">veyra-snap</Link>, which turns a run of your code into pytest tests.</p>
</div>
<div className="visual" aria-label="Commands">
<small>in python</small>
Expand Down
2 changes: 1 addition & 1 deletion website/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ export default async function Home() {
<small>Python Package Index</small>
<h3>Python</h3>
<p>Open-source libraries for pip: dxray, an X-ray for your data, and veyra-snap, which turns a run of your code into pytest tests.</p>
<div className="ship-links"><Link href="/dxray">dxray <ArrowRight size={14} /></Link><Link href="/veyra-snap">veyra-snap <ArrowRight size={14} /></Link></div>
<div className="ship-links"><Link href="/dxray">dxray <ArrowRight size={14} /></Link><a href="https://pypi.org/project/dxray/">dxray on PyPI <ArrowRight size={14} /></a><Link href="/veyra-snap">veyra-snap <ArrowRight size={14} /></Link></div>
</article>
</div>
<p className="ship-note">Microsoft, JetBrains and Python are trademarks of their owners, named here to say where our software is published. It doesn&apos;t mean they sponsor or endorse it.</p>
Expand Down
Loading