This release is a pre-release and may not be stable for production use.
Enhancing A.I. Technology for the Betterment of All.
Python SDK Version: 0.0.1
The BRAHMAI Python library provides convenient access to the BRAHMAI REST API from any Python 3.7+ application. The library includes type definitions for all request params and response fields, and offers both synchronous and asynchronous clients powered by httpx.
The BRAHMAI Python library also allows management of data and take care of security without having to rely on any third-party code.
PROVISIONS:
SkyNET: Privacy Protection and Data Anonymization Framework.
It offers rapid identification and anonymization capabilities for sensitive information in both text and images, including but not limited to credit card numbers, personal names, locations, social security numbers, bitcoin wallets, phone numbers, financial data, and beyond.
Example:
from brahmai import BRAHMAI
client = BRAHMAI(
apikey: "your_api_key",
api_version: "default"
)
text = "Hey there, my name is Aron, and my phone number is 8585665***"
# Simple masking of data:
encrypt = client.skynet.wrap(content=text)
returns something like:
{
"text": "Hey there, my name is <PERSON>, and my phone number is <PHONE_NUMBER>",
"items": [
{
"start": 55,
"end": 69,
"entity_type": "PHONE_NUMBER",
"text": "<PHONE_NUMBER>",
"operator": "replace"
},
{
"start": 22,
"end": 30,
"entity_type": "PERSON",
"text": "<PERSON>",
"operator": "replace"
}
]
}
# Masking data with encryption:
encrypt = client.skynet.wrap(content=text, encrypt=True)
Metadata
Release files for brahmai 0.1.0a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| brahmai-0.1.0a0.tar.gz | 74.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| brahmai-0.1.0a0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 199.2 kB
Release files / brahmai-0.1.0a0.tar.gz
| Download URL | brahmai-0.1.0a0.tar.gz |
|---|---|
| Size | 74.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d37b1a0db39d3cba9d49e83e9fa0043c63a6692d64d968c43ed06987d8cfc26b
|
|
BLAKE2b-256 checksum How to use checksums |
605977902af778c6b48df0d2804020f1e24fb6eb0ab18b7c4116dfbf864f2f9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Release files / brahmai-0.1.0a0-py3-none-any.whl
| Download URL | brahmai-0.1.0a0-py3-none-any.whl |
|---|---|
| Size | 125.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f84dd8d2a2f473d20c9ea79b352c0ec95364b39a788a54c6088df851ac1e7d70
|
|
BLAKE2b-256 checksum How to use checksums |
710deb2bedac191c23aefc1e6e504c35fcaef594fd14167dcb9ac6511b47f7df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|