CPython bindings for go-readability (FromString)
Project description
pygoreadability
CPython bindings for codeberg.org/readeck/go-readability/v2 exposing FromString.
Development
Build the Go shared library for your current platform:
bash scripts/build_lib.sh
Then in Python:
from pygoreadability import from_string
article = from_string(html, url="https://example.com")
print(article.title)
Wheels
This package is designed to ship prebuilt wheels. Use cibuildwheel to build
platform-specific wheels for macOS arm64 and Linux x86_64.
Environment:
GOREADABILITY_VERSION(optional): version/tag override (defaults to the version ingo/go.mod).PYGOREADABILITY_SKIP_BUILD=1to skip the build step (expects the shared library to already be present in the package directory).PYGOREADABILITY_AUTO_BUILD=0to disable import-time auto-build fallback (useful for constrained environments).
Null bytes
from_string accepts Unicode strings that may contain embedded null bytes
(\x00) because the binding passes explicit lengths across the FFI boundary.
Output fields are length-prefixed in the C bridge as well, so embedded null bytes in extracted text won't be truncated.
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
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 pygoreadability-0.2.6.tar.gz.
File metadata
- Download URL: pygoreadability-0.2.6.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32df29eb302cd54718654b754cf22c07b15aa466bb96facee821cdeaa6d7e1d8
|
|
| MD5 |
1b186b32bf0ee4117db29a9d44c27a6d
|
|
| BLAKE2b-256 |
7fd4a65822f0c62eb840c43538a57a378cfac19c9ce3490e9351ed2565c6e21c
|
File details
Details for the file pygoreadability-0.2.6-cp312-cp312-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pygoreadability-0.2.6-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec41a0f0137ef5b5316cde841db0635db70d9df39b82f46d3ca2b133f7d91469
|
|
| MD5 |
b801ddbc9b47c964ef40fae1b520df94
|
|
| BLAKE2b-256 |
e1232037766090b73a65946a97c4890bdaa7849e1056b9cd6d07e1150432ff0f
|
File details
Details for the file pygoreadability-0.2.6-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pygoreadability-0.2.6-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c877425037f7e289d3f1fc9e74fa482bc863e6a8c244f38ce5a9185428d5949
|
|
| MD5 |
19d6b45f4e99eedc651c98650ac35ec9
|
|
| BLAKE2b-256 |
d0a5e48c17a970df1ee297ceb810fd410a97d7714a8291fae77b92da2445c60e
|
File details
Details for the file pygoreadability-0.2.6-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: pygoreadability-0.2.6-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24986058143bca559b9ee83fe873b44869a9a958b22ea24e221c88a0f13b2b18
|
|
| MD5 |
bb148c073236518b4c0dc945923d93d2
|
|
| BLAKE2b-256 |
d2308271ae67354305311d2159ca1996d37a63c0ba6543d63b2bdfadaa75639b
|
File details
Details for the file pygoreadability-0.2.6-cp311-cp311-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pygoreadability-0.2.6-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a45ab2be54714fb828b40e34a4e950fca4d201a44abd9b367d9b098b675a59cd
|
|
| MD5 |
ace57e0193a5ac80f9087bbc772544ae
|
|
| BLAKE2b-256 |
3562593d55548634edf170062926eeb4ac71b4ea4c8461c1a87c21ad08c2ce57
|
File details
Details for the file pygoreadability-0.2.6-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pygoreadability-0.2.6-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fac2c3d37ceaf53b7e57beda90faeda24a7416e3f67c9bc87531b123e098378
|
|
| MD5 |
887893c1f1f6bdbf5e9bfee06b6ef52a
|
|
| BLAKE2b-256 |
75cbf6ce71f8a5dfa4fca509dfeb0f97e0b1548623c422c9a47f514c54097473
|
File details
Details for the file pygoreadability-0.2.6-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: pygoreadability-0.2.6-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be45e7e2ef578f9e1950683039380c37eaa693d1112dd2b93161f03a71e6b0d8
|
|
| MD5 |
2977af2abb0ebec21e25b939a5b70bc2
|
|
| BLAKE2b-256 |
a356f015d3eaf2fa64d8d1300845a39058be13dc2e5c14b286a30ef3385fc59e
|
File details
Details for the file pygoreadability-0.2.6-cp310-cp310-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pygoreadability-0.2.6-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aabf3d069a570db9d4574a91c5b47b459f1c468cbbd03ecd8f3a4e4aa5558f7d
|
|
| MD5 |
4a246b9fe32e35a991e12bdf5582f90f
|
|
| BLAKE2b-256 |
a2d83e1623f6abbe3155fc6b43ea308e161497974e466f928fca9f098e3f523c
|
File details
Details for the file pygoreadability-0.2.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pygoreadability-0.2.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea58f0f3cc19ce04e9a57eb9946d08195c4d689b3e3999fa5b19b8e92551ad53
|
|
| MD5 |
6bff9ce402ba21cd401131186e44057b
|
|
| BLAKE2b-256 |
1aa48b233679f9edf83b689f5e6befbaf2c43de019c2d0e43651055ff05a9fdb
|
File details
Details for the file pygoreadability-0.2.6-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: pygoreadability-0.2.6-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de64c756fddd3c7ebef9bed4e09061646ececeecadab81ebe50a749e781f47d6
|
|
| MD5 |
1e0431b42f65bcfb8843e04ca1c50dad
|
|
| BLAKE2b-256 |
e4ece702f94f860b5245ea87e517ba9535b9f54e555a44f93cc6ca703e2949ec
|
File details
Details for the file pygoreadability-0.2.6-cp39-cp39-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pygoreadability-0.2.6-cp39-cp39-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.9, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9a09bbe58f5fbcc6c55ce7b6b953a730d46c7f1efa5e06f108af64ed14f39b3
|
|
| MD5 |
d52f04164f15c2f5d686d9540df24626
|
|
| BLAKE2b-256 |
4d625050c5038d39cd2386d4d908c3b8e3dadcc51d43901558db4117b48569e1
|
File details
Details for the file pygoreadability-0.2.6-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pygoreadability-0.2.6-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5706f74b2ef42ee292bcb40dc9f63065b8d0e6b2ffa60235410994e078388ca
|
|
| MD5 |
be4375988fae3271e86acba45bf311b5
|
|
| BLAKE2b-256 |
4f7a46e28b8aa0156760cc457ec116029f4f6f5337f2b3cb7bc0a3b46989d0b8
|
File details
Details for the file pygoreadability-0.2.6-cp39-cp39-macosx_11_0_arm64.whl.
File metadata
- Download URL: pygoreadability-0.2.6-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e29dd5484354fdb3ef595fe35d22745408e7b7d80eb5c378284ba484fe6717c1
|
|
| MD5 |
2293399aaf1c4f49d870e0270d77e307
|
|
| BLAKE2b-256 |
a33e1eed338c4b4c32ca97d4be3197eff3eef057dc463b0a511ef9add85666b2
|