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
8 changes: 0 additions & 8 deletions website/app/dxray/dxray.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,3 @@
.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}
2 changes: 1 addition & 1 deletion website/app/dxray/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +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&&<a className="pypi-official" 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
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><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>
<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><a href="https://pypi.org/project/veyra-snap/">veyra-snap 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
7 changes: 4 additions & 3 deletions website/app/veyra-snap/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,Ban,BookOpen,Camera,CheckCheck,FileCode2,Gauge,Github,Layers,Package,ShieldCheck,Wand2} from 'lucide-react';
import {AlertTriangle,BadgeCheck,Ban,BookOpen,Camera,CheckCheck,ExternalLink,FileCode2,Gauge,Github,Layers,Package,ShieldCheck,Wand2} 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 VeyraSnapPage(){
operatingSystem:'Windows, macOS, Linux',url:absolute('/veyra-snap'),image:absolute('/veyra-snap-icon.png'),softwareVersion:version,
downloadUrl:published?PYPI:SOURCE,programmingLanguage:'Python',license:'https://opensource.org/licenses/MIT',
description:'A free Python library that records real function calls and writes them as pytest regression tests.',
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 VeyraSnapPage(){
<p className="live-tagline">Run your code. Get pytest tests.</p>
<p className="live-intro">veyra-snap watches your program run, records what each of your functions was given and what it returned or raised, and writes those real calls as ready-to-run pytest tests. A safety net for code without tests, in one command.</p>
<CopyCommand command={install}/>
{published&&<a className="pypi-official" 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/veyra-snap/</b></span><ExternalLink size={15}/></a>}
{!published&&<p className="snap-status"><i/>Coming to PyPI as <code>pip install veyra-snap</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 @@ -175,7 +176,7 @@ export default async function VeyraSnapPage(){
<li>In your project, run your program with <code>veyra-snap run app.py</code>, or <code>veyra-snap run -m yourpackage</code>.</li>
<li>Run <code>veyra-snap write</code>, then <code>pytest</code>.</li>
</ol>
<p className="live-note">The source, docs and changelog are <a href={SOURCE}>on GitHub</a>. For JavaScript, try <Link href="/live-values">Veyra Live Values</Link>, which shows console.log values next to your code, and <Link href="/blast-radius">Veyra Blast Radius</Link>, which runs only the tests your change affects.</p>
<p className="live-note">{published&&<>The official package is <a href={PYPI}>pypi.org/project/veyra-snap</a>, published by FlightCoders. </>}The source, docs and changelog are <a href={SOURCE}>on GitHub</a>. For JavaScript, try <Link href="/live-values">Veyra Live Values</Link>, which shows console.log values next to your code, and <Link href="/blast-radius">Veyra Blast Radius</Link>, which runs only the tests your change affects.</p>
</div>
<div className="visual" aria-label="Commands">
<small>commands</small>
Expand Down
9 changes: 9 additions & 0 deletions website/app/veyra-snap/veyra-snap.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,12 @@
.snap-page .live-install .snap-cmd{max-width:100%;margin:12px 0 4px}
.snap-page .live-install{grid-template-columns:minmax(0,1fr)}
.snap-page p code,.snap-page li code{word-break:normal;white-space:nowrap}

/* the official PyPI address, shown in full so people can check it */
.pypi-official{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}
.pypi-official:hover{border-color:#ffd43b80;background:#ffd43b14}
.pypi-official img{flex:none}
.pypi-official span{display:flex;flex-direction:column;gap:2px;min-width:0}
.pypi-official small{display:inline-flex;align-items:center;gap:5px;color:#ffe08a;font:500 10px var(--font-mono);letter-spacing:.8px;text-transform:uppercase}
.pypi-official b{font:600 13.5px var(--font-mono);overflow-wrap:anywhere}
.pypi-official>svg{flex:none;color:#8997a5}
Loading