Skip to main content

LangChain Retriever - NEAR Staking Data

Build a LangChain retriever for staking data.

Deliverables:

  1. LangChain BaseRetriever implementation
  2. Efficient querying
  3. Caching support
  4. Published to PyPI

Success Metric: 20+ downlo

Install

pip install -r requirements.txt

Tools

  • NEARAccountTool — see near_tool.py
  • NEARViewFunctionTool — see near_tool.py
  • NEARStakingRetriever — see near_tool.py

Usage

from near_tool import NEARAccountTool, NEARViewFunctionTool, NEARStakingRetriever

tool = NEARAccountTool()
result = tool._run(account_id='example.near')
print(result)

Metadata

Release files for langchain-retriever-near-staking-data 1.0.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-retriever-near-staking-data 1.0.0
File Size Uploaded
langchain_retriever_near_staking_data-1.0.0.tar.gz 1.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-retriever-near-staking-data 1.0.0
File Interpreter ABI Platform
langchain_retriever_near_staking_data-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 3.1 kB

Release files / langchain_retriever_near_staking_data-1.0.0.tar.gz

Download URL langchain_retriever_near_staking_data-1.0.0.tar.gz
Size 1.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f0f6bfa036768eb143d90b193a263f673cd318f01da434929f0b1ede2485dade
BLAKE2b-256 checksum
How to use checksums
bdaa19edb3b48fb0d4e105e0fa9bbe0918aaf2bd8930e9210b1d7f1564054f0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / langchain_retriever_near_staking_data-1.0.0-py3-none-any.whl

Download URL langchain_retriever_near_staking_data-1.0.0-py3-none-any.whl
Size 1.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7af2d483abb64ea566427ed6b568dd7fc012958b4172edfedc2def33cbd08459
BLAKE2b-256 checksum
How to use checksums
2ae1d6056333099f1b847e3db00b22d6977deab7bbfe0b2afbc2995208958094
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

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