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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.35-cp313-cp313-manylinux_2_31_x86_64.whl (731.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.35-cp313-cp313-macosx_13_0_arm64.whl (486.2 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.3.35-cp312-cp312-win_amd64.whl (504.5 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.35-cp312-cp312-manylinux_2_31_x86_64.whl (732.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.35-cp312-cp312-macosx_13_0_arm64.whl (485.2 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.3.35-cp311-cp311-win_amd64.whl (514.9 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.35-cp311-cp311-manylinux_2_31_x86_64.whl (669.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.35-cp311-cp311-macosx_13_0_arm64.whl (481.1 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.35-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 29fb3d1a4ed09492bb685d6c5475a211020b44b824f7cc74f628c5e6ccfbbd78
MD5 84e260a5bc79196adaad043946ff40e5
BLAKE2b-256 3bea5d6181d29ef409555d6d8c2f73244846f5047593bbdb0f1276310f683162

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.35-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9098d1311d5437ab2c134f288e141da57782228cc3508b63dcbc42ac67f33266
MD5 7044d109fdf7ec154bd8f1705b1e929d
BLAKE2b-256 bac3ee2dd503b3c96561002f8e19efb8ae559ee9ec4e4d7794861211a2d91482

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.35-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b56b59f4c3018e1a04231f7d87aec74e01d5194aa7c4c44a36d4c3ebe43d9015
MD5 0a744140769060bac005b608e1ee629b
BLAKE2b-256 f981ce44f77ff7ad5db16cef1f42f66e3ff4fd18fe386aaa205edcda6bca610d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.35-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 68438a5e82c476e9da4bcc544aff6daf5a2e0d5d380a541c4481c17f04b7c38e
MD5 17c31d7012b99f020ba22a1b11f24d1a
BLAKE2b-256 f2b6de29989fe79321b9132d220113b8dc592949b2e0e2f412f80ca9be321967

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.35-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 823d7c343877a71b42f1475e24e8a39e5563d3b843750d403a132740ae420eb6
MD5 ffbcfe1c96afb492f334161f549bdbaa
BLAKE2b-256 dfcf0491f414f79e1a9fa06fbc9a14ba415b29d517fbb30eb9fbc9df50d5c3c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.35-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c0d74bf5ec056791bf9ac232c9f23d5271418b15ade7d60296c8820a0b96b71c
MD5 abe8ccb8b771d74dd41ced9689d907d2
BLAKE2b-256 a1d1debef597fa23b0f814b8640c1de9dab9b1457c792c27ceea0c3b0644be31

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.35-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 eb2e33864d77680779a5d4fb2c922a63e8c4180c54bbd5ef48a254eab86eb2da
MD5 5f40e9cf08ab987ce38b350dd20fb9c4
BLAKE2b-256 250cd7563061c46cc4a90a0ec00823186fd5fc40c8983d34ff7d81b27ad4da56

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.35-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 42b69316864af33f443d26c0c925e2d83f1a83ab8280a87f01b9d7d879422043
MD5 26eccf45c6b650d5e6676d82e83329ea
BLAKE2b-256 27d8990ceec00979db391101f2caa31ba42ab71e51150fe0fe9a0811de773d6b

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.3.35-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.3.35-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 16d332329baa251ca28a06608b6c851bf46d271b67e1ebe61737bbc66de4481c
MD5 8e67531eb990e1d0eeab049cfbead8c2
BLAKE2b-256 7d5857c1e3204852cf9182e6309970b91345118209528c603dc45727069e875b

See more details on using hashes here.

Provenance

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