Extractous Python Binding
Project description
Extractous Python Bindings
This project provides Python bindings for the Extractous library, allowing you to use extractous functionality in your Python applications.
Installation
To install the extractous Python bindings, you can use pip:
pip install extractous
Usage
Extracting a file to string:
from extractous import Extractor
extractor = Extractor()
extractor.set_extract_string_max_length(1000)
result = extractor.extract_file_to_string("README.md")
print(result)
Extracting a file to a buffered stream:
from extractous import Extractor
extractor = Extractor()
reader = extractor.extract_file("tests/quarkus.pdf")
result = ""
buffer = reader.read(4096)
while len(buffer) > 0:
result += buffer.decode("utf-8")
buffer = reader.read(4096)
print(result)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file extractous-0.1.6.tar.gz
.
File metadata
- Download URL: extractous-0.1.6.tar.gz
- Upload date:
- Size: 147.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 587c2ec15c6d7ea7d68a5af026c736c91cafb7b958e4f59de5655e1374465937 |
|
MD5 | 4e3b3506d0c1499bebb4921b9444a7d6 |
|
BLAKE2b-256 | 04008c8e0708277f0d4a3f2a14d6eee6aae473a5ae747ff6e15a97d0fdaf5404 |
Provenance
The following attestation bundles were made for extractous-0.1.6.tar.gz
:
Publisher:
release_python.yml
on yobix-ai/extractous
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
extractous-0.1.6.tar.gz
- Subject digest:
587c2ec15c6d7ea7d68a5af026c736c91cafb7b958e4f59de5655e1374465937
- Sigstore transparency entry: 145107292
- Sigstore integration time:
- Predicate type:
File details
Details for the file extractous-0.1.6-cp38-abi3-win_amd64.whl
.
File metadata
- Download URL: extractous-0.1.6-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 38.9 MB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67133379adc6dd00ac32a0571987a7f3dd7273a3526cd1862d0d4f6253df1e0c |
|
MD5 | 752e796ee3a58bd0ce297c6a3709264b |
|
BLAKE2b-256 | ba3aab4022c378050bd668238e0970f82b5421bccef39162e431f9bfb51e89a2 |
Provenance
The following attestation bundles were made for extractous-0.1.6-cp38-abi3-win_amd64.whl
:
Publisher:
release_python.yml
on yobix-ai/extractous
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
extractous-0.1.6-cp38-abi3-win_amd64.whl
- Subject digest:
67133379adc6dd00ac32a0571987a7f3dd7273a3526cd1862d0d4f6253df1e0c
- Sigstore transparency entry: 145107295
- Sigstore integration time:
- Predicate type:
File details
Details for the file extractous-0.1.6-cp38-abi3-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: extractous-0.1.6-cp38-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 40.1 MB
- Tags: CPython 3.8+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac3ed59cc8c0b5f4f0840605ddf2e54532bfee153fa700cdc0043b98bc5eb0cb |
|
MD5 | 661c146d63f963cdb72e4c562faebaed |
|
BLAKE2b-256 | f163c22a06b47697a176c9c115a57ae33b06e3473ba45f001ad13a411f83961b |
Provenance
The following attestation bundles were made for extractous-0.1.6-cp38-abi3-manylinux_2_28_x86_64.whl
:
Publisher:
release_python.yml
on yobix-ai/extractous
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
extractous-0.1.6-cp38-abi3-manylinux_2_28_x86_64.whl
- Subject digest:
ac3ed59cc8c0b5f4f0840605ddf2e54532bfee153fa700cdc0043b98bc5eb0cb
- Sigstore transparency entry: 145107304
- Sigstore integration time:
- Predicate type:
File details
Details for the file extractous-0.1.6-cp38-abi3-macosx_11_0_arm64.whl
.
File metadata
- Download URL: extractous-0.1.6-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 46.6 MB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6136eebd90ae9d11a0cbf668fd5252bcf1d23ce4768187276841b8897bd257a6 |
|
MD5 | 132698dca937ee49cfb403435bd91a11 |
|
BLAKE2b-256 | f50d2d0f09b38568bd1f5c2eafeab430fa4cdbe4016ec83860e9f69bfbc8944d |
Provenance
The following attestation bundles were made for extractous-0.1.6-cp38-abi3-macosx_11_0_arm64.whl
:
Publisher:
release_python.yml
on yobix-ai/extractous
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
extractous-0.1.6-cp38-abi3-macosx_11_0_arm64.whl
- Subject digest:
6136eebd90ae9d11a0cbf668fd5252bcf1d23ce4768187276841b8897bd257a6
- Sigstore transparency entry: 145107297
- Sigstore integration time:
- Predicate type:
File details
Details for the file extractous-0.1.6-cp38-abi3-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: extractous-0.1.6-cp38-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 47.5 MB
- Tags: CPython 3.8+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 310d92ad9b172cd43fe4ae2a267215ed2c3557251362edbf2b5115da84a334b6 |
|
MD5 | e62c0e0837f84c0328dbaa8021351b6c |
|
BLAKE2b-256 | f874999f8beba3aab9243fbd0d44fe18ea2b8349f2c116e9170b577f781b8f9b |
Provenance
The following attestation bundles were made for extractous-0.1.6-cp38-abi3-macosx_10_12_x86_64.whl
:
Publisher:
release_python.yml
on yobix-ai/extractous
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
extractous-0.1.6-cp38-abi3-macosx_10_12_x86_64.whl
- Subject digest:
310d92ad9b172cd43fe4ae2a267215ed2c3557251362edbf2b5115da84a334b6
- Sigstore transparency entry: 145107301
- Sigstore integration time:
- Predicate type: