{"id":46937536,"url":"https://github.com/rilltome/torcy","last_synced_at":"2026-03-11T06:01:53.693Z","repository":{"id":325993851,"uuid":"1091161272","full_name":"rillToMe/torcy","owner":"rillToMe","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-07T15:24:50.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-28T06:47:30.455Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rillToMe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-06T16:30:46.000Z","updated_at":"2025-11-07T15:24:55.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rillToMe/torcy","commit_stats":null,"previous_names":["rilltome/torcy"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/rillToMe/torcy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rillToMe%2Ftorcy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rillToMe%2Ftorcy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rillToMe%2Ftorcy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rillToMe%2Ftorcy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rillToMe","download_url":"https://codeload.github.com/rillToMe/torcy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rillToMe%2Ftorcy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30372534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-03-11T06:01:51.587Z","updated_at":"2026-03-11T06:01:53.687Z","avatar_url":"https://github.com/rillToMe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# 🧠 Torcy\n\n**Aesthetic and smart PyTorch environment tester - because checking your setup shouldn't look boring.**\n\n[![PyPI](https://img.shields.io/pypi/v/torcy?color=6ea8fe\u0026label=PyPI)](https://pypi.org/project/torcy)\n[![Python](https://img.shields.io/badge/python-%3E%3D3.8-blue.svg)](https://www.python.org)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n[![Status](https://img.shields.io/badge/status-stable-green.svg)](#)\n[![Torch](https://img.shields.io/badge/PyTorch-supported-EE4C2C.svg)](https://pytorch.org)\n\n\u003c/div\u003e\n\n---\n\n\u003e ⚠️ **Note:** This library is not expected to receive frequent updates.  \n\u003e It will only be updated when it becomes **incompatible or broken** with newer versions of PyTorch or Python.  \n\u003e Torcy is designed to be stable, lightweight, and long-lasting. Once it works - it *just works*.\n\n---\n\n## ✨ Overview\n\nTorcy is a stylish and safe CLI \u0026 library tool to test your **PyTorch environment** in seconds.  \nIt checks whether PyTorch is installed correctly, detects **CPU/GPU**, verifies CUDA support, and even runs a small benchmark - all with an aesthetic terminal output 💻🔥\n\n---\n\n## 🚀 Installation\n\n```bash\npip install torcy\n```\n\nOr install from source:\n```bash\ngit clone https://github.com/rillToMe/torcy.git\ncd torcy\npip install .\n```\n\n---\n\n## 💡 Usage\n\nRun directly in your terminal:\n```bash\ntorcy\n```\n\nExample output:\n```\n🔥 Starting PyTorch Environment Test 🔥\n🧩 PyTorch version: 2.4.0+cpu\n⚙️  Using CPU: 12th Gen Intel(R) Core(TM) i5-12450HX\n💡 You can install the GPU version with: torcy --install-gpu\n\n📊 Random tensor on CPU:\ntensor([[0.23, 0.58, 0.71],\n        [0.91, 0.64, 0.12],\n        [0.55, 0.41, 0.77]])\n\n🧠 Running quick compute benchmark...\n🚀 Benchmarking... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:05\n⚡ Compute speed: 5.11245s\n✅ Test completed successfully - 🧘 Smooth setup!\n```\n\n---\n\n## 🧩 GPU Installation Helper\n\nGot an NVIDIA GPU (like RTX 3050)?  \nTorcy can install the correct GPU-enabled PyTorch build automatically:\n\n```bash\ntorcy --install-gpu\n```\n\nThis uses the official CUDA 12.1 wheel from the PyTorch repository.\n\n---\n\n## 📚 Features\n\n| Feature | Description |\n|----------|-------------|\n| 🔍 **Smart Detection** | Detects PyTorch version, CUDA status, and hardware info |\n| 🧠 **CPU/GPU Info** | Shows exact CPU model or GPU name |\n| 💡 **Auto-Suggestion** | Suggests commands to install GPU-enabled PyTorch |\n| ⚙️ **Benchmark Test** | Quick compute test using PyTorch matrix multiplication |\n| 🎨 **Beautiful CLI** | Animated intro, colorized output with `rich` |\n| 🐍 **Dual-Use** | Works as both a CLI tool and Python module |\n\n---\n\n## 🧠 As a Python Module\n\n```python\nimport torcy\n\ntorcy.test()\n```\n\n---\n\n## ⚙️ Dependencies\n\n- Python 3.8+\n- [PyTorch](https://pytorch.org/)\n- [`rich`](https://pypi.org/project/rich/)\n- [`py-cpuinfo`](https://pypi.org/project/py-cpuinfo/)\n\nInstall manually if missing:\n```bash\npip install rich py-cpuinfo\n```\n\n---\n\n## 🧩 Developer Mode\n\nFor local development (to test without reinstalling the wheel):\n```bash\npython -m torcy\n```\n\n---\n\n---\n\n## 🧾 License\n\n**MIT License © 2025 [DitDev](https://github.com/rillToMe)**  \nFeel free to fork, modify, and share!\n\n🌐 **Portfolio:** [ditdev.vercel.app](https://ditdev.vercel.app)\n\n---\n\n\n## 💬 Fun Fact\n\nTorcy was created just to make `torch.cuda.is_available()` look cooler 😎  \nIf you love small tools with personality - welcome aboard.\n\n---\n\n\u003cdiv align=\"center\"\u003e\n  \n**Torcy** - *beautiful, minimal, and brutally honest about your PyTorch setup.*\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frilltome%2Ftorcy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frilltome%2Ftorcy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frilltome%2Ftorcy/lists"}