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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.29-cp313-cp313-manylinux_2_31_x86_64.whl (724.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.29-cp313-cp313-macosx_13_0_x86_64.whl (564.2 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.3.29-cp313-cp313-macosx_13_0_arm64.whl (480.2 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.3.29-cp312-cp312-win_amd64.whl (500.7 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.29-cp312-cp312-manylinux_2_31_x86_64.whl (726.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.29-cp312-cp312-macosx_13_0_x86_64.whl (563.3 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.3.29-cp312-cp312-macosx_13_0_arm64.whl (479.3 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.3.29-cp311-cp311-win_amd64.whl (510.1 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.29-cp311-cp311-manylinux_2_31_x86_64.whl (663.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.29-cp311-cp311-macosx_13_0_x86_64.whl (561.2 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.3.29-cp311-cp311-macosx_13_0_arm64.whl (473.8 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.29-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c403fbfe4e77e3a874f7b9aceafc702c84aaf5079cabc7c9e3c22324d25e3af2
MD5 8ed9da60e0a3658a9fee6fb1770e8888
BLAKE2b-256 d5a5fb03943f03cab2bc2495087249925470560378754dc91c3918b54498f269

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.29-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e05f69ba5630449a72972e9d3fcc2c23523e4ddccdc813b8341bf8255109ed8c
MD5 cb88d9b62f65aac22f3f382799a3a85e
BLAKE2b-256 92286934deb28cd0608baff781db90a4feef81aecdbc560f7abb2f09d525e0f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.29-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c64582d4b396a240bf3bfbb614beeacfbb26c30aef4867211258886dd1b16602
MD5 d04e0d11199028e9ee8792336ef0dd63
BLAKE2b-256 a527398167e343aec2552d89fbedf2d1632a18c01ab7ef923ad43504aca99821

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.29-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 aafae7c2f85cc99e05e54d20bb1b114e22091e670f2145f1d39f83b83010c8fe
MD5 35606abffe269b8986d6dda6ac2f161c
BLAKE2b-256 db6cd7adae6389f369a7dc994a2f4b304226d18de652e68eeeab6b88ef59bb65

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.29-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ebe54a2282be80c29b410af915169bec0c4d4d938ba96ee3f8008e97e6637f2b
MD5 ccd66c50d8f88644c4a4c1981f0f9ad2
BLAKE2b-256 d6b5c7ca3677995426ad6da13b45fdcbd334ce33e531c088383c21937188f5eb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.29-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 65e5fef5b809b093942ede36fdeb6558b162ca717b846ce34ea60f2cc0f9f5d5
MD5 b4dd56c9b664a42b521d02611f622e10
BLAKE2b-256 f465e2ee305213b88534b6f7e21081b954e813622c9af03ef1323f63c543d983

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.29-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3ff8224240ee98f33374801e6d401b5f60b5a054d48dfaa38f5d1a03404b18e3
MD5 0bfcc550a5f486ad4a5f19bf286171ca
BLAKE2b-256 b04d126caee4c5e5a63336f2cfaec0cf2399948e76f727c77736f63efd8926a2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.29-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 deaf733900248d18feff2745675c12d61ec133e777498e367792308d3f2fe5e5
MD5 e3afcb22337f00ef486f81f949dbc0c9
BLAKE2b-256 484d64af5faa6511774245e9e9883bf8eb29260be69e9d81c062aacbeb299a1f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.29-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5e0c67786d1081656fdbd76fc76bbfc001b7bb06cd65707ae5fda8c8d1eb6f92
MD5 6209b4e0089fec73de710af29dcaa28f
BLAKE2b-256 611e00121a98d5049bfd93b7e03c021b34a48f06f340aa42ca343e614fd612eb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.29-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 cdc8ef3617d2d9a80a5e879db9d8060d9fb78422aaa136c7811dfdeb6b4ed35c
MD5 5108216c0e7b4b68fb9e4278f1d4c5cd
BLAKE2b-256 f32cedd8f11f3f6af103651926aeae693f3eae15f6a2f1117fac44a4a12daa97

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.29-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d935ce001401d53969feeaaf0ccd2032c9a571922c3b3ab73b2b1def37b42ee5
MD5 5a23d7aecf4b9084b755f0ac60854f9a
BLAKE2b-256 2778e1b8aef5deca7fc2c4e3be79d71a82168364b61382d36d586402f0c5f309

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.29-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fa2996cc1e5a2d55f3f8e2be889f6998856df46eb572743589c3d39dc4c1801a
MD5 30244bb6cf47443f29548201e9e8efbf
BLAKE2b-256 08e1c07a4ad82065ec2864c72d5570a8b936cb4469ef51c95b6e5f34abb0549f

See more details on using hashes here.

Provenance

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