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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.3.21-cp313-cp313-manylinux_2_31_x86_64.whl (686.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.21-cp313-cp313-macosx_13_0_x86_64.whl (522.3 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.3.21-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (446.2 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_core_binary-0.3.21-cp312-cp312-win_amd64.whl (472.7 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.3.21-cp312-cp312-manylinux_2_31_x86_64.whl (688.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.21-cp312-cp312-macosx_13_0_x86_64.whl (521.8 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.3.21-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (445.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_core_binary-0.3.21-cp311-cp311-win_amd64.whl (479.8 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.3.21-cp311-cp311-manylinux_2_31_x86_64.whl (628.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.3.21-cp311-cp311-macosx_13_0_x86_64.whl (522.3 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.3.21-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (441.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.21-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ce5883284d6320c1789eda20931cdc9ad7118e92e1981504fc77f617c55b0bd5
MD5 7715ac1706692626da517218a5f80cdd
BLAKE2b-256 cd1756070c464c3258243b2ec805e13c2c219bece025ecc8b7dfa3d7defad045

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.21-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 bc2ee3d365f8aded88ee55505cfc5f2878fcb6ff509379bf2e10d66b39f8fc03
MD5 881df9fcaf4fe15cd696a10ad1562769
BLAKE2b-256 2160a0cebe82ad4611be3a3167d73ffe68a57143952da980ccd6a9a74a41056d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.21-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2414febb60b8f0cda1a8e5373fc871eb29b6a510607ff5d67fc4bdf2973be29e
MD5 41efd339f870ef518d0fb9daa0c1fa8f
BLAKE2b-256 817051efb519153a5eee9e1e00674a5d700c30984a3bd873152223c3ebe04924

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.21-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 82a796ea71a5fe52f85649238cdc73c807895c56edef36d2b799902918554bfa
MD5 3397af581a59ac2c26a8164293a38e9e
BLAKE2b-256 868369a45c163e41c8e7d352b53b4773a45322d161720cb1de6f3ddbd406809e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.21-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 80635d581bf8f5f5146276e1cdeca6307486d904a003e23e1a796b58f8f9d37a
MD5 b9c0117e9ac54f2f4ebe66a694ec1529
BLAKE2b-256 714161b281727f0537591c8f29bce49ca9bb12711d1089197f4c869af500354e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.21-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9465bdd1ae5cfbfffd7dce3a74dd59253ea4aeffb0a7607a97a1bf74136f3bc5
MD5 a5b10e3c181e3c9eaaafdd9b6de2239b
BLAKE2b-256 0d873f02b2f79cedd0554043d29c0800f3f149b83744a78694b1b811cc123d4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.21-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b2abcdf540e8a30991fb1613a35b2e27024aa58508f3c62282858a9eff429883
MD5 ad98fb91b7da9189f64224217fde8789
BLAKE2b-256 8308e0f64d429b11bf904a1a875611fe5fe854005a7917e4f818b72079c40f00

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.21-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 25ff1e749b2dc94f476d11c2fffbea7900006a549f46e5d1f29eece48561a479
MD5 c8352baed2097516d8ac0bd60720372e
BLAKE2b-256 1dec24a898874e6a0947c7137750c335efb18c46151a3e57c4dd1519ded652f1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.21-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 27bb883f9aac886a09858e8ab5b79c8a684d9585fb84a42f93164275b7e97c39
MD5 ef60a71d5530ed8cd24578319443db87
BLAKE2b-256 f230e2a08ceb14ed1a369a94c5f8e8a57ea3554249bbd8c34d9665c4615eefee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.21-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f8cc5befd09e0c73839cf733bdb7cc5b93527656ea449ae1b97714574f6b38d2
MD5 6b7ef0d7f8bd15b2746bc7a699cba8ee
BLAKE2b-256 98aaa21e2db6d4cc458f28063c4d7fa8416773a8edde965a602a405a16bc35cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.21-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4e4dd2a3355fe87599423c2b6b0129beda21973ce955d9682bd501f550469f33
MD5 1cbcfe175f4b746884cd41e117a80f24
BLAKE2b-256 7edc47a0fe7e61fa04fbc9f639b55bf12868908c1b5f563ab184087dc41342ec

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.3.21-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 0624053b0c4029388850580059678c56cb459a35f03a5fb3a4b91201c5339ce7
MD5 bef70215e531a559467f06aa068fad05
BLAKE2b-256 e73f5e04d5c5267cdda82c7c3ed2ea5700065bf34c12c0b4c9ce88d202ecf309

See more details on using hashes here.

Provenance

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