{
 "kind": "tool",
 "slug": "gensim",
 "path": "tools/gensim/",
 "name": "gensim",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "ML and data science",
   "tools/ml-data-science/"
  ]
 ],
 "lead": "Python framework for topic modeling and word embeddings from text.",
 "chips": [
  {
   "label": "ML and data science",
   "path": "tools/ml-data-science/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install gensim"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/RaRe-Technologies/gensim"
  },
  {
   "label": "Website",
   "href": "https://radimrehurek.com/gensim/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "LGPL-2.1-only",
   "status": "cond",
   "sub": "Share changes to the library",
   "quote": null,
   "note": "License from PyPI license field.",
   "src": "https://github.com/RaRe-Technologies/gensim"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Quiet for a year",
   "status": "cond",
   "sub": "Last change Nov 1, 2025",
   "note": "Latest GitHub release Oct 16, 2025. ",
   "src": "https://github.com/RaRe-Technologies/gensim"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "2 projects",
   "status": "info",
   "sub": "#101 of 293 in its category",
   "note": "Dependency in 2 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What gensim does",
   "parts": [
    {
     "t": "prose",
     "text": "Python framework for topic modeling and word embeddings from text."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "gensim popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "56",
       "of": "/ 100",
       "l": "Gid Score, #1403 overall"
      },
      {
       "n": "621K",
       "l": "downloads a week, pypi"
      },
      {
       "n": "16.5K",
       "l": "GitHub stars"
      },
      {
       "n": "2",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How gensim is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "gensim is a dependency in 2 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 114 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is Sentence Transformers (85 projects).",
      "Projects that use it most often also use NumPy (89.5%), pandas (88.6%), Matplotlib (85.1%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 89.5% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 88.6% of its projects",
       "v": "pandas",
       "path": "tools/pandas/"
      },
      {
       "l": "In 85.1% of its projects",
       "v": "Matplotlib",
       "path": "tools/matplotlib/"
      },
      {
       "l": "In 83.3% of its projects",
       "v": "NLTK",
       "path": "tools/nltk/"
      },
      {
       "l": "In 82.5% of its projects",
       "v": "scikit-learn",
       "path": "tools/scikit-learn/"
      },
      {
       "l": "In 80.7% of its projects",
       "v": "joblib",
       "path": "tools/joblib/"
      },
      {
       "l": "In 79.8% of its projects",
       "v": "Beautiful Soup",
       "path": "tools/beautifulsoup4/"
      },
      {
       "l": "In 79.8% of its projects",
       "v": "Click",
       "path": "tools/click-py/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about gensim",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/piskvorky",
        "4 GitHub sponsors"
       ]
      },
      {
       "title": "More in ML and data science",
       "path": "tools/ml-data-science/",
       "items": [
        {
         "text": "NumPy",
         "path": "tools/numpy/"
        },
        {
         "text": "pandas",
         "path": "tools/pandas/"
        },
        {
         "text": "scikit-learn",
         "path": "tools/scikit-learn/"
        },
        {
         "text": "SciPy",
         "path": "tools/scipy/"
        },
        {
         "text": "PyTorch",
         "path": "tools/torch/"
        },
        {
         "text": "Chroma (Python)",
         "path": "tools/chromadb-pypi/"
        },
        {
         "text": "NetworkX",
         "path": "tools/networkx/"
        },
        {
         "text": "PyArrow",
         "path": "tools/pyarrow/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "gensim",
       "me": true,
       "facts": [
        "LGPL-2.1-only",
        "Gid 56",
        "621K/wk"
       ]
      },
      {
       "name": "Sentence Transformers",
       "why": "Pre-trained models for semantic embeddings, retrieval and reranking.",
       "path": "tools/sentence-transformers/",
       "facts": [
        "Apache-2.0",
        "Gid 72",
        "5.3M/wk"
       ]
      },
      {
       "name": "Hugging Face Transformers",
       "why": "State-of-the-art NLP and multimodal models for inference and training.",
       "path": "tools/transformers/",
       "facts": [
        "Apache 2.0 License",
        "Gid 87",
        "27.8M/wk"
       ]
      }
     ],
     "more": "Compare gensim with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install gensim"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for gensim yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi gensim"
  ],
  [
   "Category",
   "ML and data science"
  ],
  [
   "License",
   "LGPL-2.1-only"
  ],
  [
   "Gid Score",
   "55.5"
  ],
  [
   "Rank in category",
   "#101 of 293"
  ],
  [
   "GitHub",
   "RaRe-Technologies/gensim"
  ],
  [
   "Last change",
   "Nov 1, 2025"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/rare-technologies.png"
}