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.23b3-py3-none-any.whl (75.5 kB view details)

Uploaded Python 3

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

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.23b3-cp313-cp313-macosx_13_0_arm64.whl (453.7 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.3.23b3-cp313-cp313-macosx_11_0_x86_64.whl (576.4 kB view details)

Uploaded CPython 3.13macOS 11.0+ x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.23b3-cp312-cp312-macosx_11_0_x86_64.whl (576.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

gllm_core_binary-0.3.23b3-cp312-cp312-macosx_11_0_arm64.whl (452.4 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.23b3-cp311-cp311-macosx_11_0_x86_64.whl (555.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

File details

Details for the file gllm_core_binary-0.3.23b3-py3-none-any.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b3-py3-none-any.whl
Algorithm Hash digest
SHA256 6edf764058ac431a7cf56a851909bd5630660127113673451e1e63c0fa9c11f6
MD5 50f43add8e56780b4334013df26ae0bd
BLAKE2b-256 3ca88ef1d34862ad0ec643bbaf72d774dcad8cfc13d25b9fd3134cdbf46d84d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b3-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a48d6fdcbd5e0d52ddfc2231a040dd2d0d7580495ca8cdc8d37fc448cf06d06b
MD5 abec72c5cc7c6c2bc7a33d2acf2e6efa
BLAKE2b-256 139973d26900926da44e03a63f0b9d231146308daf0bb7519fb0d473d8af20cb

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.23b3-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b3-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 0140182a434c3e6e8e34cc44cafedc4a5c154a9278952cb889aa035218952e07
MD5 c3b19afd865e4776a34f9e5b69c01a10
BLAKE2b-256 fe7ea8ac966437be35d375f2c5827b7f0aa6d9cc8fb95ee30379214978126ebc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b3-cp313-cp313-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 15eca9eb424fff7d8f7d431645539625a795bf0a34a4d20fc815280719b269dd
MD5 5bf8bf3b1237e7b5c1a9625eddfc0bad
BLAKE2b-256 53ac97c892a98c91a5aa3508f6529aa6800c1af7156662ec5b897814b1f73a83

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b3-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d8f18fe3b3c55ee45053799647b72b727e679b91f2f20426d71089d1840355f6
MD5 90239355c9e879603cb213cf2f9f44ac
BLAKE2b-256 b0dc7ca65b547362a942dd3524dc2cc60d8c9334a4ba65ccbbdb1e72717b8f0c

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.23b3-cp312-cp312-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b3-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 68e8e4ffda6e07709abe24d3a62d5a95102b1efe2a1cd180e2e1e24a7b1ee11d
MD5 e7ca6ac5ce10fa13c1f0320a1428e86f
BLAKE2b-256 06b719110f55263ba91d5cc58b5fbf72cf09fbf4c6cc02e1963e6ee115c7aa86

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 948d6420d2c3c15844d3e1ded2eae22831458ceb99daa9b902773fa142059edb
MD5 9f477c5b75a5df0359e9d61777cbe692
BLAKE2b-256 a2355f057ad05bd47ce165f23e75a17949aa54cc10a7feca803f33bf6d230596

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b3-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8c9648b744a58dccf4294726096207a982681e3a6d2d969f1429820b6539d6ad
MD5 32c9232c6537e9ae8017e4911a1f4fa2
BLAKE2b-256 1b6fc34967536987857ec7616fb4bde5ef7578f9954fd59418524d3ff5aa84ef

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.23b3-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.23b3-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 258dafbc226e8298e572eca4081d75f74796c71251db0bb0ee0a21ac3fdb9e0e
MD5 eac1de40c865fede8238871e435dddfb
BLAKE2b-256 d467e4af1dd3ff313a0c6694d8bcc423ebdcad9920ac0e852dc213dcc1111319

See more details on using hashes here.

Provenance

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

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