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.21.0.tar.gz
(15.4 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.21.0-py3-none-any.whl
(28.6 kB
view details)
File details
Details for the file cofactr-5.21.0.tar.gz.
File metadata
- Download URL: cofactr-5.21.0.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.10.10 Linux/5.15.49-linuxkit
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f5088e0689fd9cc9cd04bf1fc9b6897f22e9dbe32edf70f0424e22e5c73742f
|
|
| MD5 |
207bcc3480c4f95fbc9498aafc48c06d
|
|
| BLAKE2b-256 |
65d74d8ce92f7ffc94043c2abcbc16d8d24a790a35d6bfb5b2f9c1ea3be43dfd
|
File details
Details for the file cofactr-5.21.0-py3-none-any.whl.
File metadata
- Download URL: cofactr-5.21.0-py3-none-any.whl
- Upload date:
- Size: 28.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.1 CPython/3.10.10 Linux/5.15.49-linuxkit
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28aee77e5e2a5903213951360f7b550a27a8bd166b4977f4687aa6fe8967db4f
|
|
| MD5 |
e9bc68831d12dab87579e3fdde210500
|
|
| BLAKE2b-256 |
e9c4518f9a6fdeac6707d3a1e2751b6c734d7e52a320f4b705911f8670b792d5
|