{"id":28719154,"url":"https://github.com/0xhilsa/tenop","last_synced_at":"2026-04-13T01:05:55.829Z","repository":{"id":298185036,"uuid":"970309752","full_name":"0xhilSa/tenop","owner":"0xhilSa","description":"A lightweight \u0026 minimalist tensor computation library with CUDA backend","archived":false,"fork":false,"pushed_at":"2025-06-09T20:44:24.000Z","size":357,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-09T21:29:55.574Z","etag":null,"topics":["bash","c","cuda","python3","tensor"],"latest_commit_sha":null,"homepage":"","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/0xhilSa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2025-04-21T20:16:03.000Z","updated_at":"2025-06-09T20:44:28.000Z","dependencies_parsed_at":"2025-06-09T21:41:26.775Z","dependency_job_id":null,"html_url":"https://github.com/0xhilSa/tenop","commit_stats":null,"previous_names":["0xhilsa/tenop"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0xhilSa/tenop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xhilSa%2Ftenop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xhilSa%2Ftenop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xhilSa%2Ftenop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xhilSa%2Ftenop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xhilSa","download_url":"https://codeload.github.com/0xhilSa/tenop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xhilSa%2Ftenop/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259929946,"owners_count":22933527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bash","c","cuda","python3","tensor"],"created_at":"2025-06-15T06:00:18.530Z","updated_at":"2026-04-13T01:05:55.821Z","avatar_url":"https://github.com/0xhilSa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./docs/tenop.png\" alt=\"Tenop Logo\" width=\"300\"\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://pypi.org/project/tenop/\"\u003e\n    \u003cimg src=\"https://img.shields.io/pypi/v/tenop\" alt=\"PyPI - Version\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://pypi.org/project/tenop/\"\u003e\n    \u003cimg src=\"https://img.shields.io/pypi/pyversions/tenop\" alt=\"PyPI - Python Version\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/0xhilSa/tenop/blob/master/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/0xhilSa/tenop\" alt=\"License\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eTenOp\u003c/strong\u003e is a lightweight and minimalist tensor computation library with CUDA acceleration, designed for high-performance numerical computing.\n\u003c/p\u003e\n\n---\n\n## 🚀 Features\n\n- Simple tensor operations with a clean API\n- Optimized backend with CPU and CUDA support\n- Written in Python with compiled C/CUDA extensions\n\n## 📦 Installation\n```bash\npip install tenop\n```\n\n## Or install from source\n```bash\ngit clone https://github.com/0xhilSa/tenop.git\ncd tenop\npip install .\n```\n\n## Usage\n```python\nfrom tenop import Tensor\n\nx = Tensor([1,2,3,4,5], device=\"cpu:0\")\nprint(x)\nprint(x.numpy())\nprint(x.device, x.device.name)\ny = x.cuda()\nprint(y)\nprint(y.numpy())\nprint(y.device, y.device.name)\n```\nSee [./tests/testing.ipynb](./tests/testing.ipynb) for more examples\n\n---\n\n## LICENSE\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xhilsa%2Ftenop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xhilsa%2Ftenop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xhilsa%2Ftenop/lists"}