Skip to main content

NeuRelease

A fast neural parser for torrent and release names.

build platforms license demo

NeuRelease is a fast, high-performance, multilingual neural parser for torrent and release names. It reads a name, extracts its fields - title, season and episode, year, quality, codecs, languages, release group and more - and classifies what the name is: a film, a series, music, a game, software, a book, and whether it is anime. Every value comes with a confidence score and the span it was read from. It also gives availability: a rough estimate, from the name alone, of how likely a debrid service already has the release cached.

It combines a character-level CNN with a Transformer encoder, running as int8 inference with runtime-dispatched SIMD kernels. No ML runtime, no model download: the wheel carries the compiled library and the weights, about 5 MB, and Parser() needs no paths.

Pattern-based parsers recognise known markers and guess the rest by position, so anything ambiguous - a number that may be a year or an episode, a word that may be a language or part of the title - is settled the same way every time, right or wrong. NeuRelease decides from context. It is trained on hundreds of thousands of real, labelled release names from a large torrent index - mostly English, with German, Spanish, French, Italian, Russian, Chinese and Japanese names as well.

pip install neurelease

Use

from neurelease import Parser

parser = Parser()
r = parser.parse("Ted.Lasso.S03E03.4-5-1.1080p.ATVP.WEB-DL.DDP5.1.H.264-NTb")

r.title                                # 'Ted Lasso'
r.season, r.episode, r.episode_title   # 3, 3, '4-5-1'
r.streaming_service, r.release_group   # 'ATVP', ('NTb',)
r.source == "WEB-DL"                   # True: enums equal their labels
r.year                                 # None: the name does not say
r.title.confidence, r.episode_title.confidence  # 1.00, 0.80: every value knows how sure the model was
r.availability                         # 0.75: a rough chance a debrid service has it cached
r.to_dict()                            # {'title': 'Ted Lasso', 'season': 3, 'episode': 3, ...}

names = ["Blade.Runner.2049.2017.2160p.UHD.BluRay.x265-TERMiNAL.mkv",
         "Stray_v1.5-Razor1911",
         "La Casa de Papel - Temporada 3 [HDTV 720p][Cap.305][AC3 5.1 Castellano]",
         "【高清剧集网 www.BTHDTV.com】邻家哥哥给我爱[第05-06集][简繁英字幕].Brother.Next.Door.2024.S01E05-06.1080p.WEB-DL.H264.AAC-BTHDTV",
         "葬送のフリーレン 第28話 「また会ったときに恥ずかしいからね」 (1080p).mkv",
         "Blade.Runner.1982.Final.Cut.REPACK.2160p.UHD.BluRay.DV.HDR.TrueHD.7.1-FraMeSToR"]
releases = parser.parse_batch(names)   # one result per name, in order

SHOW = ("title", "alternative_title", "season", "episode", "absolute_episode",
        "episode_title", "year", "content", "edition", "version", "availability")
for r in releases:
    d = r.to_dict()
    print({k: d[k] for k in SHOW if d.get(k) is not None})
# {'title': 'Blade Runner 2049', 'year': 2017, 'content': 'movie', 'availability': 0.921}
# {'title': 'Stray', 'content': 'game', 'availability': 0.096}
# {'title': 'La Casa de Papel', 'season': 3, 'episode': 5, 'content': 'series', 'availability': 0.282}
# {'title': 'Brother Next Door', 'alternative_title': '邻家哥哥给我爱', 'season': 1, 'episode': [5, 6], 'year': 2024, 'content': 'series', 'availability': 0.079}
# {'title': '葬送のフリーレン', 'absolute_episode': 28, 'episode_title': 'また会ったときに恥ずかしいからね', 'content': 'series', 'availability': 0.029}
# {'title': 'Blade Runner', 'year': 1982, 'content': 'movie', 'edition': 'Final Cut', 'version': 2, 'availability': 0.978}

parse_batch runs many names at once on several threads and returns them in input order. Titles and evidence keep the original script - Latin, Han, Kana, Cyrillic.

A name also states things about ITSELF rather than its content, and those are fields too:

