Skip to main content

langchain-asimov

License Compatibility Package Documentation

LangChain integration with ASIMOV, a polyglot development platform for trustworthy, neurosymbolic AI.

🛠️ Prerequisites

⬇️ Installation

Installation from PyPI

pip install -U langchain-asimov

👉 Examples

Loading DuckDuckGo Results

Use e.g. the SerpApi module to fetch search results from DuckDuckGo, Google, or Bing:

from langchain_asimov import AsimovLoader

search = AsimovLoader(
    module="serpapi",
    url="https://duckduckgo.com/?q=LangChain+roadmap"
)

for result in search.lazy_load():
    print(result)

[!TIP] On your host, make sure that asimov-serpapi-importer can be found in your PATH and that you've defined the SERPAPI_KEY environment variable:

export SERPAPI_KEY="..."

Loading X (Twitter) Profiles

Use e.g. the Bright Data module to fetch a public X profile:

from langchain_asimov import AsimovLoader

profiles = AsimovLoader(
    module="brightdata",
    url="https://x.com/LangChainAI"
)

for profile in profiles.lazy_load():
    print(profile)

[!TIP] On your host, make sure that asimov-brightdata-importer can be found in your PATH and that you've defined the BRIGHTDATA_API_KEY environment variable:

export BRIGHTDATA_API_KEY="..."

Loading X (Twitter) Followers

Use e.g. the Apify module to fetch the followers/followees for an X profile:

from langchain_asimov import AsimovLoader

followers = AsimovLoader(
    module="apify",
    url="https://x.com/LangChainAI/followers"
)

for follower in followers.lazy_load():
    print(follower)

[!TIP] On your host, make sure that asimov-apify-importer can be found in your PATH and that you've defined the APIFY_TOKEN environment variable:

export APIFY_TOKEN="..."

📚 Reference

langchain-asimov.readthedocs.io

👨‍💻 Development

git clone https://github.com/asimov-platform/langchain-asimov.git

Share on X Share on Reddit Share on Hacker News Share on Facebook Share on LinkedIn

Metadata

Release files for langchain-asimov 0.0.4

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-asimov 0.0.4
File Size Uploaded Provenance
langchain_asimov-0.0.4.tar.gz 5.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-asimov 0.0.4
File Interpreter ABI Platform
langchain_asimov-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / langchain_asimov-0.0.4.tar.gz

Download URL langchain_asimov-0.0.4.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1a4938c973f0697659d8a81086b0022bbffc4070f1a773e4ed0a187d7829dc47
BLAKE2b-256 checksum
How to use checksums
bb5e2baa0dcc5dbb15d72c22476096b6b5ecf6542d2f1480073275347066eda3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / langchain_asimov-0.0.4-py3-none-any.whl

Download URL langchain_asimov-0.0.4-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42349080519f6c2b32c6783a3f161b9adcfb02432b540e466d4b6cbd551582fc
BLAKE2b-256 checksum
How to use checksums
52cb885becb2a7be69621157927976de9a052b05d54fe3f840fd71d5ac84edb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for langchain-asimov 0.0.4

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.

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