sqlite3_arabic_tokenizer
This package provides an SQLite3 Python wrapper bundled
with sqlite3_arabic_tokenizer. It's a drop-in replacement
for the standard library's sqlite3 module as the std one doesn't
support loading extension.
pip install sqlite3_arabic_tokenizer
import sqlite3_arabic_tokenizer
# load the tokenizer
sqlite3_arabic_tokenizer.load()
# has the same API as the default `sqlite3` module
conn = sqlite3_arabic_tokenizer.connect(":memory:")
conn.execute("create table quran(sura, ayah, text)")
# and comes with the `sqlite3_arabic_tokenizer`
cur = conn.execute("create table quran(sura, ayah, text, tokenize='arabic_tokenizer')")
print(cur.fetchone())
conn.close()
Installation
A binary package (wheel) is available for the following operating systems:
- Windows (64-bit)
- Linux (64-bit)
- macOS (both Intel and Apple processors)
pip install sqlite3_arabic_tokenizer
Building from source
For development purposes only.
Prepare source files:
make prepare-src
make download-sqlite
make download-sqlite3_arabic_tokenizer
Build and test the package:
make clean
python setup.py build_ext -i
python -m test
python -m pip wheel . -w dist
Credits
Based on the pysqlite3 project. Available under the Zlib license. Packaging help from sqlean.py
Metadata
Release files for sqlite3-arabic-tokenizer 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sqlite3_arabic_tokenizer-0.0.1.tar.gz | 2.8 MB | Without provenance | Details for sqlite3_arabic_tokenizer-0.0.1.tar.gz |
Release files / sqlite3_arabic_tokenizer-0.0.1.tar.gz
| Download URL | sqlite3_arabic_tokenizer-0.0.1.tar.gz |
|---|---|
| Size | 2.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
503b602a79a1f416bd619476aa4c1b3f0a2f475a0113d63fda45aafaafa3ee11
|
|
BLAKE2b-256 checksum How to use checksums |
82f7a1e222943b94f6a5d8a3504e6f7d97717ff62c85b50e23695a6b836734ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.2
|
Security for sqlite3-arabic-tokenizer 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.