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.4.4b3-cp313-cp313-win_amd64.whl (527.1 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.4b3-cp313-cp313-manylinux_2_31_x86_64.whl (770.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.4b3-cp313-cp313-macosx_13_0_arm64.whl (519.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.4b3-cp312-cp312-win_amd64.whl (529.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.4b3-cp312-cp312-manylinux_2_31_x86_64.whl (771.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.4b3-cp312-cp312-macosx_13_0_arm64.whl (519.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.4b3-cp311-cp311-win_amd64.whl (541.2 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.4b3-cp311-cp311-manylinux_2_31_x86_64.whl (703.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.4b3-cp311-cp311-macosx_13_0_arm64.whl (516.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_core_binary-0.4.4b3-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4b3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ae954b82bcd9b0c48f7d6c7804360d15c8aa371512b7ab19b1537ff995827f80
MD5 107905e727a818bd4f5979ed7b7a452f
BLAKE2b-256 e091c00fdafe097cc6db068a774192d9c5b04e3f3b0224db70b2f667492933f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4b3-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 618eb0238121f16883426897bcbd0dac1c5d74c1d8a65a32d1376ed5bd18a490
MD5 f600667eba8a28de2efcd43be7911834
BLAKE2b-256 c5cdeb5d961671f99676e13f47415be2ed6b06654b7e8f084d4402bca5b3e528

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4b3-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b549da58e9b9cd2bdbc17052aea3c46fb3be81a070e4d04fd3cd93947675bf6a
MD5 1c94dee31b834dfeedac8c3384346417
BLAKE2b-256 53a8f34c319341300dc7852cc0ad4d7f19ea0295e049af0b553b84d9149100f0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4b3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d87722a9d1cb0969aadd83a744ab756f7afaff39025056c64e3c3151342e7b7e
MD5 bd501ada87310032e99f62995fb922fb
BLAKE2b-256 bfa7c50e85d67e9bdf9b72c71ba6fee50d0040bcf2ab9f5bba8b4ccc0e99b192

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4b3-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 87e66092994778141c1db55e69f68bb3acc90f346c65fd1280e144741863e1a3
MD5 98f314893eb848df73cd1c792bff18be
BLAKE2b-256 f582121bd2f07c55e91ae8da9dc823256f50a97265d74f9f9902f6600071d01d

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.4b3-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4b3-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 83f70066d067f8ef9c595cdab5cb88023257c628ba843b65e9e1f9afdbd23110
MD5 80e983cd4b528a5408993ddcfe0c5574
BLAKE2b-256 0b7c5c5e3a25ca3373ee32ecb1f8dd522f8b3b3aaa07ec66c093f0454957169d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4b3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7f3729a01b4c252502dea519cd00533d91a1711de08c2e8dafd1338a1732fced
MD5 6cd232b0eaa25dbd2fb85455f54d565f
BLAKE2b-256 bd4958b51b9efe5e2a43918a30e9f44d87285ec161a9d682cbaee4138f749251

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4b3-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e69671e4ab2eca0224282690f29f4d147804353bc39168fb519ae473d3def4f7
MD5 37aac00c004fe70024e2811facc80dcb
BLAKE2b-256 1aafd308295e45545b44033075172b9d85149466f59c04d2b934764e40e951b9

See more details on using hashes here.

File details

Details for the file gllm_core_binary-0.4.4b3-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_core_binary-0.4.4b3-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d5102fd6d6686ba0854a933a11a2bae9abcb2f3e51fe13c0c81a2012dee7ea3a
MD5 d4a6772f7afc40dc1f1662a708358fdb
BLAKE2b-256 f613527795b038c11197feca92cd28c64e30ae445312ec38c09069634a0e9a2a

See more details on using hashes here.

Provenance

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