r = parser.parse("The.Expanse.S05E06.REAL.PROPER.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb")
r.proper, r.release_real, r.release_version   # True, 1, 2

release_version is the one number to sort on: a proper or a repack IS the second copy, v2 is the anime spelling of the same thing, and release_real counts the times a botched proper had to be redone - the scene writes REAL.REAL.PROPER, and a boolean would read that as the same release. edition is a tuple because a release is routinely several at once. availability is read from the name alone and learned from real cache data, so it also hints at how wanted a release is; use it for ranking, not as a quality score (docs/AVAILABILITY.md). Every field a result can carry is documented in docs/RESULT.md.

Compared with GuessIt, Sonarr and Radarr

Every figure is the share of names answered completely correctly - every field the name states read right, nothing invented. One wrong field fails the name.

Sonarr answers only series and Radarr only films, and they model 16 and 14 fields against 29 here, so the table is split by content kind and scored only on the nine fields all four answer: title, year, resolution, source, release group, edition, audio language, subtitle language, checksum. Our hard sets keep at most three names per franchise.

Measured on 2026-11-17 with the shipped model (version 6).

cases NeuRelease GuessIt Radarr Sonarr
our labelled names
representative, films 1,001 95.1% 78.0% 69.7% 2.5%
representative, series 2,075 96.0% 60.9% 8.1% 65.5%
hard, films 1,037 57.0% 30.1% 36.1% 1.4%
hard, series 915 81.4% 42.2% 5.8% 55.0%
each parser's own suite
GuessIt's corpus, films 194 86.6% 95.4% 49.5% 2.1%
GuessIt's corpus, series 461 87.6% 94.4% 7.2% 57.3%
Sonarr's suite, series 935 90.7% 80.7% 45.0% 95.2%
Radarr's suite, films 535 85.8% 76.8% 98.5% 68.8%

The lower half is each parser's own regression suite: strings written to pin its own regexes down, which is why every parser wins its own and why those wins say little about real names. NeuRelease is second on all three, having trained on none of them. GuessIt's suite is scored on 859 of its 1,048 entries - the rest are filesystem paths, type assertions inherited from file defaults, or values our closed vocabulary cannot express. Sonarr's and Radarr's suites run almost unfiltered.

On the full twenty-field contract, video names, our validation split (measured 2026-11-17, model 6): 97.76% macro field F1 and 92.25% exact against GuessIt's 86.74% and 52.96%. About 3x faster on one thread (2,658 us/name against 8,420), 1,010 us/name in batch on four threads.

Method, exact model identity, scoring snapshot and reproduction: docs/GUESSIT_COMPARISON.md.

Wheels

Python 3.10 or newer. The wheels are tagged py3-none-<platform>, one per platform rather than one per interpreter, because the library is loaded through ctypes and speaks the stable C ABI.

Platform Wheel Covers
Linux x86-64 manylinux_2_28_x86_64 Debian 10+, Ubuntu 18.10+, Fedora, RHEL 8+, most Docker images
Linux ARM64 manylinux_2_28_aarch64 Raspberry Pi OS 64-bit, ARM servers, ARM NAS boxes
Alpine Linux x86-64 / ARM64 musllinux_1_2 python:*-alpine and other musl containers
macOS, Apple Silicon macosx_11_0_arm64 macOS 11 Big Sur and later
macOS, Intel macosx_11_0_x86_64 macOS 11 Big Sur and later
Windows x86-64 win_amd64 Windows 10 and later

On x86-64 the fastest kernels the CPU supports (AVX2, AVX-VNNI, AVX-512) are chosen at load time; ARM runs the portable kernels, which read every name the same way, only slower. If pip reports no matching distribution on one of these platforms, pip install --upgrade pip first: older pips do not know the newer platform tags. Anywhere else, build from source: the C++ library, the C ABI and the build instructions are in the repository.

What changed in each version: CHANGELOG.md.

License

MIT. PCRE2 is statically linked into the bundled library, and its notice travels in the wheel as THIRD_PARTY_NOTICES.md.

Metadata

Release files for neurelease 0.3.0

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

Built distributions (wheels)

