Compute cost of goods sold (COGS) using Cofactr.
Go to file
Jonathan Tran 25ba6a8bd3
Merge pull request #15 from AllSpiceIO/jt/fix-comment
doc: Update comment to reflect moved repo and ECAD generic
2024-05-23 16:51:28 -04:00
.github Bump actions/setup-python from 4 to 5 (#9) 2024-05-14 17:54:14 -04:00
.vscode Initial implementation 2024-05-08 14:25:28 -04:00
.gitignore Initial commit 2024-05-06 11:32:05 -04:00
Dockerfile Initial implementation 2024-05-08 14:25:28 -04:00
LICENSE.txt Add license (#10) 2024-05-15 17:18:50 -04:00
README.md Change readme to lock the major version 2024-05-10 11:30:46 -04:00
action.yml Initial implementation 2024-05-08 14:25:28 -04:00
entrypoint.py doc: Update comment to reflect moved repo and ECAD generic 2024-05-23 13:34:15 -04:00
pyproject.toml Add pyproject.toml for ruff linting 2024-05-14 17:21:35 -04:00
requirements-test.txt Add CI checks 2024-05-14 17:21:35 -04:00
requirements.txt --- (#12) 2024-05-23 13:25:52 -04:00

README.md

Cofactr COGS

Generate cost of goods sold (COGS) using Cofactr.

Usage

Add the following step to your actions:

- name: Generate COGS using Cofactr
  uses: https://hub.allspice.io/Actions/cofactr-cogs@v1
  with:
    bom_file: bom.csv
    quantities: "1,10,100,1000"
    client_id: YOUR_COFACTR_CLIENT_ID
    api_key: ${{ secrets.COFACTR_API_KEY }}
    output_file: cogs.csv