langchain-megalania
LangChain document loader and tools for the Megalania scraping API.
pip install langchain-megalania
export MEG_API_KEY=...
from langchain_megalania import MegalaniaLoader, megalania_tools
docs = MegalaniaLoader(["https://docs.megalania.io/"]).load()
crawl = MegalaniaLoader("https://docs.megalania.io/", crawl={"max_pages": 20}).load()
tools = megalania_tools()
- The loader returns Markdown with
source,request_id,credits_chargedandtarget_statusin the metadata. A blocked page raisesMegalaniaError; passcontinue_on_failure=Trueto skip it. - The tools are
scrape,map_site,create_batchandget_batch. Each page costs at mostmax_credits(default 128); passmegalania_tools(max_credits=...)to raise it. - One
create_batchcall takes at mostmax_pagespages (default 100), crawls included; passmegalania_tools(max_pages=...)to raise it. The agent can raise neither cap. - Blocked pages and errors are free.
Guide: https://docs.megalania.io/integrations/langchain. MIT license.
Metadata
Release files for langchain-megalania 0.1.0
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 | Actions |
|---|---|---|---|---|
| langchain_megalania-0.1.0.tar.gz | 6.7 kB | With provenance | Details for langchain_megalania-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| langchain_megalania-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for langchain_megalania-0.1.0-py3-none-any.whl |
Total release size: 14.0 kB
Release files / langchain_megalania-0.1.0.tar.gz
| Download URL | langchain_megalania-0.1.0.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7274c33effc986358a199e2bba06a8057ddc691950e5d5c19eb6ff44263023c
|
|
BLAKE2b-256 checksum How to use checksums |
61fd9497be50d1de3d2ff3b4ce5ee8d5d659fbdde84509f64ec2288abedb4b3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 8, 2026.
Transparency logRelease files / langchain_megalania-0.1.0-py3-none-any.whl
| Download URL | langchain_megalania-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7b4b0aa49492696cfe66a9c238d4db47020fb2278d2166aaf27d252c72f03a6
|
|
BLAKE2b-256 checksum How to use checksums |
4de5f519c9a64f4e88916cb6389f01036900c2071ab3cad5da2fff92eb8d2820
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 8, 2026.
Transparency logSecurity for langchain-megalania 0.1.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for langchain_megalania-0.1.0.tar.gz
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 Nov 8, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.