Python wrapper for the Siwar Arabic Lexicon API
Project description
Siwar API
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.
Installation
pip install siwar-api
Quick Start
- 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('محرك')
Features
- 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
Documentation
For full documentation and examples, visit our GitHub Wiki.
Contributing
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
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Siwar Arabic Lexicon for providing the API
- All our contributors
- API documentaion
Support
If you encounter any problems or have suggestions, please open an issue.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file siwar_api-0.1.0.tar.gz
.
File metadata
- Download URL: siwar_api-0.1.0.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f25f0efe23b1965e3e5de9bf20536ed664bc07c886209022d060939c6e95401 |
|
MD5 | bab5e8c3f8b9b17d3da72778ffc2360c |
|
BLAKE2b-256 | bd2f13e725652e2110e3b899d59e0b5eef10419eeaa3a6617bc82bbaacb59f0f |
Provenance
The following attestation bundles were made for siwar_api-0.1.0.tar.gz
:
Publisher:
release.yml
on osama-ata/siwar-api
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
siwar_api-0.1.0.tar.gz
- Subject digest:
1f25f0efe23b1965e3e5de9bf20536ed664bc07c886209022d060939c6e95401
- Sigstore transparency entry: 147013125
- Sigstore integration time:
- Predicate type:
File details
Details for the file siwar_api-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: siwar_api-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45a7bf556ebcb95575af0050c9c9953614649f27d5b4ae9209a9833a1ba7417e |
|
MD5 | fb70c565bbfea1e14c90afcb6fedb385 |
|
BLAKE2b-256 | fc3249f2cfb797c91f7546b303326322e0a4230a99233eb097dd2fb852c2d795 |
Provenance
The following attestation bundles were made for siwar_api-0.1.0-py3-none-any.whl
:
Publisher:
release.yml
on osama-ata/siwar-api
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
siwar_api-0.1.0-py3-none-any.whl
- Subject digest:
45a7bf556ebcb95575af0050c9c9953614649f27d5b4ae9209a9833a1ba7417e
- Sigstore transparency entry: 147013126
- Sigstore integration time:
- Predicate type: