How saidsurucu/verify-lawyer works
This Python package searches and verifies lawyers against the Turkish Bar Association database, through either a Python API or a CLI. The main workflow is to submit search criteria, automate the registry search, extract matching records, and either return all matches or reduce them to a single existence check. The README also documents trainee searches and Cloudflare handling. The graph reflects the sampled core and CLI code; the browser automation and registry are external dependencies, not repository modules.
Main entry points: core.py Lawyer search · __init__.py Python API exports · cli.py CLI
Components 9
User interfaces
- Python API exports
verify_lawyer/__init__.py - CLI
verify_lawyer/cli.py
Search workflow
- Lawyer search
verify_lawyer/core.py - Lawyer verification
verify_lawyer/core.py - Result extraction
verify_lawyer/core.py
External systems
- Scrapling fetcher
- Bar association registry
- Cloudflare challenge
Other components
- User
Connections 11
- User → CLI: runs
README.md - User → Python API exports: calls
README.md - CLI → Lawyer search: dispatches search
verify_lawyer/cli.py - CLI → Lawyer verification: dispatches verify
verify_lawyer/cli.py - Python API exports → Lawyer search: exports
verify_lawyer/__init__.py - Python API exports → Lawyer verification: exports
verify_lawyer/__init__.py - Lawyer verification → Lawyer search: calls
verify_lawyer/core.py - Lawyer search → Scrapling fetcher: fetches with
verify_lawyer/core.py - Scrapling fetcher → Bar association registry: queries
- Lawyer search → Result extraction: evaluates
verify_lawyer/core.py - Scrapling fetcher → Cloudflare challenge: solves challenge