A library containing core components for Gen AI applications.
Project description
GLLM Core
Description
A core library providing foundational components and utilities for Generative AI applications.
Installation
Prerequisites
- Python 3.11+ - Install here
- Pip (if using Pip) - Install here
- Poetry 2.1.4+ - Install here
- Git (if using Git) - Install here
- gcloud CLI (for authentication) - Install here
- For git installation, access to the GDP Labs SDK github repository
1. Installation from Artifact Registry
Choose one of the following methods to install the package:
Using pip
pip install gllm-core-binary
Using Poetry
poetry add gllm-core-binary
2. Development Installation (Git)
For development purposes, you can install directly from the Git repository:
git clone git@github.com:GDP-ADMIN/gl-sdk.git
cd gl-sdk/libs/gllm-core
Local Development Setup
Quick Setup (Recommended)
For local development with editable gllm packages, use the provided Makefile:
# Complete setup: installs Poetry, configures auth, installs packages, sets up pre-commit
make setup
The following are the available Makefile targets:
make setup- Complete development setup (recommended for new developers)make install-poetry- Install or upgrade Poetry to the latest versionmake auth- Configure authentication for internal repositoriesmake install- Install all dependenciesmake install-pre-commit- Set up pre-commit hooksmake update- Update dependencies
Manual Development Setup (Legacy)
If you prefer to manage dependencies manually:
- Go to root folder of
gllm-coremodule, e.g.cd libs/gllm-core. - Run
poetry shellto create a virtual environment. - Run
poetry lockto create a lock file if you haven't done it yet. - Run
poetry installto install thegllm-corerequirements for the first time. - Run
poetry updateif you update any dependency module version atpyproject.toml.
Contributing
Please refer to this Python Style Guide to get information about code style, documentation standard, and SCA that you need to use when contributing to this project
Getting Started with Development
- Clone the repository and navigate to the gllm-core directory
- Run
make setupto set up your development environment - Run
which pythonto get the path to be referenced at Visual Studio Code interpreter path (Ctrl+Shift+PorCmd+Shift+P) - Try running the unit test to see if it's working:
poetry run pytest -s tests/unit_tests/
- When you want to update the dependencies, run
make update
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 Distributions
Built Distributions
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 gllm_core_binary-0.3.25-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: gllm_core_binary-0.3.25-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 476.6 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b18f0295a6a3a2eab11d01d5a00798c8a05ed76387f9bd8d0e6839193f44c1c0
|
|
| MD5 |
90e54a9f1fbd7f5fa2c63c47793266a4
|
|
| BLAKE2b-256 |
5248d1b0a4df40f020881c6587d6db014db6915f7ee02380001e6de8b3a2445b
|
Provenance
The following attestation bundles were made for gllm_core_binary-0.3.25-cp313-cp313-win_amd64.whl:
Publisher:
build-binary.yml on GDP-ADMIN/gl-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gllm_core_binary-0.3.25-cp313-cp313-win_amd64.whl -
Subject digest:
b18f0295a6a3a2eab11d01d5a00798c8a05ed76387f9bd8d0e6839193f44c1c0 - Sigstore transparency entry: 653526026
- Sigstore integration time:
-
Permalink:
GDP-ADMIN/gl-sdk@2563a7bd1046387fc64402108788e56221cfccd0 -
Branch / Tag:
refs/tags/gllm_core-v0.3.25 - Owner: https://github.com/GDP-ADMIN
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-binary.yml@2563a7bd1046387fc64402108788e56221cfccd0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gllm_core_binary-0.3.25-cp313-cp313-manylinux_2_31_x86_64.whl.
File metadata
- Download URL: gllm_core_binary-0.3.25-cp313-cp313-manylinux_2_31_x86_64.whl
- Upload date:
- Size: 696.4 kB
- Tags: CPython 3.13, manylinux: glibc 2.31+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: poetry/2.1.4 CPython/3.13.0 Linux/5.10.0-32-cloud-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8126339d651b685a0fece030d65e71441399122f2b8d82d1438b6207a215e4f7
|
|
| MD5 |
863f614632d4710dd71184e43fbb0acb
|
|
| BLAKE2b-256 |
21342e1aebafdf00b3d155a1e418828295608fcb54b7dcaf64ecfcb014f2e9cd
|
File details
Details for the file gllm_core_binary-0.3.25-cp313-cp313-macosx_13_0_x86_64.whl.
File metadata
- Download URL: gllm_core_binary-0.3.25-cp313-cp313-macosx_13_0_x86_64.whl
- Upload date:
- Size: 533.3 kB
- Tags: CPython 3.13, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dab114528f90cae36ecd83f8eff1b7272ee7a4ac46c37417ec45b7cccde6baaa
|
|
| MD5 |
15d76e854e3309df043a3e27d73fd410
|
|
| BLAKE2b-256 |
5a65b34465b3b10b6a99b479f2b7d91b00833166b83579f317d195e0d3f6e28a
|
Provenance
The following attestation bundles were made for gllm_core_binary-0.3.25-cp313-cp313-macosx_13_0_x86_64.whl:
Publisher:
build-binary.yml on GDP-ADMIN/gl-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gllm_core_binary-0.3.25-cp313-cp313-macosx_13_0_x86_64.whl -
Subject digest:
dab114528f90cae36ecd83f8eff1b7272ee7a4ac46c37417ec45b7cccde6baaa - Sigstore transparency entry: 653526012
- Sigstore integration time:
-
Permalink:
GDP-ADMIN/gl-sdk@2563a7bd1046387fc64402108788e56221cfccd0 -
Branch / Tag:
refs/tags/gllm_core-v0.3.25 - Owner: https://github.com/GDP-ADMIN
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-binary.yml@2563a7bd1046387fc64402108788e56221cfccd0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gllm_core_binary-0.3.25-cp313-cp313-macosx_13_0_arm64.whl.
File metadata
- Download URL: gllm_core_binary-0.3.25-cp313-cp313-macosx_13_0_arm64.whl
- Upload date:
- Size: 452.7 kB
- Tags: CPython 3.13, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6da1f7cb93ff3154dde572bd9f0d035e37633bb7748db49002bfee00b7e9e58f
|
|
| MD5 |
5304c6cf4f2cbb114fd1dc409f6ca7b4
|
|
| BLAKE2b-256 |
60690efbded7528a6e214cbcd811d72ed01d954233cbeabc2ac2bfe54df1b8f3
|
Provenance
The following attestation bundles were made for gllm_core_binary-0.3.25-cp313-cp313-macosx_13_0_arm64.whl:
Publisher:
build-binary.yml on GDP-ADMIN/gl-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gllm_core_binary-0.3.25-cp313-cp313-macosx_13_0_arm64.whl -
Subject digest:
6da1f7cb93ff3154dde572bd9f0d035e37633bb7748db49002bfee00b7e9e58f - Sigstore transparency entry: 653526024
- Sigstore integration time:
-
Permalink:
GDP-ADMIN/gl-sdk@2563a7bd1046387fc64402108788e56221cfccd0 -
Branch / Tag:
refs/tags/gllm_core-v0.3.25 - Owner: https://github.com/GDP-ADMIN
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-binary.yml@2563a7bd1046387fc64402108788e56221cfccd0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gllm_core_binary-0.3.25-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: gllm_core_binary-0.3.25-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 478.9 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5952037d4758c7f6aae6bfd25a08864ae8dda8cae434ed1e6bc692f43d3ac592
|
|
| MD5 |
13e3baef28a6050a4807e98486d6afa9
|
|
| BLAKE2b-256 |
a1abba53edcc7577f56498e5d9b2a047c6b81fb24d190d84f27170d0f98940e7
|
Provenance
The following attestation bundles were made for gllm_core_binary-0.3.25-cp312-cp312-win_amd64.whl:
Publisher:
build-binary.yml on GDP-ADMIN/gl-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gllm_core_binary-0.3.25-cp312-cp312-win_amd64.whl -
Subject digest:
5952037d4758c7f6aae6bfd25a08864ae8dda8cae434ed1e6bc692f43d3ac592 - Sigstore transparency entry: 653526048
- Sigstore integration time:
-
Permalink:
GDP-ADMIN/gl-sdk@2563a7bd1046387fc64402108788e56221cfccd0 -
Branch / Tag:
refs/tags/gllm_core-v0.3.25 - Owner: https://github.com/GDP-ADMIN
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-binary.yml@2563a7bd1046387fc64402108788e56221cfccd0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gllm_core_binary-0.3.25-cp312-cp312-manylinux_2_31_x86_64.whl.
File metadata
- Download URL: gllm_core_binary-0.3.25-cp312-cp312-manylinux_2_31_x86_64.whl
- Upload date:
- Size: 698.4 kB
- Tags: CPython 3.12, manylinux: glibc 2.31+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: poetry/2.1.4 CPython/3.12.0 Linux/5.10.0-32-cloud-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a79c6fd9669c69f58c439b9ae71831c2086ea76cb580a35af523a00e3e9e5f1c
|
|
| MD5 |
f1affe58e85f2aa38c0d467bd2eeaa1a
|
|
| BLAKE2b-256 |
c91a76dc36d9d89c78596fa1ae402e64f315e1cea9661e9399601eb334362163
|
File details
Details for the file gllm_core_binary-0.3.25-cp312-cp312-macosx_13_0_x86_64.whl.
File metadata
- Download URL: gllm_core_binary-0.3.25-cp312-cp312-macosx_13_0_x86_64.whl
- Upload date:
- Size: 532.4 kB
- Tags: CPython 3.12, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e8c16db12ff306bf790b01fa2558a8d374e2840d95bd863d2781c9ea21fff6c
|
|
| MD5 |
da17be21412559f8020ff41efa104c42
|
|
| BLAKE2b-256 |
3383353630e4b4d02caeb6997082cbdb00652d3ca052926c4453a3190232628d
|
Provenance
The following attestation bundles were made for gllm_core_binary-0.3.25-cp312-cp312-macosx_13_0_x86_64.whl:
Publisher:
build-binary.yml on GDP-ADMIN/gl-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gllm_core_binary-0.3.25-cp312-cp312-macosx_13_0_x86_64.whl -
Subject digest:
6e8c16db12ff306bf790b01fa2558a8d374e2840d95bd863d2781c9ea21fff6c - Sigstore transparency entry: 653526049
- Sigstore integration time:
-
Permalink:
GDP-ADMIN/gl-sdk@2563a7bd1046387fc64402108788e56221cfccd0 -
Branch / Tag:
refs/tags/gllm_core-v0.3.25 - Owner: https://github.com/GDP-ADMIN
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-binary.yml@2563a7bd1046387fc64402108788e56221cfccd0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gllm_core_binary-0.3.25-cp312-cp312-macosx_13_0_arm64.whl.
File metadata
- Download URL: gllm_core_binary-0.3.25-cp312-cp312-macosx_13_0_arm64.whl
- Upload date:
- Size: 451.4 kB
- Tags: CPython 3.12, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3eb61cce78f9cfece68b3fc499acea5ceaee52a94bee8c672c4e13f1787d4ec5
|
|
| MD5 |
5e5cbe28adae6e4a7e3fcb73863e03c7
|
|
| BLAKE2b-256 |
88eedae855a45b141b261705f29d116621778323ae699b6977b76699e49caeac
|
Provenance
The following attestation bundles were made for gllm_core_binary-0.3.25-cp312-cp312-macosx_13_0_arm64.whl:
Publisher:
build-binary.yml on GDP-ADMIN/gl-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gllm_core_binary-0.3.25-cp312-cp312-macosx_13_0_arm64.whl -
Subject digest:
3eb61cce78f9cfece68b3fc499acea5ceaee52a94bee8c672c4e13f1787d4ec5 - Sigstore transparency entry: 653526031
- Sigstore integration time:
-
Permalink:
GDP-ADMIN/gl-sdk@2563a7bd1046387fc64402108788e56221cfccd0 -
Branch / Tag:
refs/tags/gllm_core-v0.3.25 - Owner: https://github.com/GDP-ADMIN
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-binary.yml@2563a7bd1046387fc64402108788e56221cfccd0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gllm_core_binary-0.3.25-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: gllm_core_binary-0.3.25-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 487.8 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
990b980bf0917150416efe1c43818ce881a53f3c944414852b1d82d37b4643d7
|
|
| MD5 |
8d702b08d4d1683beb21199fc935d093
|
|
| BLAKE2b-256 |
027db41a0906fb5e8607acdf390f0934ac48cee390a3fd6876f49c346dff21f9
|
Provenance
The following attestation bundles were made for gllm_core_binary-0.3.25-cp311-cp311-win_amd64.whl:
Publisher:
build-binary.yml on GDP-ADMIN/gl-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gllm_core_binary-0.3.25-cp311-cp311-win_amd64.whl -
Subject digest:
990b980bf0917150416efe1c43818ce881a53f3c944414852b1d82d37b4643d7 - Sigstore transparency entry: 653526057
- Sigstore integration time:
-
Permalink:
GDP-ADMIN/gl-sdk@2563a7bd1046387fc64402108788e56221cfccd0 -
Branch / Tag:
refs/tags/gllm_core-v0.3.25 - Owner: https://github.com/GDP-ADMIN
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-binary.yml@2563a7bd1046387fc64402108788e56221cfccd0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gllm_core_binary-0.3.25-cp311-cp311-manylinux_2_31_x86_64.whl.
File metadata
- Download URL: gllm_core_binary-0.3.25-cp311-cp311-manylinux_2_31_x86_64.whl
- Upload date:
- Size: 638.2 kB
- Tags: CPython 3.11, manylinux: glibc 2.31+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: poetry/2.1.4 CPython/3.11.0 Linux/5.10.0-32-cloud-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc20b85a86b786f2bdb4637302ea513b338f7f291b1addf1a0e008d7c3a71e71
|
|
| MD5 |
966bc64e7bf2c6e6a86010537d63b3ec
|
|
| BLAKE2b-256 |
da0cee889872c7c66d6df874b7ba72067f53e7bf3dbcc6e485f5aa89bc7da2dd
|
File details
Details for the file gllm_core_binary-0.3.25-cp311-cp311-macosx_13_0_x86_64.whl.
File metadata
- Download URL: gllm_core_binary-0.3.25-cp311-cp311-macosx_13_0_x86_64.whl
- Upload date:
- Size: 530.3 kB
- Tags: CPython 3.11, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
311ebdf1c2e863f4f13c07832b9a16de6fa251377cd62bfa85679be88cd35e90
|
|
| MD5 |
58446ced9cf82d260f65b1b93947f4cd
|
|
| BLAKE2b-256 |
819184e9ca24b49118fef97e2115a65dbbbf4cb067b8cc4b87fe19554d138683
|
Provenance
The following attestation bundles were made for gllm_core_binary-0.3.25-cp311-cp311-macosx_13_0_x86_64.whl:
Publisher:
build-binary.yml on GDP-ADMIN/gl-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gllm_core_binary-0.3.25-cp311-cp311-macosx_13_0_x86_64.whl -
Subject digest:
311ebdf1c2e863f4f13c07832b9a16de6fa251377cd62bfa85679be88cd35e90 - Sigstore transparency entry: 653526028
- Sigstore integration time:
-
Permalink:
GDP-ADMIN/gl-sdk@2563a7bd1046387fc64402108788e56221cfccd0 -
Branch / Tag:
refs/tags/gllm_core-v0.3.25 - Owner: https://github.com/GDP-ADMIN
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-binary.yml@2563a7bd1046387fc64402108788e56221cfccd0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gllm_core_binary-0.3.25-cp311-cp311-macosx_13_0_arm64.whl.
File metadata
- Download URL: gllm_core_binary-0.3.25-cp311-cp311-macosx_13_0_arm64.whl
- Upload date:
- Size: 447.9 kB
- Tags: CPython 3.11, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e00986331659e17261cb32ce88225cc31cbdda00fd58a8f8c9f8d55537680b7
|
|
| MD5 |
655bb5c121f4eea2ca229e418b52266c
|
|
| BLAKE2b-256 |
83643873d985a27ef6198c59c0d8cd5ef083b5e54f5b3b47cdc33d4cc78324ad
|
Provenance
The following attestation bundles were made for gllm_core_binary-0.3.25-cp311-cp311-macosx_13_0_arm64.whl:
Publisher:
build-binary.yml on GDP-ADMIN/gl-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gllm_core_binary-0.3.25-cp311-cp311-macosx_13_0_arm64.whl -
Subject digest:
3e00986331659e17261cb32ce88225cc31cbdda00fd58a8f8c9f8d55537680b7 - Sigstore transparency entry: 653526038
- Sigstore integration time:
-
Permalink:
GDP-ADMIN/gl-sdk@2563a7bd1046387fc64402108788e56221cfccd0 -
Branch / Tag:
refs/tags/gllm_core-v0.3.25 - Owner: https://github.com/GDP-ADMIN
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-binary.yml@2563a7bd1046387fc64402108788e56221cfccd0 -
Trigger Event:
push
-
Statement type: