Archived
This project has been archived by its maintainers, and is no longer receiving any updates.
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
Release files for rail-score 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rail_score-2.0.0.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rail_score-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / rail_score-2.0.0.tar.gz
| Download URL | rail_score-2.0.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3774004d053af8521b6d7b5e646664b2744ec4fafc9048c1cb44afa11454a77
|
|
BLAKE2b-256 checksum How to use checksums |
2a04fdff499cc8435b7e2f038d66297f06da58815cd06c8ab69d4056a1d3c35f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / rail_score-2.0.0-py3-none-any.whl
| Download URL | rail_score-2.0.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df9f47b0fda0b4d1043f253042b009558322dcd8955c5185bcc538bce8ea1ad0
|
|
BLAKE2b-256 checksum How to use checksums |
59c2cc224b061c0f80154eac4d5680d6d2b9d3f5e0a240333eefdfabcaac8470
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|