HN 표시: Pyra – uv 및 Bun에서 영감을 받은 Python 툴체인 실험
hackernews
|
|
📦 오픈소스
#python
#rust
#show hn
#toolchain
원문 출처: hackernews · Genesis Park에서 요약 및 분석
요약
Rust로 작성된 현대적인 Python 패키지 및 프로젝트 관리 도구인 Pyra는 파이썬 버전, 의존성, 환경 설정을 하나의 파이프라인에서 확정적으로 관리합니다. pyproject.toml과 pylock.toml을 기반으로 프로젝트 설정 및 의존성 동기화를 지원하며, 현재 개발 중이지만 설치와 실행이 가능한 수준입니다. 문서화는 소스 코드 내에서 관리되며, 로드맵이나 아키텍처 등의 세부 정보는 내부 문서 디렉토리에서 확인할 수 있습니다.
본문
One tool. Python versions, dependencies, environments, and execution — all managed through one deterministic pipeline. Pyra is a modern Python package and project manager built in Rust. It uses pyproject.toml as the source of declared intent and pylock.toml as the precise source of installed state. Environments are centralized, deterministic, and exactly reconciled from your lockfile. Pyra is in active development, but the current command surface is already usable for project setup, dependency sync, diagnostics, and execution workflows. Install Pyra: curl -fsSL https://tlo3.com/pyra-install.sh | sh The script downloads the right GitHub Release archive for the current machine, verifies the published SHA-256 checksum, and installs pyra onto your PATH . Update Pyra later with: pyra self update pyra python install 3.13 pyra init --python 3.13 pyra add requests pyra sync pyra run main.py Full documentation is tracked in-repository alongside the source code. You can start the local documentation site (using Astro Starlight) by running: mise run docs:install mise run docs:dev Alternatively, you can browse the raw markdown files directly in the docs/src/content/docs/ directory. Useful entry points: - Public docs: docs/src/content/docs/ - Internal architecture and delivery docs: dev-docs/ - Current implementation status: docs/src/content/docs/status.md - Project roadmap: docs/src/content/docs/roadmap.md - Python management — install, list, and pin Python versions deterministically. - Project initialization — scaffold pyproject.toml andpylock.toml . - Dependency management — add, remove, and update dependencies across groups and extras. - Environment sync — strict reconciliation from your lockfile to a centralized environment. - Execution — run scripts and commands through the synchronized environment. Contributions are welcome. Start with CONTRIBUTING.md for the local workflow, testing commands, and docs-first expectations. For internal system architecture boundaries, contracts, and the PIP wrapper specification, refer to the dev-docs/ directory.
Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.
공유