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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.36-cp313-cp313-manylinux_2_31_x86_64.whl (748.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.36-cp312-cp312-manylinux_2_31_x86_64.whl (750.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.36-cp312-cp312-macosx_13_0_arm64.whl (494.3 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.3.36-cp311-cp311-manylinux_2_31_x86_64.whl (684.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.36-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 cdff2df7ad1b577d6d42f418bf6fd6fd7351e71a5866c25bfef9c2cfc1d115b9
MD5 d9fa4bf486f825dff2e6fc8a4899ea8a
BLAKE2b-256 9799e1e78ffaccfdb1cfb1380c0d52b516c5f5e84194eaaa43e121f03530c141

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.36-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7b28736fae9a027e292ca8112cef4b88a5a7d46ffd0cf773d0fd424cfed84531
MD5 eab213b8dcc835a2914897e743b0fd00
BLAKE2b-256 9c692d367fe99a274196567722e7cb35edd4eef5cadf155e9ba1f386f8322b94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.36-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fb06eb951abcfda1f1ad5302b4c92fab069822991a006e9db59be53733fdce25
MD5 a130a94da2c3831749eec9c89c31f647
BLAKE2b-256 c3ee54c2751d06068838216ad16ecd942ae573d7af79fa7a06ba17332b4a7a67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.36-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8f1699850068fc8e5bb000cdbde3fe37e637ee293430fcb00a092b2d8961895c
MD5 bc5cc6d5302dab5068acc1314ea63df3
BLAKE2b-256 c11f25139918de36989ca7bef96f1a37b90ec44170655d11e5bdb8ed12756ac7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.36-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c787ec3d6028f01968f53c9b9c278e54ac2a7441dba5070cb6c188ec361a1d18
MD5 2709acdc1cc64f1cf448dfaf83d08b9f
BLAKE2b-256 004544e9001daaf12deff670d1e555baa9f18966471a0f402cce0ace70e00980

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