mObywrapper is a Python wrapper that replicates the functionality of the official Polish eID verificator website. It allows you to programmatically verify Polish eIDs using the publicly available verification API. This is intended for educational and testing purposes only.
Installation:
You can install mobywrapper using uv (recommended) or pip.
β‘οΈ uv pip install git+https://github.com/wiktordudek/mobywrapper.git
π’ pip install git+https://github.com/wiktordudek/mobywrapper.git
Usage Example:
There are 2 demo examples available:
- demo/demo_simple.py β A simple example application demonstrating the core verification flow.
- demo/demo_full.py β A more comprehensive library usage demo that provides a complete demonstration of an example application's functionality.
- This is an unofficial implementation and is not endorsed by or affiliated with the Polish government or the mObywatel app developers;
- The accuracy and reliability of the verification process depend on the official API and the correctness of the implementation. Always verify the results with the official website.
- Before collecting other people's data, make sure you meet all the GDPR requirements. Storing personal data makes you a personal data administrator.
Contributions are welcome! If you've found a bug or have a suggestion for improvement, please submit an issue or pull request.
For code formatting please use Ruff with default settings β a Ruff VSCode extension is available.
mObywrapper is licensed under the MIT License. See the LICENSE file for more details.