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.27-cp313-cp313-win_amd64.whl (487.1 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.27-cp313-cp313-manylinux_2_31_x86_64.whl (710.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.27-cp313-cp313-macosx_13_0_x86_64.whl (548.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.3.27-cp313-cp313-macosx_13_0_arm64.whl (466.3 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.3.27-cp312-cp312-win_amd64.whl (489.4 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.27-cp312-cp312-manylinux_2_31_x86_64.whl (713.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.27-cp312-cp312-macosx_13_0_x86_64.whl (546.8 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.3.27-cp312-cp312-macosx_13_0_arm64.whl (464.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.3.27-cp311-cp311-win_amd64.whl (500.5 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.27-cp311-cp311-manylinux_2_31_x86_64.whl (652.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.27-cp311-cp311-macosx_13_0_x86_64.whl (546.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.3.27-cp311-cp311-macosx_13_0_arm64.whl (463.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.27-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c27e754b8cf170ed297f390ba89013ccaf4ba88f8559633d334a64ffd624455e
MD5 e68d00e02e2ecf29c87f288585b048cd
BLAKE2b-256 61fdbfe1f98947ef282c66c71c5379c501ae1a7b1c20aaa057c64ea607f54755

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.27-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.27-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.27-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 40f6b99ea07491c29975f180c78e01382305ab8849ded0bd86d6ffaffe1e38b0
MD5 2c177a137f76034aaec630d0c335a0a0
BLAKE2b-256 d708bee5d4dc7e83a9efb49da5e19d110644d690faf82e4fadfb790258f5baa5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.27-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ee5c75439f6eb6af8f628e7eda092cf6f0ea1775e431110ecc26dda28c1b5baf
MD5 dc2e468b591c9720a10a9a00fe27f323
BLAKE2b-256 60b948dfd795dc8d1c738103067e25b955087a77f476d0054b25549edf19efe7

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.27-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.27-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.27-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8c2143c7b1c5d0718f8e4e7f10c2af860bd4ce8b3381668c084ed6391f3d33d5
MD5 e097b3991e120ee61f9086a2b2767df9
BLAKE2b-256 48b6fba955ab8309492d4d177eb749c43abbbaa3e70c913580cfce107d95d879

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.27-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.27-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.27-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2c414abdb42f0967c6fa885b4c9666e91da8adbd9c984b478454ff7dd9bf9906
MD5 9a4faf1dd6330da8b60d6d355d9c6aab
BLAKE2b-256 4f77a19b7744c10c0b7c5675c1a523806acd7c1b1213143353cae12a18ecf587

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.27-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.27-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.27-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7b0763b45640083059230a495a5a4b194ce9daaf43f01d6093efe8251d832a8e
MD5 58d221d6fa97e5bde12cce964c4c79df
BLAKE2b-256 e5db54230b1a84f347d9b3db6d2f92946a0a689bf04ea2ce103f1d67a9c9372e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.27-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dd2440ba5bd92882ce79dca93ebc91f00132748af5e10f1dcac115e708b8cc38
MD5 0a72690cc43c17bf34f1b192f9181f6f
BLAKE2b-256 ccee4159eea3da35cdea06d27752cc55790a1293ab129ff8afd398156bb036fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.27-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.27-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.27-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 4536bed9b9272f443562a3d6f154596d72d937d17d370a2ca35b409ff77be6c4
MD5 1c02da9916350af75c47d37cb9aa38e5
BLAKE2b-256 5f1b4ff40087be8160e0a3749e7c862c955f13ecdae50eac1dd5e4519c987439

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.27-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.27-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.27-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 bc634a84162e4324aa075fe74e66ebbb6d4b5f640589185cd5de1462a4c9f84d
MD5 45a8c1ad1815166ab52d5b77d37dbcd7
BLAKE2b-256 05fabbe8134c098231f0b2577c14fa37c55aac98c7d627918cdc10be0397e4b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.27-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.27-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.27-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 39c76fa4a36f76b5bf829e6c8616735af63fa0a8eb67e9311c20fca009269804
MD5 ea211d5cfa6d99c6fcee6eb07f30d163
BLAKE2b-256 c89b212f0ea48fc8de6115140b9ce6774a138c03e0aa44c06edf34be56d02f5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.27-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1918e5f23c33b06a19e23e839fddf1a81eaf2a8842d39c5adfd2349903d27713
MD5 a4bd3a8d4298303c4436523b207fcd04
BLAKE2b-256 e32ef0cddd52dd4cb614888a301b3b34a2cf2098e0b49c7abb00ffae9c0cc194

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.27-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.27-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.27-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 dd5560be498b83771005cf410e676e85da9dce911e924172bbf8e548b333f0bd
MD5 ade42bafb16883f16a917d17bfc05447
BLAKE2b-256 e546d27f9b517af6c927d48e39b853c2673cd5fb7d1b430731678b76e503c710

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.27-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