Skip to main content

Supernova Lang

A deterministic language detector using the original Supernova engine.

Installation

pip install supernova-lang

Usage

from supernova_lang import detect

result = detect("नेपाल सुन्दर देश हो।")

print(result.language)
print(result.confidence)
print(result.script)

Supported outputs include Nepali, Hindi, Sanskrit, English, Nepali Latin, Mixed, and Unknown.

Confidence is the engine's score and is not necessarily a calibrated probability. This package preserves the existing detector algorithm.

Metadata

Release files for supernova-lang 0.1.0

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

Source distribution (sdist)

Source distribution for supernova-lang 0.1.0
File Size Uploaded
supernova_lang-0.1.0.tar.gz 790.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for supernova-lang 0.1.0
File Interpreter ABI Platform
supernova_lang-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.6 MB

Release files / supernova_lang-0.1.0.tar.gz

Download URL supernova_lang-0.1.0.tar.gz
Size 790.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7119d2fe1cf8c31780e965fbc2c89ed5e50a684ecee6ea9eac2943b39fae97e4
BLAKE2b-256 checksum
How to use checksums
dff7a1b3364434cba5f6f9380a8cad1d4bd931600d1cee11ec2a451bf6941717
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / supernova_lang-0.1.0-py3-none-any.whl

Download URL supernova_lang-0.1.0-py3-none-any.whl
Size 821.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e517812cadc5cf2d4a4fce29224122552600ef0bec1a70ac1cde1404f41647a6
BLAKE2b-256 checksum
How to use checksums
cbd94a5bf21582add7d6be3a94efc7422b8fb0ec3e3a8f12cc93fe8613e6d5eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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