{"library":"spotlight","title":"Spotlight","type":"library","description":"Data validation library for Python, inspired by Laravel's validation system. Current version 3.4.0, supports Python >=3.6. Active development with frequent releases.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install spotlight"],"cli":null},"imports":["from spotlight import Validator","from spotlight import ValidationError","from spotlight import validate"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"https://github.com/mdoesburg/spotlight","docs":"https://github.com/mdoesburg/spotlight","changelog":null,"pypi":"https://pypi.org/project/spotlight/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"from spotlight import Validator\n\nv = Validator({'email': 'user@example.com'}, {'email': 'required|email'})\nif v.passes():\n    print('Validation passed')\nelse:\n    print(v.errors())","lang":"python","description":"Minimal example of creating a Validator instance, checking passes, and retrieving errors.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}