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.4.4b2-cp313-cp313-win_amd64.whl (527.1 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.4b2-cp313-cp313-manylinux_2_31_x86_64.whl (770.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.4b2-cp313-cp313-macosx_13_0_arm64.whl (519.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.4b2-cp312-cp312-win_amd64.whl (529.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.4b2-cp312-cp312-manylinux_2_31_x86_64.whl (771.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.4b2-cp312-cp312-macosx_13_0_arm64.whl (519.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.4b2-cp311-cp311-win_amd64.whl (541.2 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.4b2-cp311-cp311-manylinux_2_31_x86_64.whl (703.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.4b2-cp311-cp311-macosx_13_0_arm64.whl (516.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_core_binary-0.4.4b2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4b2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5c924e84d6ca47d91621eecde6c9d568195d8a7d98ab10296a0ae630eae9eab0
MD5 2d3957c28de4eddae6655ee51dc6893b
BLAKE2b-256 8aa1d7bd9901ff2a7d4c70ea669fcb507c4e5077438df6a2e5fac4ae116e992b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4b2-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b84adec0d4c7a7bd062c718c3c11c2a1c6cccdb7a73ae79395b6edf43f2139f5
MD5 2e4bd0fa1155fc2543719f5c394e079b
BLAKE2b-256 b77d92cb97aae11e47adfe5fe147e72bd997bac9aef07ec17c67532ad4b379ec

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.4b2-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4b2-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 11778c1457541377699f1d950adbec7d2d554262d2156b452deb479c834c251f
MD5 40d3d1fac5dee0d2d112586bd4bc5ff8
BLAKE2b-256 38643401b5856b606b320bc66b1f28f1e6af9c8bea7e68a5f505b078e4ea1434

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4b2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 bb6a9a1e2f7098cc38b9af0f4ad9933083d30ed6ae3a68f544814d6e5ad79a6a
MD5 14f15e06bef71c93cc14449b4b423a25
BLAKE2b-256 db1317aa77839fc8e6a2eb51c5a52828edccb95d124ad764bf312a8eee569841

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4b2-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 961642a4efb4ce6af00ef54aca36a14c399ee5d6e947980ec6875e7df6cdc7e2
MD5 60b2ba9279568e140b050bc9e80ad768
BLAKE2b-256 d5b3b32d78f027cde7d5b56af034c3ca3b72c7120f63043b14fbab6d74d00b9a

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.4b2-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4b2-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 343ca17edaa7b72cdadec1444aca7f41e45540dbd0c37303d849778950550e10
MD5 69c0f48e76656668e6fc6c948f0b9539
BLAKE2b-256 d01bc710756d4c77b46e476b8b3296be1855d858ae547541999d9f13fbee893f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4b2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 191cad810020acd00b9e69be686d2b38027fc54c8e90a01fab4e39eca85a9e1d
MD5 27b076b095f07cab69c9d44e4802ede8
BLAKE2b-256 cf8ed2fbea323042cd85d977e8e0e556573c9ed0413dd56a84f6dbcd704a3e05

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4b2-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c78d3062739b108f40a61dbe77c3ef3a91758c8248a9fff0b0987373d9b6759a
MD5 e9e2250cdbf0234993c4a999dc719bab
BLAKE2b-256 89e34412c335cdcfe5689657054de0fc5c6ab4bde0a78909bb7b7895e4bcbce7

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.4b2-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4b2-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 77372993fadbe19f128ed4b330d40fa956c92ecc4ae7aab2d7ec0c70bb257dad
MD5 a929d3f54f2fe5b9e5a81b6ef847cbbb
BLAKE2b-256 ea76fa8fde716ab6901672aa5a93526b57396436d2f5f65c38e26db0b8fd59ee

See more details on using hashes here.

Provenance

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