Metadata-Version: 2.5
Name: langchain-netnest
Version: 0.1.0
Summary: LangChain tools for the NetNest Design Fundamentals API: company fundamentals and SEC filing events, with the source filing on every number.
Project-URL: Homepage, https://api.netnestdesign.com/docs
Project-URL: Source, https://github.com/NetNest-Design/netnest-fundamentals
Author-email: NetNest Design LLC <registrations@netnestdesign.com>
License-Expression: MIT
License-File: LICENSE
Keywords: edgar,financial data,fundamentals,langchain,sec,tools
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Office/Business :: Financial
Requires-Python: >=3.10
Requires-Dist: langchain-core>=0.3
Requires-Dist: netnest-fundamentals>=0.1.0
Requires-Dist: pydantic>=2
Provides-Extra: test
Requires-Dist: pytest>=8; extra == 'test'
Description-Content-Type: text/markdown

# langchain-netnest

LangChain tools for the [NetNest Design Fundamentals API](https://api.netnestdesign.com/docs): company fundamentals
and SEC filing events, with the source filing on every number.

```bash
pip install langchain-netnest
```

```python
from langchain_netnest import NetNestToolkit
from netnest_fundamentals import NetNestClient

tools = NetNestToolkit(client=NetNestClient("demo")).get_tools()  # or your key; defaults to NETNEST_API_KEY
# give tools to create_agent(model, tools) or any tool calling model
```

* Tools: `netnest_search_company`, `netnest_get_company`, `netnest_get_fundamentals`, `netnest_get_history`,
  `netnest_get_events`, `netnest_get_events_head`. Each returns the API's JSON as a string.
* An API refusal (unknown ticker, a limit) comes back as `{"error": {...}}` for the model to read, not an exception.
* Each tool is also importable on its own, for example `NetNestFundamentals(client=...)`.

Data from SEC filings. Not investment advice. MIT licensed; use of the API is governed by its
[terms](https://api.netnestdesign.com/terms). NetNest Design LLC.
