Skip to main content

langchain-huggingface

PyPI - Version PyPI - License PyPI - Downloads Twitter

Looking for the JS/TS version? Check out LangChain.js.

Quick Install

uv add langchain-huggingface

Note: The base install does not include sentence-transformers or transformers. If you plan to use HuggingFaceEmbeddings or HuggingFacePipeline for local inference, install the [full] extra which includes sentence-transformers>=5.2.0 and transformers>=5.0.0:

uv add "langchain-huggingface[full]"

Migrating from langchain-community? Note that langchain-community accepted sentence-transformers>=2.2.0, but langchain-huggingface[full] requires >=5.2.0. If your project pins an older version, upgrade it:

uv add "sentence-transformers>=5.2.0"

🤔 What is this?

This package contains the LangChain integrations for Hugging Face related classes.

📖 Documentation

For full documentation, see the API reference. For conceptual guides, tutorials, and examples on using these classes, see the LangChain Docs.

📕 Releases & Versioning

See our Releases and Versioning policies.

💁 Contributing

As an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.

For detailed information on how to contribute, see the Contributing Guide.

Resources

  • LangChain Academy — comprehensive, free courses on LangChain libraries and products, made by the LangChain team
  • Code of Conduct — community guidelines and standards

Metadata

Release files for langchain-huggingface 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-huggingface 1.3.0
File Size Uploaded Provenance Actions
langchain_huggingface-1.3.0.tar.gz 248.8 kB Without provenance Details for langchain_huggingface-1.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for langchain-huggingface 1.3.0
File Interpreter ABI Platform Actions
langchain_huggingface-1.3.0-py3-none-any.whl Python 3 none any Details for langchain_huggingface-1.3.0-py3-none-any.whl

Total release size: 283.5 kB

Release files / langchain_huggingface-1.3.0.tar.gz

Download URL langchain_huggingface-1.3.0.tar.gz
Size 248.8 kB
Tags Source
SHA-256 checksum
How to use checksums
37acedc5e40d75045b3b9ceed4a29d62c1af306d17012b5d86c97966dd8561bb
BLAKE2b-256 checksum
How to use checksums
ed149ace05172c24e010da5ecbdd65f564e6bf455e5dafbb5678289ff552b67c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / langchain_huggingface-1.3.0-py3-none-any.whl

Download URL langchain_huggingface-1.3.0-py3-none-any.whl
Size 34.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2944be5f2de653944565b6696d4c1bb72b8b8c54f12fc531c0896637d941de23
BLAKE2b-256 checksum
How to use checksums
739a4b082023122f3bcc4206071aaf7d3f1f65df627da8014f4a19952265ee0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Security for langchain-huggingface 1.3.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.

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page