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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.20-cp313-cp313-manylinux_2_31_x86_64.whl (685.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.20-cp313-cp313-macosx_13_0_x86_64.whl (521.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.3.20-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (445.0 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_core_binary-0.3.20-cp312-cp312-win_amd64.whl (471.8 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.20-cp312-cp312-manylinux_2_31_x86_64.whl (687.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.20-cp312-cp312-macosx_13_0_x86_64.whl (521.3 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.3.20-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (443.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_core_binary-0.3.20-cp311-cp311-win_amd64.whl (479.1 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.20-cp311-cp311-manylinux_2_31_x86_64.whl (627.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.20-cp311-cp311-macosx_13_0_x86_64.whl (521.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.3.20-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (440.8 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.20-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1833b8b5661fc56e511ad12612557adba23524d9b442e6709acfdbaf91e18d72
MD5 3e37d56353e15026921df163c8270b6e
BLAKE2b-256 8286bc9bc505d1705a4664694b8c96838e55e1a8036495fd02aa1b661c22ea44

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.20-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7a70a73595e944662cce300e9f54bc450c7f84d34abfbdbb5bb445f42cb8f86e
MD5 19f1aebf5b2d480eeb6581413cb210b1
BLAKE2b-256 49297888553f0e740d12687aee075373773054948abb90ecf0aeba5cd73a57b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.20-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3e58fef941c7576f26ec35a1b4fbf8a666436bc1f91256fc8a77bca609267b00
MD5 0ab45e7d14e79e906ce2e7b81f778beb
BLAKE2b-256 7c516a97b30269e7a34b3400f724af0c1d2db46dc1daa090a283dffd9cec9f37

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.20-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 bdca176c506e444138a23ece6c4fe353848fe12e75e90a620c93efcfc9a56693
MD5 1705e7699829b1835010c814e659d464
BLAKE2b-256 71901fb9cec6e64bea95e3e6dfe05b63a909e58a2d3d2458170ad527bd06affc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.20-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6bcf534b0146daf4f70213a1a37d53ee78e07c583f116761a8e7a753ae544faa
MD5 7a8c26181d12e86d3e7e90cf75c01d71
BLAKE2b-256 6f0a3d75419dc475dbfbe02d270da073637ab614ce7d6a3d65993319b32ca3f6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.20-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 017704e7be0a5a07422c0f9fed6d4bce633b5ccaade5cf214724f485476fa0ab
MD5 3799b10ffbd4688cc2e57b016ef7fe50
BLAKE2b-256 37a7008fb2d176d3406d3be81dd9b751a0faaf5f3df102ec4dea97bf80adaf56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.20-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e2f33058c3b44226bb760e4c10580ed94966e8f8f1652967f70b0349c7e8c0d9
MD5 8e8d04cc01748706a4e3d70814767cde
BLAKE2b-256 592cad3f3bf98fffa4c8a3d3f1ba98cdaeb979a67469c183b8c670468dcc82da

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.20-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e712d9d5524b517e038ce70c802c52838d4ff4ef701f608e7027ff875dafdafb
MD5 44c90fe6fc78307d775182e71ae8e0aa
BLAKE2b-256 e64889421cb81ee0a82a3868fb5b3a731a0daaf90f739b55d504d10b1ad05706

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.20-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2e5559c6a4f41bd2f90ae8fd7e1a6b8bf371d89a2de0de01663ed55ce1b14de1
MD5 79a2651c1caf27f2a97ea22ae414c0a2
BLAKE2b-256 a12dc9326ef8a0239221f72659ca71f562b285f62c2d1dec1c690e1258f949d4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.20-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4a25f6ed5a5f77f5b78027b2f146ddafab6c381ccd7d4026251c9331246f5f9c
MD5 34ab40bc21bc9d2ba6511e2139d176af
BLAKE2b-256 8fed5b5b2835baf1ce8f4aaae9696ce2e62006fac205a53e0623e19f695d23c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.20-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 16ee2e5393ca8589eb95b48988fad39a2fa99bf2d17704c37accc7ca0598b0dc
MD5 9b91d1dddd7f0e0df022a471679c5e69
BLAKE2b-256 fe880087ce2880a3cea07b30346551d50eb65b2350e12a0c23525b48f01a4462

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.20-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b4ad8e5da71cc5ed7e61f5787102e36413316d4c9cf4b254ca2e2d19c91555a1
MD5 d551a4debe8f76a807dfa860a996aa8b
BLAKE2b-256 a0f684802f8435fcbe261e2b3d03f949f7c49a65e835a7e37c9c4f4e3a0a56ea

See more details on using hashes here.

Provenance

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