Lace SDS generator (EU AI Act Article 53 public summary) — online-only CLI
Project description
Lace Client (SDS Generator)
Cloud‑backed CLI to generate the EU AI Act Article 53(1)(d) public training summary (DOCX).
Install
pip install lace-client
Quickstart
export LACE_API_KEY=lace_sk_...
lace pack /path/to/dataset --out sds.docx
Optional answers
# Provide non‑inferable fields via JSON (otherwise you will be prompted)
lace pack /path/to/dataset \
--answers-file /path/to/answers.json \
--out sds.docx
Notes:
- Online-only:
lace packcalls the Lace API to produce the DOCX. - If
--answers-fileis omitted, the CLI prompts for: provider name/contact, model name/version, EU placement date, and illegal‑content measures. All other fields are derived automatically.
Privacy posture
- No raw file content uploaded; uploads use pre‑signed URLs when needed.
- Analyze payload excludes absolute file paths (only relpath + hash + size + mtime).
TDM Opt‑Out Check (robots.txt, TDM‑Reservation, X‑Robots‑Tag)
Cloud‑backed check with audit evidence (auth required).
export LACE_API_KEY=lace_sk_...
lace check /path/to/dataset # human‑readable summary (default)
lace check /path/to/dataset --json # machine‑readable
lace check /path/to/dataset --as-of 2024-11-12 --out evidence.zip # save evidence
Notes:
- Signals: TDM‑Reservation headers/meta (deny training), robots.txt per RFC 9309 (named AI bots and generic), X‑Robots‑Tag (best‑effort). As‑of uses Memento/Wayback when available.
- Privacy: domains are transmitted over TLS; the service persists only salted HMACs at rest and redacts logs.
Demo (PyPI)
Try with a synthetic 10 MB dataset and a realistic answers file:
# 1) Install the client from PyPI
pip install --no-cache-dir 'lace-client==0.7.4'
# 2) Create a synthetic dataset (~10 MB, offline)
python scripts/make_sample_dataset.py --out ~/lace-sample-10mb --mb 10
# 3) Use the demo answers file
cp examples/answers_demo.json ~/answers_demo.json
# 4) Generate the SDS (requires API key)
export LACE_API_KEY=<your_key>
lace pack ~/lace-sample-10mb \
--send-domains hashed \
--answers-file ~/answers_demo.json \
--out ~/sds.docx
Why include answers: provider identity, contact, model name/version, EU placement date, and illegal‑content measures cannot be inferred from raw data. Other fields are derived from the dataset automatically.
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
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
File details
Details for the file lace_client-0.7.7.tar.gz.
File metadata
- Download URL: lace_client-0.7.7.tar.gz
- Upload date:
- Size: 204.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a65a76cfad927caa3c0a2e816016fca209a3a91444b1276dac4bd49b044d4eb
|
|
| MD5 |
70699a9fa3cc7d7f560b3f7cec68fa88
|
|
| BLAKE2b-256 |
d3c0e1861ac1d3241e779d332882a79c41d84deff870bcd5a3677cf95128ae88
|
File details
Details for the file lace_client-0.7.7-py3-none-any.whl.
File metadata
- Download URL: lace_client-0.7.7-py3-none-any.whl
- Upload date:
- Size: 229.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
084550111827c424ac060dec9096037ad2de7fa28f9c204e69c687b07fb99bbf
|
|
| MD5 |
5aeaac2c9646cfca06519af0c0614a83
|
|
| BLAKE2b-256 |
595c4a3f79f3fffdef158a1e224dbc6dea07829b36eb5bb50b83e4dca30c8683
|