Skip to main content

A library for LLM provider configuration and logging utilities

Project description

nenlib

A library for LLM provider configuration and logging utilities.

Installation

pip install nenlib
# or
uv add nenlib

Usage

from nenlib import PROVIDERS, MLopsConfig, LiteLLMConfig

# Access provider configurations
print(PROVIDERS)

# Use MLOps configuration
config = MLopsConfig.get_provider_config("openai")

# Generate LiteLLM configuration
lite_config = LiteLLMConfig(providers=PROVIDERS)
model_list = lite_config.generate_model_list()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nenlib-0.1.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nenlib-0.1.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file nenlib-0.1.0.tar.gz.

File metadata

  • Download URL: nenlib-0.1.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for nenlib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 de1dc2ed1f7c7441ca4c6d5286bf71c5b468341bf31d07a113abe7e00ba0d6b5
MD5 9edaac9d40ac70de0da6fe0ab5e04391
BLAKE2b-256 80c6186f126fae81e6354b6702839466068cb293375b3e1867bf95889f6870df

See more details on using hashes here.

File details

Details for the file nenlib-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nenlib-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for nenlib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d53896effe8a6fbfb1f405ffcae46caf3dec37ec4c88972412c373cb9ab3c7f
MD5 1a9aa5c4bee4adfe0a13c3489872d49d
BLAKE2b-256 75a2fab0da3a4ea5888586319d5f0dd9dd6cda979a2afac12bffd5d9e6bfb2e5

See more details on using hashes here.

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