{"id":27344,"library":"repomix","title":"Repomix","description":"A tool for analyzing and summarizing code repositories into a single text file for LLM context. Supports multiple output formats and file exclusion rules. Current version: 0.5.0, released on PyPI with monthly releases.","status":"active","version":"0.5.0","language":"python","source_language":"en","source_url":"https://github.com/yamadashy/repomix","tags":["repository analysis","code summarization","LLM","context generation"],"install":[{"cmd":"pip install repomix","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"wrong":"from repomix import Repomix","symbol":"RepoProcessor","correct":"from repomix import RepoProcessor"},{"wrong":"from repomix import Repomix","symbol":"RepomixConfig","correct":"from repomix import RepomixConfig"},{"wrong":"from repomix import Repomix","symbol":"load_config","correct":"from repomix import load_config"}],"quickstart":{"code":"from repomix import Repomix\n\n# Initialize with a repository path\nrepomix = Repomix(path='/path/to/repo')\n\n# Run analysis (default format is text)\nresult = repomix.run()\n\n# Access summary\nprint(result.summary)\n\n# Output to file\nresult.to_file('output.txt')","lang":"python","description":"Basic usage to analyze a local repository and save the summary."},"warnings":[{"fix":"Use `run()` instead of `analyze()`.","message":"Version 0.5.0 renamed the method `analyze()` to `run()`. Old code using `repomix.analyze()` will break.","severity":"breaking","affected_versions":">=0.5.0"},{"fix":"Pass `format='json'` to `run()` instead of setting `output_format`.","message":"The `output_format` parameter was removed in 0.5.0; use format-specific methods or the `format` argument in `run()`.","severity":"breaking","affected_versions":">=0.5.0"},{"fix":"Use Python 3.10 or higher.","message":"Repomix requires Python >=3.10. Installing on older Python versions will fail with a syntax error.","severity":"gotcha","affected_versions":"all"},{"fix":"Use `['*.pyc', 'node_modules/*']` instead of `['.*\\.pyc', 'node_modules/.*']`.","message":"When specifying `exclude_patterns`, use Unix glob patterns, not regex. Common mistake is using regex-like patterns.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.5.0':28 'analysi':36 'analyz':5 'code':8,37 'context':17,40 'current':26 'exclus':24 'file':14,23 'format':21 'generat':41 'llm':16,39 'month':33 'multipl':19 'output':20 'pypi':31 'releas':29,34 'repomix':1 'repositori':9,35 'rule':25 'singl':12 'summar':7,38 'support':18 'text':13 'tool':3 'version':27","created_at":"2026-05-01T17:45:46.788484+00:00","updated_at":"2026-05-01T17:45:46.788484+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"repomix","cli_version":"0.5.0","type":"library","homepage":"https://repomix.com","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/repomix/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["llm-agents","devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-30","last_verified":"2026-06-30","next_check":"2026-07-30","install_tag":null}}