A Python library for multilingual profanity detection and filtering. It identifies and censors offensive or abusive words across multiple languages.
Project description
Wiqaya 🛡️
A Python library for multilingual profanity detection and filtering. It identifies and censors offensive or abusive words across multiple languages.
Installation
pip install wiqaya
Usage
from wiqaya import Wiqaya
w = Wiqaya(lang="en")
w.is_profane("damn") # True
w.is_profane("Hello World") # False
w.get_profane_words("this is damn annoying") # ['damn']
Supported Languages
| Code | Language | Code | Language | Code | Language |
|---|---|---|---|---|---|
| af | Afrikaans | am | Amharic | ar | العربية |
| az | Azerbaijani | be | Belarusian | bg | Bulgarian |
| ca | Catalan | ceb | Cebuano | cs | Czech |
| cy | Welsh | da | Danish | de | German |
| dz | Dzongkha | el | Greek | en | English |
| eo | Esperanto | es | Spanish | et | Estonian |
| eu | Basque | fa | Persian | fi | Finnish |
| fil | Filipino | fr | French | gd | Scottish Gaelic |
| gl | Galician | hi | Hindi | hr | Croatian |
| hu | Hungarian | hy | Armenian | id | Indonesian |
| is | Icelandic | it | Italian | ja | Japanese |
| kab | Kabyle | kh | Khmer | ko | Korean |
| la | Latin | lt | Lithuanian | lv | Latvian |
| mi | Maori | mk | Macedonian | ml | Malayalam |
| mn | Mongolian | mr | Marathi | ms | Malay |
| mt | Maltese | my | Burmese | nl | Dutch |
| no | Norwegian | pih | Norfuk | piy | Picard |
| pl | Polish | pt | Portuguese | ro | Romanian |
| rop | Kriol | ru | Russian | sk | Slovak |
| sl | Slovenian | sm | Samoan | sq | Albanian |
| sr | Serbian | sv | Swedish | ta | Tamil |
| te | Telugu | tet | Tetum | th | Thai |
| tlh | Klingon | to | Tongan | tr | Turkish |
| uk | Ukrainian | uz | Uzbek | vi | Vietnamese |
| yid | Yiddish | zh | Chinese | zu | Zulu |
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wiqaya-0.2.0.tar.gz.
File metadata
- Download URL: wiqaya-0.2.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bafe8a65af5314d0111d374249a644a905cf02ace8e54b547b891b4dc22a7e5
|
|
| MD5 |
1cf34be12263db3871f4c4bf5dc8595e
|
|
| BLAKE2b-256 |
614e020cc8356fabd4047e7a8d3172d93b65eace91111d49d2e41c0ccd2cf6c1
|
Provenance
The following attestation bundles were made for wiqaya-0.2.0.tar.gz:
Publisher:
publish.yml on be-at/wiqaya
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wiqaya-0.2.0.tar.gz -
Subject digest:
5bafe8a65af5314d0111d374249a644a905cf02ace8e54b547b891b4dc22a7e5 - Sigstore transparency entry: 1059795761
- Sigstore integration time:
-
Permalink:
be-at/wiqaya@9d9df30287fb0798ef6903158f45d96e96f969d0 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/be-at
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9d9df30287fb0798ef6903158f45d96e96f969d0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file wiqaya-0.2.0-py3-none-any.whl.
File metadata
- Download URL: wiqaya-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2d108e1e5d802b9f15bff0e388eabfe0212cf0d5bde15c05365cdcdab157c4a
|
|
| MD5 |
5fd45a9679d008779c60c7eea1ec39b4
|
|
| BLAKE2b-256 |
df13b6b4b9048cf672547230ffdfd4996f6a4d7a908409b4b2924085fda50b56
|
Provenance
The following attestation bundles were made for wiqaya-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on be-at/wiqaya
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wiqaya-0.2.0-py3-none-any.whl -
Subject digest:
b2d108e1e5d802b9f15bff0e388eabfe0212cf0d5bde15c05365cdcdab157c4a - Sigstore transparency entry: 1059795762
- Sigstore integration time:
-
Permalink:
be-at/wiqaya@9d9df30287fb0798ef6903158f45d96e96f969d0 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/be-at
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9d9df30287fb0798ef6903158f45d96e96f969d0 -
Trigger Event:
release
-
Statement type: