Installation
uv pip install teraflopai-daft
Usage
Text Segmentation
import daft
from teraflopai_daft import attach_teraflopai_provider
from teraflopai_daft.expressions import segment_text
attach_teraflopai_provider()
df = daft.from_pydict(
{
"text": [
"City of Houma",
"UNITED STATES of America, Appellee, v. Daniel Dee VEON, Appellant.",
]
}
)
df = df.with_column("segments", segment_text(df["text"], provider="teraflopai"))
df.show()
Search
import daft
from teraflopai_daft import attach_teraflopai_provider
from teraflopai_daft.expressions import search_text
attach_teraflopai_provider()
df = daft.from_pydict(
{
"text": [
"City of Houma",
"Daniel Dee VEON",
]
}
)
df = df.with_column("search", search_text(df["text"], provider="teraflopai"))
df.show()
Metadata
Release files for teraflopai-daft 0.1.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 | |
|---|---|---|---|---|
| teraflopai_daft-0.1.1.tar.gz | 3.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| teraflopai_daft-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.2 kB
Release files / teraflopai_daft-0.1.1.tar.gz
| Download URL | teraflopai_daft-0.1.1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f500da3003aea95dec41138e8fa3ded03d8801b472753e3f872c3d550d7a1822
|
|
BLAKE2b-256 checksum How to use checksums |
80a48945141fdd5b07ec27cf77ee4fd4f2a7d81ce3905b669001c3ef7a2d988d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.3
|
Release files / teraflopai_daft-0.1.1-py3-none-any.whl
| Download URL | teraflopai_daft-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
69a64135b6267c036db1ff2f53eea52c48e7e7831b842ae02ed0d5964b6c7556
|
|
BLAKE2b-256 checksum How to use checksums |
9c74b9f7a4a44cb54255a7782af61cb9cb99989ec68d8b4cd75c7ef78772faa5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.3
|
Security for teraflopai-daft 0.1.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.