Gia SDK
Gia is a trainable semantic graph database. The gia-sdk Python distribution
installs both the public Python SDK and the gia command-line interface used
to create, apply, query, benchmark, and inspect Gia-backed application
projects.
pip install gia-sdk
gia --help
Application code imports the SDK from the gia package:
from gia import Gia
gia = Gia.from_env()
response = gia.query_response(
"billing invoice webhook retry ticket",
target="ticket",
schema_name="project_management",
schema_version="v2",
profile="linear_ticket_search",
profile_version="v1",
persist_trace=True,
)
print(response.results)
print(response.trace_id)
The CLI uses public uppercase environment variables in application projects:
GIA_API_URL=https://api.gia.cloud
GIA_API_KEY=gia_development_or_production_environment_key
GIA_TIMEOUT_SECONDS=30
For the cloud-first project workflow, sign in, create or link a project, apply the manifest, create an app dotenv, and then use the same dotenv from both CLI and SDK code:
gia login
gia project create . --template project-management --name "Project Management" --dotenv .env.local
set -a
. ./.env.local
set +a
gia query "billing invoice webhook retry ticket" \
--target ticket \
--schema-name project_management \
--schema-version v2 \
--profile linear_ticket_search \
--profile-version v1 \
--persist-trace
More complete operational guidance lives in
docs/guides/gia-bootstrap.md.
Metadata
Release files for gia-sdk 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gia_sdk-0.1.0.tar.gz | 467.9 kB | Without provenance | Details for gia_sdk-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gia_sdk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for gia_sdk-0.1.0-py3-none-any.whl |
Total release size: 1.0 MB
Release files / gia_sdk-0.1.0.tar.gz
| Download URL | gia_sdk-0.1.0.tar.gz |
|---|---|
| Size | 467.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e50596bc83a1b63e4912f60d335cecfecfb5c4ce9bfe742b3ee78c6f34ff611b
|
|
BLAKE2b-256 checksum How to use checksums |
f531e368f89595328aeb3d27f1d893742c43bbab34e7a30b03466875c12ab7ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.3
|
Release files / gia_sdk-0.1.0-py3-none-any.whl
| Download URL | gia_sdk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 575.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3db406bd5082faacd70bd6b9a8efab90f703dd02e3cc85daa463f8fddf2af1c
|
|
BLAKE2b-256 checksum How to use checksums |
7e0474cf3ed72eea3bb2a34a956569831679abc02accaea2b7933aebdba7ff83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.3
|
Security for gia-sdk 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.