{"id":14977857,"url":"https://github.com/adtzlr/named-einsum","last_synced_at":"2026-03-05T07:31:59.888Z","repository":{"id":200232441,"uuid":"705387596","full_name":"adtzlr/named-einsum","owner":"adtzlr","description":"NumPy's Einsum, but with named subscripts.","archived":false,"fork":false,"pushed_at":"2023-10-16T08:24:07.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-18T04:19:48.151Z","etag":null,"topics":["einsum","numpy","python"],"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/adtzlr.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}},"created_at":"2023-10-15T21:43:50.000Z","updated_at":"2024-06-03T19:44:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"be719ca5-23c5-4e10-b843-d91b9447cb44","html_url":"https://github.com/adtzlr/named-einsum","commit_stats":null,"previous_names":["adtzlr/named_einsum","adtzlr/named-einsum"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/adtzlr/named-einsum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adtzlr%2Fnamed-einsum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adtzlr%2Fnamed-einsum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adtzlr%2Fnamed-einsum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adtzlr%2Fnamed-einsum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adtzlr","download_url":"https://codeload.github.com/adtzlr/named-einsum/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adtzlr%2Fnamed-einsum/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30114181,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["einsum","numpy","python"],"created_at":"2024-09-24T13:56:27.131Z","updated_at":"2026-03-05T07:31:59.870Z","avatar_url":"https://github.com/adtzlr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Neinsum\n\nA Named Einsum.\n\n\u003e *NumPy's Einsum, but with named subscripts.*\n\n[![PyPI version shields.io](https://img.shields.io/pypi/v/neinsum.svg)](https://pypi.python.org/pypi/neinsum/) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://spdx.org/licenses/MIT.html) [![codecov](https://codecov.io/gh/adtzlr/named-einsum/graph/badge.svg?token=akiKR6sHEb)](https://codecov.io/gh/adtzlr/named-einsum) ![Codestyle black](https://img.shields.io/badge/code%20style-black-black)\n\n# Installation\nNeinsum is available on PyPI (and requires NumPy).\n\n```\npip install neinsum\n```\n\n# Usage\nWith `neinsum`, it is possible to add names to the subscripts, i.e. instead of the indices-only `ij` in `np.einsum`, a named-subscript `A_ij` has to be provided. The variable names - like `A` (without indices) - are further used as keyword-arguments, see the example code-block. This is also supported for the output array.\n\n```python\nimport numpy as np\nfrom neinsum import named_einsum\n\nx = np.eye(3)\ny = np.arange(9).reshape(3, 3)\n\nnamed_einsum(\"A_ij,B_kl\")(A=x, B=y)\n\n# this is equal to\nnp.einsum(\"ij,kl\", x, y)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadtzlr%2Fnamed-einsum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadtzlr%2Fnamed-einsum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadtzlr%2Fnamed-einsum/lists"}