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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.0-cp313-cp313-manylinux_2_31_x86_64.whl (771.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.0-cp313-cp313-macosx_13_0_arm64.whl (519.5 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.0-cp312-cp312-manylinux_2_31_x86_64.whl (772.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.0-cp311-cp311-win_amd64.whl (543.3 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.0-cp311-cp311-manylinux_2_31_x86_64.whl (705.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 259956bbc8f6b8e8efb77c288d55f50e61c674147b9259ec992a122c899b54f6
MD5 4d9fca351102773386f0861469ab40bd
BLAKE2b-256 5ad10093708ba4a6a0037fa79ecbf71150ab54b14e64fcb5d3a2681aef13b2b7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.0-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1ddcfc196452fd9640ca3ade083360739ec391ffe15e101c4b5ce68dda6f21f8
MD5 da2c3358a44603a060306bfd3431e01c
BLAKE2b-256 0e7ebbc793d33d68220eb298d4ca65d32a5065bb0922c6a2ea7756c1d4052035

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.0-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c8d4f0eefc21a7b4fb3704221f46c75f6c17126e291c71e446b2d91cce70895f
MD5 3609f0eb316fe0e7322fbbea59063f4c
BLAKE2b-256 713953bb51655782237494f180b7138660802ed3e7e5b320da48cb61b428ead0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.0-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 947d0ae838b87a724c0c9e101bb4b451bac108b0d3839beca94c38e5e0160033
MD5 af04a7e89355fd11c6aa14a616bed15a
BLAKE2b-256 cfbea23b56f6bc28fbef00b399366a6cfb2c2bbffc022af76de6d911ac7bafe0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 de0323311e728d67a32b773298cb9da39cb756e8d5650269ba800bde1d55e851
MD5 721662203c22ea96904ab95543600c7b
BLAKE2b-256 2f6ae9930ffccaa196d972e05eeb44de9e5dc92298c04b7ddaf8bc711ee38092

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.0-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b519e2795ec31cd9421bdd8b0674182f32893156643cf303010a7258a7a167ef
MD5 0b11533fa2857ef34446dc0bc2410738
BLAKE2b-256 ca00a781f8a22d645c759f27eda24804517a41d62b494feaf0e26292f24e1c76

See more details on using hashes here.

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