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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.23-cp313-cp313-manylinux_2_31_x86_64.whl (696.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.23-cp313-cp313-macosx_13_0_x86_64.whl (534.3 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.3.23-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (453.6 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_core_binary-0.3.23-cp312-cp312-win_amd64.whl (479.0 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.23-cp312-cp312-manylinux_2_31_x86_64.whl (698.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.23-cp312-cp312-macosx_13_0_x86_64.whl (533.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.3.23-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (452.4 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_core_binary-0.3.23-cp311-cp311-win_amd64.whl (488.1 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.23-cp311-cp311-manylinux_2_31_x86_64.whl (638.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.23-cp311-cp311-macosx_13_0_x86_64.whl (532.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.3.23-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (449.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b4bc680a271557cbd68db6807c6f73b908bd02865cdea7b3bfd7d5bc5a081c61
MD5 a0aa9faf587cbda448b00985a734d16a
BLAKE2b-256 ac84a73b2d39b5395d96cac807e7383c8be0c0c4897c6fc3136d4aa0f103828d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 44f921e253ef6defb6db8083e2af0b699a68105d4e420e1d3508f34c6ab1a837
MD5 d1a0bf1230d083553496e743ff7005fb
BLAKE2b-256 543f5db37d5012bc575cf158abd623e32611293934ce984645782071c11e1a00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 84f83c61e9ecea2c3a85de83e49ab8e343e7d689439f186a99f9a46ebc36a296
MD5 9ab757fe5ac514b29dc04ec346df5d1e
BLAKE2b-256 45fc4b72bfb2985e9f26d38924cf5f6a84913164c0ee23376d5e826cbe4b60a9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 0893e618b1d8149594ecf0df6f8d934a62f7ed6c65fdf92925bf37143541769f
MD5 1827343579d132d012fc3858ae540281
BLAKE2b-256 e2b6fc1708585719705ddcaa81f0a96d57dcf659969bd0f3ca85ac85228773c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23-cp313-cp313-macosx_13_0_arm64.macosx_15_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.23-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 36493389fabf724192d13c1173acd3b1a345f1b81e35fb775e97e50d21ed52ea
MD5 b34d962d3f980a7d027a51e31bd5b695
BLAKE2b-256 8ace10327eee9491822df7a1bb9d8f66f0be958096ec1f2bc509b4760411a663

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8c03c3fa7085e24a02d60ce615c286122ee62ad72d40bbeeadb631059167c367
MD5 bef437ab3cde02670f0536f4cdddb973
BLAKE2b-256 b7f70ebdf810b7f3de024a76023757c8967b1ac627881931314d116646efc052

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 880b4ddccf19eb77b56bedfbf722de338f2d5cf000579e0f583849c0a363ebe4
MD5 4b6578f12b51c2f9cf92e06e7c7cfb06
BLAKE2b-256 1d8a00e431a49ee28208fb7287fced7e61c381c7fb831eb41c5a464ed60302b0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 5df2fe8f72a79cb90d1031881780d052e54bda2cff613fdb96674f2e966599ee
MD5 c001153038dfb176ab7e8f0d30aac355
BLAKE2b-256 21324a8d127ef3c90f7b4410011978e35e989d1547c8ed8883e024f64475b607

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23-cp312-cp312-macosx_13_0_arm64.macosx_15_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.23-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 baba85f8d1d9859fd0ee222b99f8f70ae19f91fe4b050ea8d3721c8d8531e950
MD5 fced05a801d0668b5fc6f5500ed66cec
BLAKE2b-256 49a3bb122adca2a35799e053ed572fd097ea4dfdc543802d1e092fcb1f0d8c13

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3e526225231eb0a811c95916f25269a66dc6bfa12390d29068052ff6e7d0135e
MD5 58c2ea7cf9d7fc9f76705bf9f71d9aa5
BLAKE2b-256 292c0785b03d41648ad20d40ba5361df5b99882bd74e63bae18e2043b22c0679

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 503d2dcdd8188654fa9f9e6f83db2734a6653576acd1fde6f25fa79fe9d367cd
MD5 780ccb972ffe14883b15cbe31da44a5d
BLAKE2b-256 beb005b28be69e0eaeece63c01798d3a4933fd1beca9071a657d44bb5268d9dc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 05604fe1ccaece64f85636cbf68bff8505acb6d8f3e0655ec4ae3261878d275c
MD5 a8bb3752f85d4d97b6462a4148e02d06
BLAKE2b-256 ccf4325cf5fc468d9a58568e361824207c8ecd035ef67bb8c967b0313f6399e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_core_binary-0.3.23-cp311-cp311-macosx_13_0_arm64.macosx_15_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