import { useState } from 'react'; interface HeroProps { onAnalyze: (source: string) => void; isLoading: boolean; } const Hero = ({ onAnalyze, isLoading }: HeroProps) => { const [source, setSource] = useState(''); const exampleRepos = [ { name: 'requests', url: 'psf/requests' }, { name: 'FastAPI', url: 'fastapi/fastapi' }, { name: 'Flask', url: 'pallets/flask' }, { name: 'Black', url: 'psf/black' }, { name: 'Poetry', url: 'python-poetry/poetry' }, ]; const handleSubmit = (e: React.FormEvent) => { e.preventDefault(); if (source.trim()) { onAnalyze(source.trim()); } }; const handleExample = (url: string) => { setSource(url); onAnalyze(url); }; return (

Python Environment
Simplified

🐍

Turn any Python repository into a uv environment oneliner.

Analyze dependencies from requirements.txt, pyproject.toml, and setup.py files.

setSource(e.target.value)} placeholder="https://github.com/owner/repo or owner/repo" className="flex-1 px-4 py-3 bg-gray-900 border border-gray-700 rounded-lg text-white placeholder-gray-500 focus:outline-none focus:border-uvify-blue focus:ring-1 focus:ring-uvify-blue" disabled={isLoading} />

Try these example repositories:

{exampleRepos.map((repo) => ( ))}

Supports GitHub repositories and local directories

); }; export default Hero;