DEPRECATED — use rail-score-sdk instead. This package redirects to rail-score-sdk.
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
rail-score — DEPRECATED
This package has been renamed to
rail-score-sdk. All future development, bug fixes, and new features are published there.
Migration
pip uninstall rail-score
pip install rail-score-sdk
Then update your imports:
# Old (deprecated)
from rail_score import RailScore
client = RailScore(api_key="...")
# New
from rail_score_sdk import RailScoreClient
client = RailScoreClient(api_key="...")
What happened?
The rail-score package was the original v1 SDK. It has been superseded by
rail-score-sdk, which includes:
- v2 API support — new endpoints, new auth, new response models
- Async client — non-blocking httpx-based client
- Policy engine — block / regenerate / log behaviours
- Multi-turn sessions — conversation-aware evaluation
- LLM provider wrappers — OpenAI, Anthropic, Google GenAI
- Observability — Langfuse v3 integration, LiteLLM guardrail
Compatibility shim
This package (v2.0.0) installs rail-score-sdk as a dependency and re-exports
its contents. Existing from rail_score import ... imports will continue to work
but will emit a DeprecationWarning.
Links
- New package: https://pypi.org/project/rail-score-sdk/
- Documentation: https://responsibleailabs.ai/developer/docs
- GitHub: https://github.com/RAILethicsHub/rail-score
- Support: research@responsibleailabs.ai
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rail_score-2.0.0.tar.gz.
File metadata
- Download URL: rail_score-2.0.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3774004d053af8521b6d7b5e646664b2744ec4fafc9048c1cb44afa11454a77
|
|
| MD5 |
f305c30d914585e6c656af1cf6b6e972
|
|
| BLAKE2b-256 |
2a04fdff499cc8435b7e2f038d66297f06da58815cd06c8ab69d4056a1d3c35f
|
File details
Details for the file rail_score-2.0.0-py3-none-any.whl.
File metadata
- Download URL: rail_score-2.0.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df9f47b0fda0b4d1043f253042b009558322dcd8955c5185bcc538bce8ea1ad0
|
|
| MD5 |
cfe38df7704b7e0e6a3167f8c2a71e1e
|
|
| BLAKE2b-256 |
59c2cc224b061c0f80154eac4d5680d6d2b9d3f5e0a240333eefdfabcaac8470
|