{"id":23228,"library":"alacorder","title":"Alacorder","description":"Alacorder retrieves case detail PDFs from Alacourt.com and processes them into structured data tables for research. Version 81.2.26 supports Python 3.10+. It is actively maintained with frequent releases.","status":"active","version":"81.2.26","language":"python","source_language":"en","source_url":"https://github.com/ajrlewis/alacorder","tags":["legal","court-records","pdf","data-processing"],"install":[{"cmd":"pip install alacorder","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"The library is a module with functions; no top-level class named Alacorder.","wrong":"from alacorder import Alacorder","symbol":"alacorder","correct":"import alacorder"}],"quickstart":{"code":"import alacorder\n\n# Initialize with your credentials\ncase_id = \"2023-CA-001234\"\nusername = os.environ.get('ALACOURT_USER', '')\npassword = os.environ.get('ALACOURT_PASS', '')\n\n# Fetch case data\ncase_data = alacorder.get_case(case_id, username, password)\nprint(case_data.keys())","lang":"python","description":"Instantiate Alacorder with your Alacourt credentials and fetch a case."},"warnings":[{"fix":"Ensure Python 3.10+ is used, or install alacorder==80.x.x if stuck on older Python.","message":"API version 81.x drops support for Python <3.10. Upgrade Python or pin to alacorder<81.","severity":"breaking","affected_versions":">=81.0.0"},{"fix":"Replace `from alacorder import Alacorder; a = Alacorder()` with `import alacorder; alacorder.get_case(...)`.","message":"The `Alacorder` class was removed in version 81. Use module-level functions instead.","severity":"deprecated","affected_versions":">=81.0.0"},{"fix":"Insert delays (e.g., time.sleep(1)) between requests, especially for bulk processing.","message":"Rate limiting: too many requests in quick succession may trigger IP blocks from Alacourt.com.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use `import alacorder` and call module functions like `alacorder.get_case()`.","cause":"The class `Alacorder` was removed in version 81; only functions are available.","error":"ImportError: cannot import name 'Alacorder' from 'alacorder'"},{"fix":"Verify your credentials and ensure your Alacourt account is active. Use environment variables for security.","cause":"Username or password is incorrect, or the account is not authorized for Alacourt.","error":"alacorder.exceptions.AuthenticationError: Invalid credentials"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}