A Python wrapper for the Siwar Arabic Lexicon API (siwar.ksaa.gov.sa). This library provides easy access to Arabic lexical data, word meanings, roots, patterns, and morphological information.
pip install siwar-api
- Obtian an API key.
from siwar import SiwarClient
# Initialize client
client = SiwarClient(api_key='your-api-key')
# Search public entries
results = client.search_public('Ù…Øرك')
# Get lexicon information
lexicons = client.get_public_lexicons()
# Get word details
senses = client.get_entry_senses('Ù…Øرك')
conjugations = client.get_entry_conjugations('Ù…Øرك')
- Complete coverage of Siwar API endpoints
- Support for both public and private lexicon access
- Rich Arabic language processing utilities
- Type hints for better IDE support
- Comprehensive error handling
- Detailed documentation
For full documentation and examples, visit our GitHub Wiki.
We welcome contributions! Please see our Contributing Guidelines for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Siwar Arabic Lexicon for providing the API
- All our contributors
- API documentaion
If you encounter any problems or have suggestions, please open an issue.