TrueLink
A Python library for resolving media URLs to direct download links from various file hosting services.
Features
- Asynchronous: Built with
async/awaitfor efficient handling of multiple requests. - Easy to use: Simple API with intuitive method names.
- Extensible: Support for multiple file hosting platforms.
- Caching: Built-in caching for faster resolution of repeated requests.
- Error handling: Robust error handling for various edge cases.
- URL validation: Built-in URL validation before processing.
- Type-hinted: Fully type-hinted codebase for better readability and maintainability.
Installation
pip install truelink
Quick Start
import asyncio
from truelink import TrueLinkResolver
async def main():
# Check if a URL is supported without creating an instance
if TrueLinkResolver.is_supported("https://buzzheavier.com/rnk4ut0lci9y"):
print("BuzzHeavier is supported!")
resolver = TrueLinkResolver()
url = "https://buzzheavier.com/rnk4ut0lci9y"
try:
result = await resolver.resolve(url)
print(type(result))
print(result)
except Exception as e:
print(f"Error processing {url}: {e}")
asyncio.run(main())
Documentation
For more information, see the documentation.
Community
Release files for truelink 1.4.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| truelink-1.4.8.tar.gz | 30.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| truelink-1.4.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 77.0 kB
Release files / truelink-1.4.8.tar.gz
| Download URL | truelink-1.4.8.tar.gz |
|---|---|
| Size | 30.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af5192748ac2f93a229e1a00a88a09440cbcce6ec22430db2e761a7d13bfeff4
|
|
BLAKE2b-256 checksum How to use checksums |
c615dd7eb9ad466a640fdc86a907c2aabb6b6259ba0ec9f894f7f9555f1c3a11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 1, 2025.
Transparency logRelease files / truelink-1.4.8-py3-none-any.whl
| Download URL | truelink-1.4.8-py3-none-any.whl |
|---|---|
| Size | 46.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
485fafabe2ce48c3c4d8797f7413cfd389b60d3407a57827e3acea6ca3418ffa
|
|
BLAKE2b-256 checksum How to use checksums |
10ce9cc2de27ad6d549d23229a83204d092dab920ba6f36a36e74cacbf1ea939
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 1, 2025.
Transparency log