Table of built distributions (wheels) for neurelease 0.3.0
File Actions
neurelease-0.3.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for neurelease-0.3.0-py3-none-win_amd64.whl
neurelease-0.3.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for neurelease-0.3.0-py3-none-musllinux_1_2_x86_64.whl
neurelease-0.3.0-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for neurelease-0.3.0-py3-none-musllinux_1_2_aarch64.whl
neurelease-0.3.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for neurelease-0.3.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
neurelease-0.3.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64, Linux glibc 2.27+ ARM64 Details for neurelease-0.3.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
neurelease-0.3.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for neurelease-0.3.0-py3-none-macosx_11_0_x86_64.whl
neurelease-0.3.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for neurelease-0.3.0-py3-none-macosx_11_0_arm64.whl

Total release size: 36.5 MB

Release files / neurelease-0.3.0-py3-none-win_amd64.whl

Download URL neurelease-0.3.0-py3-none-win_amd64.whl
Size 5.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
0ea388930c35cad0e84ea6ec72768ff094f09bf988461aa69700a1320d31f9fe
BLAKE2b-256 checksum
How to use checksums
0af8736fe92914c6c09b78417304232753517d124b6339ee66ab56e7ef49d4dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 17, 2026.

Transparency log

Release files / neurelease-0.3.0-py3-none-musllinux_1_2_x86_64.whl

Download URL neurelease-0.3.0-py3-none-musllinux_1_2_x86_64.whl
Size 5.7 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
ff47f832f411bdce7c5e68f8eb1b82bc8ddb1a3f2b176ff92f31552f1853933e
BLAKE2b-256 checksum
How to use checksums
8668a9971742f22ef77018015d092c5784a4433d44a30a69b375baba74631a5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 17, 2026.

Transparency log

Release files / neurelease-0.3.0-py3-none-musllinux_1_2_aarch64.whl

Download URL neurelease-0.3.0-py3-none-musllinux_1_2_aarch64.whl
Size 5.6 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
53b00fb7b7eb75a2783abbf780b3dc1dbf5c3d539247e00d8824b22253482409
BLAKE2b-256 checksum
How to use checksums
241264ebc6d063b4077fe409417f1c387b6fb4aef6ad54ffc4160e13759c0597
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 17, 2026.

Transparency log

Release files / neurelease-0.3.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL neurelease-0.3.0-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 5.0 MB
Tags Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
d19137f351e253d7634e021eba4c30eb0ede002dcb2b197ef6a846dba7cff600
BLAKE2b-256 checksum
How to use checksums
9965e436fba223b632e9afcc4890f49666ba1f873293f9e21ef1a800bbec2c46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 17, 2026.

Transparency log

Release files / neurelease-0.3.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL neurelease-0.3.0-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 4.9 MB
Tags Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
e7defb26e988f1e0beba9e9fa79d8dfc0b2dc6f6b29a315448631e66686470a9
BLAKE2b-256 checksum
How to use checksums
b4ed939ce9a2eccbd800dede307782da7a0c34adc0f7cf371bc5dfc35db0d369
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 17, 2026.

Transparency log

Release files / neurelease-0.3.0-py3-none-macosx_11_0_x86_64.whl

Download URL neurelease-0.3.0-py3-none-macosx_11_0_x86_64.whl
Size 4.8 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
2fb4036fb89350ec65466d0d64ff51311a230242e74431d4248ca88d990e95f5
BLAKE2b-256 checksum
How to use checksums
ae90858da3ce3087364c962777d344bac428c297c299f74d1283db82765325c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 17, 2026.

Transparency log

Release files / neurelease-0.3.0-py3-none-macosx_11_0_arm64.whl

Download URL neurelease-0.3.0-py3-none-macosx_11_0_arm64.whl
Size 4.8 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
50ef97369b3e260a5c2a40406bf2e2942ff62a91225b4112b19f57ea3f977995
BLAKE2b-256 checksum
How to use checksums
52aeba9c616c676dabd6ac99550ef2b9dff7d3411ea7e4cad26ad12efff41782
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 17, 2026.

Transparency log

Security for neurelease 0.3.0

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 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for neurelease-0.3.0-py3-none-win_amd64.whl

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 Nov 17, 2026.

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.

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