{"id":21007,"library":"bloodhound-ce","title":"BloodHound CE Python","description":"Python-based ingestor for BloodHound Community Edition. Version 1.9.1 provides a CLI tool to collect Active Directory data (users, groups, computers, ACLs, sessions, etc.) and upload it to a BloodHound CE server. Release cadence is irregular with infrequent updates.","status":"active","version":"1.9.1","language":"python","source_language":"en","source_url":"https://github.com/dirkjanm/bloodhound.py","tags":["bloodhound","active-directory","security","pentesting"],"install":[{"cmd":"pip install bloodhound-ce","lang":"bash","label":"PyPI install"}],"dependencies":[],"imports":[{"note":"Old path changed in v1.x; direct import from bloodhound no longer works.","wrong":"from bloodhound import BloodHound","symbol":"BloodHound","correct":"from bloodhound.ad.domain import BloodHound"},{"note":null,"wrong":null,"symbol":"ADDomain","correct":"from bloodhound.ad.domain import ADDomain"}],"quickstart":{"code":"from bloodhound.ad.domain import ADDomain\n\ndomain = ADDomain(\n    username='DOMAIN\\\\user',\n    password='secret',\n    domain='domain.local',\n    dc='dc01.domain.local'\n)\nprint(domain.name)\nprint(domain.sid)\nfor comp in domain.computers():\n    print(comp['samaccountname'])","lang":"python","description":"Basic usage: connect to a domain controller, retrieve domain info and list computers."},"warnings":[{"fix":"Use 'import bloodhound' (no hyphen) after installing bloodhound-ce.","message":"The package name on PyPI is 'bloodhound-ce' (with hyphen), but the importable module is 'bloodhound' (without hyphen). Using pip install bloodhound-ce is correct, but 'import bloodhound-ce' is syntax error.","severity":"breaking","affected_versions":"all"},{"fix":"Run 'bloodhound-python --help' to see available commands.","message":"The CLI command 'bloodhound-python' is the canonical entry point. Not 'bloodhound-ce' or 'bloodhound'.","severity":"gotcha","affected_versions":"all"},{"fix":"Uninstall old package: pip uninstall bloodhound; then install bloodhound-ce.","message":"The old 'bloodhound' package (original BloodHound ingestor) is no longer maintained. Users should migrate to 'bloodhound-ce'.","severity":"deprecated","affected_versions":"<=0.5.4"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Use 'import bloodhound' (no hyphen).","cause":"Installed 'bloodhound-ce' but tried to import 'bloodhound-ce' directly.","error":"ModuleNotFoundError: No module named 'bloodhound'"},{"fix":"Use correct import: from bloodhound.ad.domain import BloodHound","cause":"Old import pattern from legacy version.","error":"AttributeError: module 'bloodhound' has no attribute 'ad'"},{"fix":"Run 'python -m bloodhound' instead, or ensure the Scripts directory is in PATH.","cause":"pip install did not put the script in PATH (common on Windows or virtualenv not activated).","error":"bloodhound-python: command not found"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}