{"adoption": {"forks": 397, "observed_at": "2026-08-28T04:10:35.907204+00:00", "stars": 9581}, "canonical_url": "https://ross.abutalabs.com/products/einops", "card": {"archived": false, "artifact_type": "library", "description": "Flexible and powerful tensor operations for readable and reliable code (for pytorch, jax, TF and others)", "domain": ["deep-learning", "machine-learning", "data-science"], "enriched": true, "function": ["machine-learning", "deep-learning", "math", "developer-tools"], "health_score": 100, "homepage": "https://einops.rocks", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["arogozhnikov/einops"], "name": "arogozhnikov/einops", "platform": ["python", "cross-platform"], "pushed_at": "2026-08-26T08:23:21+00:00", "repo": "arogozhnikov/einops", "stars": 9581, "tags": ["tensor-manipulation", "einsum", "pytorch", "jax", "numpy", "tensor-operations"], "topics": ["deep-learning", "pytorch", "tensorflow", "numpy", "cupy", "tensor", "jax", "einops", "mlx"], "urls": [], "use_cases": ["reshape and transpose tensors with readable expressions", "write deep learning code that works across pytorch, jax, and tensorflow", "replace verbose reshape, permute, and squeeze calls", "reduce and aggregate tensor dimensions declaratively", "pack and unpack variable-length tensor lists", "implement custom layers like EinMix for neural networks"], "what_it_is": "einops is a Python library providing readable, framework-agnostic tensor operations via mini-language functions like rearrange, reduce, and repeat. It works across numpy, PyTorch, JAX, TensorFlow, MLX, and other array backends.", "when_to_avoid": ["you only do simple 2D array math where numpy alone suffices", "you need maximum raw performance with zero abstraction overhead", "your team is unwilling to learn the einops mini-language syntax"], "when_to_choose": ["you work with high-dimensional tensors in deep learning and want readable, less error-prone code", "you need the same tensor manipulation code to run on multiple frameworks", "you want to simplify stacking, reshaping, transposition, and reduction logic"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/einops", "repo": "arogozhnikov/einops", "role": "main", "score": 77}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:35.907204+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.148217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f27fcd67e532999f9a1bff7886364a546742ebc91c9747ecc2cbab61bfe9475", "fetched_at": "2026-08-28T04:10:35.907204+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arogozhnikov/einops"}, {"content_hash": "dcd783bbd4d7da1353ba7dd2eb5199ec9a14eb99114f24179d91b71dc6a5cb59", "fetched_at": "2026-08-29T08:21:25.673215+00:00", "kind": "homepage", "missing": false, "url": "https://einops.rocks"}, {"content_hash": "5f583dbf634e47f52e1675be3d809d87d49c5dca570dd4262340b77617ba6b00", "fetched_at": "2026-08-29T08:21:25.682539+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/einops/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:35.907204+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.148217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f27fcd67e532999f9a1bff7886364a546742ebc91c9747ecc2cbab61bfe9475", "fetched_at": "2026-08-28T04:10:35.907204+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arogozhnikov/einops"}, {"content_hash": "dcd783bbd4d7da1353ba7dd2eb5199ec9a14eb99114f24179d91b71dc6a5cb59", "fetched_at": "2026-08-29T08:21:25.673215+00:00", "kind": "homepage", "missing": false, "url": "https://einops.rocks"}, {"content_hash": "5f583dbf634e47f52e1675be3d809d87d49c5dca570dd4262340b77617ba6b00", "fetched_at": "2026-08-29T08:21:25.682539+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/einops/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.148217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f27fcd67e532999f9a1bff7886364a546742ebc91c9747ecc2cbab61bfe9475", "fetched_at": "2026-08-28T04:10:35.907204+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arogozhnikov/einops"}, {"content_hash": "dcd783bbd4d7da1353ba7dd2eb5199ec9a14eb99114f24179d91b71dc6a5cb59", "fetched_at": "2026-08-29T08:21:25.673215+00:00", "kind": "homepage", "missing": false, "url": "https://einops.rocks"}, {"content_hash": "5f583dbf634e47f52e1675be3d809d87d49c5dca570dd4262340b77617ba6b00", "fetched_at": "2026-08-29T08:21:25.682539+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/einops/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:10:35.907204+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:35.907204+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:35.907204+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.148217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f27fcd67e532999f9a1bff7886364a546742ebc91c9747ecc2cbab61bfe9475", "fetched_at": "2026-08-28T04:10:35.907204+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arogozhnikov/einops"}, {"content_hash": "dcd783bbd4d7da1353ba7dd2eb5199ec9a14eb99114f24179d91b71dc6a5cb59", "fetched_at": "2026-08-29T08:21:25.673215+00:00", "kind": "homepage", "missing": false, "url": "https://einops.rocks"}, {"content_hash": "5f583dbf634e47f52e1675be3d809d87d49c5dca570dd4262340b77617ba6b00", "fetched_at": "2026-08-29T08:21:25.682539+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/einops/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:35.907204+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:35.907204+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.148217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f27fcd67e532999f9a1bff7886364a546742ebc91c9747ecc2cbab61bfe9475", "fetched_at": "2026-08-28T04:10:35.907204+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arogozhnikov/einops"}, {"content_hash": "dcd783bbd4d7da1353ba7dd2eb5199ec9a14eb99114f24179d91b71dc6a5cb59", "fetched_at": "2026-08-29T08:21:25.673215+00:00", "kind": "homepage", "missing": false, "url": "https://einops.rocks"}, {"content_hash": "5f583dbf634e47f52e1675be3d809d87d49c5dca570dd4262340b77617ba6b00", "fetched_at": "2026-08-29T08:21:25.682539+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/einops/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:35.907204+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:35.907204+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:35.907204+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.148217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f27fcd67e532999f9a1bff7886364a546742ebc91c9747ecc2cbab61bfe9475", "fetched_at": "2026-08-28T04:10:35.907204+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arogozhnikov/einops"}, {"content_hash": "dcd783bbd4d7da1353ba7dd2eb5199ec9a14eb99114f24179d91b71dc6a5cb59", "fetched_at": "2026-08-29T08:21:25.673215+00:00", "kind": "homepage", "missing": false, "url": "https://einops.rocks"}, {"content_hash": "5f583dbf634e47f52e1675be3d809d87d49c5dca570dd4262340b77617ba6b00", "fetched_at": "2026-08-29T08:21:25.682539+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/einops/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:35.907204+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:35.907204+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.148217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f27fcd67e532999f9a1bff7886364a546742ebc91c9747ecc2cbab61bfe9475", "fetched_at": "2026-08-28T04:10:35.907204+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arogozhnikov/einops"}, {"content_hash": "dcd783bbd4d7da1353ba7dd2eb5199ec9a14eb99114f24179d91b71dc6a5cb59", "fetched_at": "2026-08-29T08:21:25.673215+00:00", "kind": "homepage", "missing": false, "url": "https://einops.rocks"}, {"content_hash": "5f583dbf634e47f52e1675be3d809d87d49c5dca570dd4262340b77617ba6b00", "fetched_at": "2026-08-29T08:21:25.682539+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/einops/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.148217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f27fcd67e532999f9a1bff7886364a546742ebc91c9747ecc2cbab61bfe9475", "fetched_at": "2026-08-28T04:10:35.907204+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arogozhnikov/einops"}, {"content_hash": "dcd783bbd4d7da1353ba7dd2eb5199ec9a14eb99114f24179d91b71dc6a5cb59", "fetched_at": "2026-08-29T08:21:25.673215+00:00", "kind": "homepage", "missing": false, "url": "https://einops.rocks"}, {"content_hash": "5f583dbf634e47f52e1675be3d809d87d49c5dca570dd4262340b77617ba6b00", "fetched_at": "2026-08-29T08:21:25.682539+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/einops/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.148217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f27fcd67e532999f9a1bff7886364a546742ebc91c9747ecc2cbab61bfe9475", "fetched_at": "2026-08-28T04:10:35.907204+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arogozhnikov/einops"}, {"content_hash": "dcd783bbd4d7da1353ba7dd2eb5199ec9a14eb99114f24179d91b71dc6a5cb59", "fetched_at": "2026-08-29T08:21:25.673215+00:00", "kind": "homepage", "missing": false, "url": "https://einops.rocks"}, {"content_hash": "5f583dbf634e47f52e1675be3d809d87d49c5dca570dd4262340b77617ba6b00", "fetched_at": "2026-08-29T08:21:25.682539+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/einops/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:21:55.148217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2f27fcd67e532999f9a1bff7886364a546742ebc91c9747ecc2cbab61bfe9475", "fetched_at": "2026-08-28T04:10:35.907204+00:00", "kind": "readme", "missing": false, "url": "https://github.com/arogozhnikov/einops"}, {"content_hash": "dcd783bbd4d7da1353ba7dd2eb5199ec9a14eb99114f24179d91b71dc6a5cb59", "fetched_at": "2026-08-29T08:21:25.673215+00:00", "kind": "homepage", "missing": false, "url": "https://einops.rocks"}, {"content_hash": "5f583dbf634e47f52e1675be3d809d87d49c5dca570dd4262340b77617ba6b00", "fetched_at": "2026-08-29T08:21:25.682539+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/einops/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 36}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2903, "days_push": 7, "days_rel": 219, "gap_med": 351, "n_releases_24m": 2}, "score": 77, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}