Client library for accessing Cofactr data.
Project description
Cofactr
Python client library for accessing Cofactr.
Example
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"]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cofactr-5.38.1.tar.gz
(20.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
cofactr-5.38.1-py3-none-any.whl
(45.9 kB
view details)
File details
Details for the file cofactr-5.38.1.tar.gz.
File metadata
- Download URL: cofactr-5.38.1.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.5 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a0f97d4b67b16adf33f21b4918673f1232994d17c48a94c4653861e1fb19762
|
|
| MD5 |
506971792b9cee906135c2cd8519499d
|
|
| BLAKE2b-256 |
059808e041c7654e6de4ca328bf974359631bda61ca6dd34bda3826afd258e3e
|
File details
Details for the file cofactr-5.38.1-py3-none-any.whl.
File metadata
- Download URL: cofactr-5.38.1-py3-none-any.whl
- Upload date:
- Size: 45.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.5 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbf55e33a242183e9c7e3140dce588df0d7e2d7b19c46512721a505463770aa5
|
|
| MD5 |
d13575c41f3487840689aa921addfaa0
|
|
| BLAKE2b-256 |
20102d7ff822a16a884f5c2be2558c880048afbae9805bf08ca728bd7f212feb
|