semvec/pypi-packages huggingface dataset:
cofactr 5.38.1
Client library for accessing Cofactr data.
License: MIT
Requires Python: <4.0,>=3.10
Keywords: cofactr

# Cofactr

Python client library for accessing Cofactr.

## Example

```python
from typing import List
from cofactr.graph import GraphAPI

# Flagship is the default schema.
from cofactr.schema.flagship.part import Part

graph = GraphAPI(client_id=..., api_key=...)

part_res = graph.get_product(id="IM60640MOX6H")
part: Part = part_res["data"]

parts_res = graph.get_products(query="esp32")
parts: List[Part] = parts_res["data"]
```