Skip to main content

langbench

PyPI - Version Python PyPI - Downloads CI

langbench is an easy to use benchmarking library for langchain based LLM pipelines.

Installation

pip install langbench

Metrics

langbench provides the following metrics:

  • toxicity: Toxicity of the generated text.
  • bias: Bias of the generated text, including:
    • political
    • gender
    • racial
    • educational
    • nationality
    • religious
    • others
  • latency: Latency of the generated text.

Reports are generated in the form of an html file.

Documentation

The official documentation is available at langbench.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for langbench 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langbench 0.0.2
File Size Uploaded Provenance Actions
langbench-0.0.2.tar.gz 4.9 kB With provenance Details for langbench-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for langbench 0.0.2
File Interpreter ABI Platform Actions
langbench-0.0.2-py3-none-any.whl Python 3 none any Details for langbench-0.0.2-py3-none-any.whl

Total release size: 11.2 kB

Release files / langbench-0.0.2.tar.gz

Download URL langbench-0.0.2.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e3320fd7e72edce9ec5b2f546c4710c98c1a4545be8c41a52b291ea9c9e0c038
BLAKE2b-256 checksum
How to use checksums
84e532ee5ed3cdd1c12af5de8e29df00113a2cb0e722e49cfa125d510362a907
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.

Transparency log

Release files / langbench-0.0.2-py3-none-any.whl

Download URL langbench-0.0.2-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
793dab673516e973876ba88bfc1e1ba5c3996e7520d94cf34244948680696fe6
BLAKE2b-256 checksum
How to use checksums
04d23401c10087fb316e8b743151538448c875bd04d334fabdc60379504e4f8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.

Transparency log

Security for langbench 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for langbench-0.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page