Skip to main content

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

  1. Python 3.11+ - Install here
  2. Pip (if using Pip) - Install here
  3. Poetry 2.1.4+ - Install here
  4. Git (if using Git) - Install here
  5. gcloud CLI (for authentication) - Install here
  6. 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:

  1. make setup - Complete development setup (recommended for new developers)
  2. make install-poetry - Install or upgrade Poetry to the latest version
  3. make auth - Configure authentication for internal repositories
  4. make install - Install all dependencies
  5. make install-pre-commit - Set up pre-commit hooks
  6. make update - Update dependencies

Manual Development Setup (Legacy)

If you prefer to manage dependencies manually:

  1. Go to root folder of gllm-core module, e.g. cd libs/gllm-core.
  2. Run poetry shell to create a virtual environment.
  3. Run poetry lock to create a lock file if you haven't done it yet.
  4. Run poetry install to install the gllm-core requirements for the first time.
  5. Run poetry update if you update any dependency module version at pyproject.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

  1. Clone the repository and navigate to the gllm-core directory
  2. Run make setup to set up your development environment
  3. Run which python to get the path to be referenced at Visual Studio Code interpreter path (Ctrl+Shift+P or Cmd+Shift+P)
  4. Try running the unit test to see if it's working:
poetry run pytest -s tests/unit_tests/
  1. 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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gllm_core_binary-0.3.25-cp313-cp313-win_amd64.whl (476.6 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.25-cp313-cp313-manylinux_2_31_x86_64.whl (696.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.25-cp313-cp313-macosx_13_0_x86_64.whl (533.3 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.3.25-cp313-cp313-macosx_13_0_arm64.whl (452.7 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.3.25-cp312-cp312-win_amd64.whl (478.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.25-cp312-cp312-manylinux_2_31_x86_64.whl (698.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.25-cp312-cp312-macosx_13_0_x86_64.whl (532.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.3.25-cp312-cp312-macosx_13_0_arm64.whl (451.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.3.25-cp311-cp311-win_amd64.whl (487.8 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.25-cp311-cp311-manylinux_2_31_x86_64.whl (638.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.25-cp311-cp311-macosx_13_0_x86_64.whl (530.3 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.3.25-cp311-cp311-macosx_13_0_arm64.whl (447.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_core_binary-0.3.25-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.25-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b18f0295a6a3a2eab11d01d5a00798c8a05ed76387f9bd8d0e6839193f44c1c0
MD5 90e54a9f1fbd7f5fa2c63c47793266a4
BLAKE2b-256 5248d1b0a4df40f020881c6587d6db014db6915f7ee02380001e6de8b3a2445b

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.3.25-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.25-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8126339d651b685a0fece030d65e71441399122f2b8d82d1438b6207a215e4f7
MD5 863f614632d4710dd71184e43fbb0acb
BLAKE2b-256 21342e1aebafdf00b3d155a1e418828295608fcb54b7dcaf64ecfcb014f2e9cd

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.25-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.25-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dab114528f90cae36ecd83f8eff1b7272ee7a4ac46c37417ec45b7cccde6baaa
MD5 15d76e854e3309df043a3e27d73fd410
BLAKE2b-256 5a65b34465b3b10b6a99b479f2b7d91b00833166b83579f317d195e0d3f6e28a

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.3.25-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.25-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6da1f7cb93ff3154dde572bd9f0d035e37633bb7748db49002bfee00b7e9e58f
MD5 5304c6cf4f2cbb114fd1dc409f6ca7b4
BLAKE2b-256 60690efbded7528a6e214cbcd811d72ed01d954233cbeabc2ac2bfe54df1b8f3

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.3.25-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.25-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5952037d4758c7f6aae6bfd25a08864ae8dda8cae434ed1e6bc692f43d3ac592
MD5 13e3baef28a6050a4807e98486d6afa9
BLAKE2b-256 a1abba53edcc7577f56498e5d9b2a047c6b81fb24d190d84f27170d0f98940e7

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.3.25-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.25-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a79c6fd9669c69f58c439b9ae71831c2086ea76cb580a35af523a00e3e9e5f1c
MD5 f1affe58e85f2aa38c0d467bd2eeaa1a
BLAKE2b-256 c91a76dc36d9d89c78596fa1ae402e64f315e1cea9661e9399601eb334362163

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.25-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.25-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6e8c16db12ff306bf790b01fa2558a8d374e2840d95bd863d2781c9ea21fff6c
MD5 da17be21412559f8020ff41efa104c42
BLAKE2b-256 3383353630e4b4d02caeb6997082cbdb00652d3ca052926c4453a3190232628d

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.3.25-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.25-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3eb61cce78f9cfece68b3fc499acea5ceaee52a94bee8c672c4e13f1787d4ec5
MD5 5e5cbe28adae6e4a7e3fcb73863e03c7
BLAKE2b-256 88eedae855a45b141b261705f29d116621778323ae699b6977b76699e49caeac

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.3.25-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.25-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 990b980bf0917150416efe1c43818ce881a53f3c944414852b1d82d37b4643d7
MD5 8d702b08d4d1683beb21199fc935d093
BLAKE2b-256 027db41a0906fb5e8607acdf390f0934ac48cee390a3fd6876f49c346dff21f9

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.3.25-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.25-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 cc20b85a86b786f2bdb4637302ea513b338f7f291b1addf1a0e008d7c3a71e71
MD5 966bc64e7bf2c6e6a86010537d63b3ec
BLAKE2b-256 da0cee889872c7c66d6df874b7ba72067f53e7bf3dbcc6e485f5aa89bc7da2dd

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.25-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.25-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 311ebdf1c2e863f4f13c07832b9a16de6fa251377cd62bfa85679be88cd35e90
MD5 58446ced9cf82d260f65b1b93947f4cd
BLAKE2b-256 819184e9ca24b49118fef97e2115a65dbbbf4cb067b8cc4b87fe19554d138683

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_core_binary-0.3.25-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.25-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3e00986331659e17261cb32ce88225cc31cbdda00fd58a8f8c9f8d55537680b7
MD5 655bb5c121f4eea2ca229e418b52266c
BLAKE2b-256 83643873d985a27ef6198c59c0d8cd5ef083b5e54f5b3b47cdc33d4cc78324ad

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page