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

Uploaded CPython 3.13Windows x86-64

gllm_core_binary-0.4.1-cp313-cp313-manylinux_2_31_x86_64.whl (762.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.1-cp313-cp313-macosx_13_0_x86_64.whl (600.4 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_core_binary-0.4.1-cp313-cp313-macosx_13_0_arm64.whl (514.0 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_core_binary-0.4.1-cp312-cp312-win_amd64.whl (523.4 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_core_binary-0.4.1-cp312-cp312-manylinux_2_31_x86_64.whl (763.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.1-cp312-cp312-macosx_13_0_x86_64.whl (599.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_core_binary-0.4.1-cp312-cp312-macosx_13_0_arm64.whl (512.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_core_binary-0.4.1-cp311-cp311-win_amd64.whl (536.0 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_core_binary-0.4.1-cp311-cp311-manylinux_2_31_x86_64.whl (696.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_core_binary-0.4.1-cp311-cp311-macosx_13_0_x86_64.whl (599.0 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_core_binary-0.4.1-cp311-cp311-macosx_13_0_arm64.whl (508.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b8f2ed727095dd1be1b3499e6607540f4df8fac6eb455e5ff6043d35c4ae9145
MD5 717254fe82dafb7b0f99c56c3fb9275b
BLAKE2b-256 ba13b6981b4ffbd7f3f9b9650b67abed7a463cb701ae275aae3e2aaf6c851c1c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e07a930a78fef7b32441d4592905d05683bdce805f37b5a91e53ac9781831a58
MD5 2a4081cdfb1018843425c5c3fe508105
BLAKE2b-256 e65ff0eb20c121ccb6a1aae87887d31fb0743ebe4b25809215eaabe5cfde06d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8ed2c42f046b70f39542c11b8ea55edde07d23c5d771ca4903de42b40a989618
MD5 3508182325ff42a9d04ec0841bf734e2
BLAKE2b-256 cc74de00ac80f8e0ed364147f8455191afb477786a2ada877b2551f2985cd6d6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6a647d6363d59496f6b39245a3bbe7e34865e168b77aed3d72aedc5fd9c3de61
MD5 56d21a860d8e031b437aa862e65c80d1
BLAKE2b-256 43a1d2d807b455d8c5d1ddeaa5405d776ec76eee9a3cda2fbee17f3f6d4b6de9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 603b289c4cbc4227a8b37fa1f8139c083d4249d6b7f77c7960a2d135bf72eff4
MD5 886308f86d2aa77c9a0c2f01e101f4d5
BLAKE2b-256 93fbc630fd4cac24f5b35ceb88896b81b8b6c8916f3480ce553761bf096a7fb9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0248e08e1cd6fd83928d30fdd2d7e7bc7145702ad0ddd48eb01a1df164023626
MD5 7807df68905f3d2cb58cc4df1a010905
BLAKE2b-256 f686f641d8bd73617ea8813631eba0ea7bcb499e3a01dca2c3b381a1047280ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 593e778cd74debd1ebc70b59c91506bafaffeaef175a5c0d1039799a28ff9c7c
MD5 ee672ddea587155b106eac6fd0d73c42
BLAKE2b-256 3362cdbe8be33755d130e665db62c0ba23dbf2f67409e1dfa3b6b6af9b500d9a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c5b94dfb3a2e895489e466507cd3684d32d00fffdb4fb96f0da1a3da14da89e6
MD5 b673a2d9a177098c6c50021861cc102f
BLAKE2b-256 b43f3f13afb366ac3f908ceb128eacccbc5fd28d126539df3a73b6cb020ed906

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7901257b37aaf74ca52da082646ae39a74141f19c32ad01a80143697f73dfb93
MD5 b9d41733bd4be68696ea7e7ebfc10da3
BLAKE2b-256 a61441c0046cea54ff8b660c4065f6b86617b9e483d6939ff6ab88dab8f42e6b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8d6b974f04d52dd27281193f40cdda8991097972aec87af31a6e9f185ced48a1
MD5 d664c7824770e57951ee6dcdd8ede8d1
BLAKE2b-256 9d8a6e8c1e767c2eb700f4bfe2b957a4977bfe5259d24251cfbf2bdd0ebe535f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6729e544f750bae2b473e297cbbf499fbee90a85e43f58fb78b3a0fd090b0aa3
MD5 11bb348a5a98a571eba5753037668916
BLAKE2b-256 f23cf0869c9243aadce3b9b7df83a2b40afbea8839fdda83ba1e139d691b5824

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_core_binary-0.4.1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7d96474837384a3db6575f7f271aa34da2817d2c49450c0b2e23e87aabb4871e
MD5 259a05b37335bf39052f4d7006e85b7a
BLAKE2b-256 11b4f01acc6a9aacacd47ba2cbd270985c8b410bdf70368764e94c847c821745

See more details on using hashes here.

Provenance

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