Client library for accessing Cofactr data.
Project description
Cofactr
Python client library for accessing Cofactr.
Example
from typing import List
from cofactr.core import get_part, get_parts, search_parts
# Flagship is the default schema.
from cofactr.schema.flagship.part import Part
part_res = get_part(id=cpid, external=False)
part: Part = res["data"]
parts_res = search_parts(query="esp32", external=False)
parts: List[Part] = 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-2.1.0.tar.gz
(8.3 kB
view hashes)
Built Distribution
cofactr-2.1.0-py3-none-any.whl
(12.4 kB
view hashes)