GuessIt is a Python library that extracts as much information as
possible from a video file.
It has a filename matcher that allows to guess a lot of metadata from
a video using its filename only. This matcher works with both movies
and TV shows episodes.
Provides
Requires
License
LGPL-3.0-or-later
Changelog
* Mon Nov 23 2026 Luigi Baldoni <aloisio@gmx.com>
- Update to version 4.5.5
Bug Fixes:
* language: Map castellano to Spanish instead of Catalan
Performance Improvements:
* api: Bound the rule sets kept by the effective options cache
* api: Keep effective options per option set and make them
call-local
* Fri Nov 20 2026 Luigi Baldoni <aloisio@gmx.com>
- Update to version 4.5.4
Bug Fixes:
* cli: Drop the undeclared six import in jsonutils
* episodes: Keep a number ending the title before a creditless
opening/ending
* language: Recognize the VOF and VF2 French language tags
- Drop remove-six.patch (merged upstream)
* Thu Nov 19 2026 Luigi Baldoni <aloisio@gmx.com>
- Update to version 4.5.3
Bug Fixes:
* title: Keep every dot of an abbreviation that starts the
title
* Wed Nov 18 2026 Luigi Baldoni <aloisio@gmx.com>
- Update to version 4.5.2
Bug Fixes:
* episodes: Number the episode behind a numbered expected_title
* Wed Nov 11 2026 Luigi Baldoni <aloisio@gmx.com>
- Update to version 4.5.1
Bug Fixes:
* date: Keep a year range whole next to an episode title
* date: Recognize a YYYY-YYYY year range with or without
brackets
version 4.5.0:
Bug Fixes:
* Address review feedback
* Fixed four spurious-number patterns in episodes.py:
RemoveDetachedE
* container: Recognize .strm and .vtt as known extensions
* date: Read a dotted pair of single digits as a decimal for
movies
* episodes: Make detached episode removal independent of the
forced type
* formatters: Keep a decimal number's dots, drop the one after
it
* processors: Detect a sample through its directory, not under
a pack
* processors: Keep the filename's season/episode over its
season-pack directory
* processors: Run the episode pass of
RemoveLessSpecificSeasonEpisode
* title: Keep a bare 1.0/2.0 before the year in the title
* year: Keep a lone leading year-range number as the title of
episode files
Features:
* other: Detect HDR10+
* Sat Aug 01 2026 Luigi Baldoni <aloisio@gmx.com>
- Update to version 4.4.0
Bug Fixes:
* other: Anchor the complete marker on a token boundary
Features:
* other: Read the French INTEGRALE as a complete run
* type: Let a complete series outweigh the year
* type: Type a yearless complete run as an episode
* Fri Jul 31 2026 Luigi Baldoni <aloisio@gmx.com>
- Update to version 4.3.0
Bug Fixes:
* episodes: Claim the whole episode word before a roman
numeral
* episodes: Drop a lone digit that plainly numbers something
else
* episodes: Keep the fraction of a half episode out of the
numbering
* episodes: Know the "of" word of the languages the markers
cover
* other: Anchor the Complete marker on the numbered season
word
* release_group: Keep a trailing group out of an unclaimed
numeric run
* title: Count a falsy-valued match as a property in the gap
* title: Keep a leading country word that opens the title
* title: Keep the title when alternative_title is excluded
Features:
* episodes: Read the total that follows a number-first marker
* Thu Jul 30 2026 Luigi Baldoni <aloisio@gmx.com>
- Update to version 4.2.1
Bug Fixes:
* episodes: Apply the codec-token guard to both
season-x-episode chains
* episodes: Keep a year anchoring the title when the type is
forced
* episodes: Scope the episode-word lookup to the match filepart
* Thu Jul 30 2026 Luigi Baldoni <aloisio@gmx.com>
- Update to version 4.2.0
Bug Fixes:
* screen_size: Keep an absolute episode number when the codec
is quoted apart
* screen_size: Stop a p-less resolution from swallowing an x264
codec
Features:
* api: Export properties and suggested_expected from the
package
* schema: Add configuration-aware schema() and
json_schema() accessors
* schema: Deprecate the GUESSIT_SCHEMA constant in favour of
schema()
* Thu Jul 09 2026 Luigi Baldoni <aloisio@gmx.com>
- Update to version 4.1.0
Bug Fixes:
* episodes: Don't treat a title year as a number-first season
marker
* film: Keep a leading film number in the title
* options: Read bundled options.json as UTF-8
* title: Reclaim a title-word property value from the title
zone
* website: Refresh IANA TLD list so modern-gTLD hosts are
detected
Features:
* episodes: Keep a title-trailing number out of number-first
seasons
* episodes: Recognize non-English season/episode keywords
* title: Split a leading original-language script prefix into
alternative_title
Performance Improvements:
* Cache effective options across calls with stable options
- Update license
- Switch to alts where possible
* Mon Jun 29 2026 Luigi Baldoni <aloisio@gmx.com>
- Update to version 4.0.2
Bug Fixes:
* title: Keep languages instead of a language-only title
version 4.0.1
Bug Fixes:
* changelog: Trim noise commit types from the changelog and
PyPI page
* packaging: Balance changelog code fences in the PyPI long
description
version 4.0.0
Bug Fixes:
* Do not absorb a bracketed or non-target-preposition country
into the title
* Do not turn an "other"-only bracket into an anime
release_group
* Don't mutate shared config list values between guesses
* Don't pin an enum for the OS-dependent mimetype property
* Extend lone-article merge to episode_title so it absorbs a
following other word
* Gate the leading-anime-bracket release_group guard on an
episode/season
* Keep a subtitle language glued to its extension even if it
is a common word
* Keep edition/scene-tag words as properties, not titles
* Keep leading hyphenated title whole instead of splitting
into release_group
* Keep properties() keys alphabetically sorted
* Let the filename's season/episode win over a parent
directory's
* Only keep a lowercase subtitle language glued to its
extension
* Only treat a leading dash token as a hyphenated title when
it is one word
* Prefer the leading anime [bracket] over a trailing
parenthetical as release_group
* Read Unicode × as a resolution separator and bound CJK
season markers
* Reclaim a bare "Cam" after the episode marker as
episode_title, not source
* Recognise CJK & Unicode × episode markers, numeric
episode_title as episode
* Stop a real title word being consumed as
country/language/edition/other
* Stop short tokens matching glued inside a larger word
* Weight season+episode completeness so the filename wins
without mixing fileparts
* Widen valid_year bounds and reject a year used as a season
number
* api,release_group: Clear error on None input and stable
release-group casing
* date: Absorb a weekday glued to a date so episode_title
survives
* episode_title: Keep title when a release tag follows the
episode marker
* episodes: Keep release-group digit prefix out of episodes
with -t episode
* numeral: Initialise word-numeral regex to ""
* screen_size: Tolerate trailing "up" upscaled marker
* title: Keep dash-joined parent-directory title whole
* title: Keep trailing "Us" in a title ending on "of"
Build System:
* Add pre-commit
* Add ruff-format hook and run pre-commit tools via uv run
* Add tox
* Migrate to uv and modernize tooling
* Require Python >=3.10 and rebulk 6 for guessit 4
* Require rebulk >=4,<5 and add mypy tooling
* Require rebulk >=4.1 and exploit its precise query overloads
* Run pre-commit hooks locally via uvx and bump CI to Python
3.14
* deps: Require rebulk >=6,<7
Chores:
* deps: Require rebulk >=4.2.2
* title: Fix contradictory TITLE_STOP_WORDS comment
Code Style:
* Clean up code for the expanded ruff ruleset
* Format the codebase with ruff format
Documentation:
* Add CLAUDE.md with architecture and dev guidance
* Drop guessit-js parity mentions from comments
* Mention mypy in CLAUDE.md commands and pre-commit hooks
* Note GitHub closing keywords to auto-close issues on merge
* Record won't-fix structural-ambiguity cases as known
limitations
* Remove Build Status from README
* known-limitations: Add historical won't-fix cases from issue
tracker
* known-limitations: Add structural cases found sweeping
closed Invalid Guess issues
* known-limitations: Record #637/#693/#690/#660 as structural
won't-fix
* properties: Document credits_number and Creditless
* rules: Correct stale rebulk 5 references to rebulk 6
Features:
* Add GUESSIT_SCHEMA machine-readable property schema
* Add other values
* Add volume, imdb_id, tmdb_id and tvdb_id properties
* Classify artwork files as other, register svg mimetype
* Make properties() code-complete against GUESSIT_SCHEMA
* Recognise archive and image extensions as container
* Ship output-schema.json and schema regression tests
* deps: Require rebulk 5 and adopt typed Key handles
* deps: Require rebulk>=4.2.1 and use multi-name Matches.named
* episode_title: Title from parent directory for
absolute-numbered episodes
* episodes: Support Chinese season/episode markers 第N季 /
第N集
* other: Add VR angle and stereoscopic 3D format support
* other: Detect DoVi as Dolby Vision
* other: Match opening/ending credits with index and version
* other: Match opening/ending credits with index and version
* other: OPED yields both Opening and Ending Credits
* rules: Adopt rebulk declared Keys and enforce value types in
CI
* rules: Centralize typed Keys in a registry and wire config
formatters
* source: Add Laserdisc
* streaming_service: Add ADN, Channel 5, Max and NowTV
* title: Align TITLE_STOP_WORDS with guessit-js
* Refactoring:
* title: Use Match.tagged(*RELEASE_TAG_MARKERS)
* types: Annotate api, options, cli, markers and rules core
* types: Annotate common helpers and utils for mypy strict
* types: Annotate config and the simpler property modules
* types: Annotate date, country and screen_size properties
* types: Annotate language and subtitle_language rules
* types: Annotate other, audio_codec, streaming_service,
release_group
* types: Annotate source and episodes rules
* types: Annotate tests and enable the mypy strict pre-commit
hook
* types: Annotate title and episode_title rules
Testing:
* Add fixtures, regenerate schema and document new properties
* Add regression anchors for ambiguity-prone parsing boundaries
* Add regression anchors for historically-fixed Invalid Guess
Result issues
* Anchor correct behaviour of the shared rules touched by
recent fixes
* Archive/artwork tests, fixtures, schema and docs
* Complete the container enum with all archive/image extensions
* Fixture for filename season winning over a parent-directory
season
* Fixtures for a common-word language kept before a subtitle
extension
* Fixtures for anime leading-bracket release group
* Fixtures for CJK / × markers and numeric episode_title
* Fixtures for glued short tokens and release_group bracket
edges
* Fixtures for hyphenated/compound titles kept whole
* Fixtures for title words wrongly consumed as
country/language/other
* Fixtures for year/season validation
* Memoize corpus sweeps in schema tests
Breaking Changes:
* Drops support for Python 3.7, 3.8 and 3.9 — guessit now
requires Python >=3.10. PyPy is no longer tested or
supported. The rebulk engine dependency moves to >=6,<7
- Refreshed remove-six.patch
- Remove shebangs in a safer way
* Tue Apr 08 2025 Ben Greiner <code@bnavigator.de>
- Fix dependencies
* Fri Jan 10 2025 Nico Krapp <nico.krapp@suse.com>
- migrate to pyproject macros
- add remove-six.patch to drop dependency on python-six
* Sun Jun 23 2024 Luigi Baldoni <aloisio@gmx.com>
- Raise version requirement for python-rebulk (fixes boo#1226826)
* Fri Feb 16 2024 Luigi Baldoni <aloisio@gmx.com>
- Disable tests for Leap 15.6
* Thu Dec 14 2023 Luigi Baldoni <aloisio@gmx.com>
- Update to version 3.8.0
Chore:
* migrate setup.cfg to pyproject.toml
* remove win_private_assemblies from pyinstaller spec
* Silence pylint
Feature:
* detect Dolby Vision from DV
* add Paramount+ to Streaming Services
* add amzn-cbr
* add python 3.12 and pypy 3.10 support
Fix:
* pathlib.Path.__enter__() is deprecated
* importlib.resources.read_text() is deprecated
Style:
* fix pylint false positive
* Mon Feb 20 2023 Luigi Baldoni <aloisio@gmx.com>
- Update to version 3.7.1
Fix:
* episode: Ignore absolute_episode guess when SxxExx match is
available in filepart
+ title: Fix title guessing for Show Name/Season XX/episode.mkv
directories pattern
* Sat Feb 18 2023 Luigi Baldoni <aloisio@gmx.com>
- Update to version 3.7.0
Feature:
* week: Add week property
Fix:
* episode: Fix invalid episode range when a weak episode is
present before the match
* expected: Build output from input string for
expected_title/expected_group
* release_group: Properly extract group name from format "Title
* edition: Improve remastered/restored detection
* container: Add m2ts to container extensions
Documentation:
* contributing: Update branch name
* Sat Feb 18 2023 Luigi Baldoni <aloisio@gmx.com>
- Update to version 3.6.0
Feature:
* audio_codec: Detect "DTS:X"
Files
/usr/bin/guessit
/usr/bin/guessit-3.13
/usr/lib/python3.13/site-packages/guessit
/usr/lib/python3.13/site-packages/guessit-4.5.5.dist-info
/usr/lib/python3.13/site-packages/guessit-4.5.5.dist-info/INSTALLER
/usr/lib/python3.13/site-packages/guessit-4.5.5.dist-info/METADATA
/usr/lib/python3.13/site-packages/guessit-4.5.5.dist-info/RECORD
/usr/lib/python3.13/site-packages/guessit-4.5.5.dist-info/REQUESTED
/usr/lib/python3.13/site-packages/guessit-4.5.5.dist-info/WHEEL
/usr/lib/python3.13/site-packages/guessit-4.5.5.dist-info/entry_points.txt
/usr/lib/python3.13/site-packages/guessit-4.5.5.dist-info/licenses
/usr/lib/python3.13/site-packages/guessit-4.5.5.dist-info/licenses/LICENSE
/usr/lib/python3.13/site-packages/guessit/__init__.py
/usr/lib/python3.13/site-packages/guessit/__main__.py
/usr/lib/python3.13/site-packages/guessit/__pycache__
/usr/lib/python3.13/site-packages/guessit/__pycache__/__init__.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/__init__.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/__main__.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/__main__.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/__version__.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/__version__.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/api.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/api.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/jsonutils.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/jsonutils.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/monkeypatch.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/monkeypatch.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/options.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/options.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/reutils.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/reutils.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/schema_builder.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/schema_builder.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/schema_generated.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/schema_generated.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/yamlutils.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/__pycache__/yamlutils.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/__version__.py
/usr/lib/python3.13/site-packages/guessit/api.py
/usr/lib/python3.13/site-packages/guessit/config
/usr/lib/python3.13/site-packages/guessit/config/__init__.py
/usr/lib/python3.13/site-packages/guessit/config/__pycache__
/usr/lib/python3.13/site-packages/guessit/config/__pycache__/__init__.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/config/__pycache__/__init__.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/config/options.json
/usr/lib/python3.13/site-packages/guessit/data
/usr/lib/python3.13/site-packages/guessit/data/__init__.py
/usr/lib/python3.13/site-packages/guessit/data/__pycache__
/usr/lib/python3.13/site-packages/guessit/data/__pycache__/__init__.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/data/__pycache__/__init__.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/data/output-schema.json
/usr/lib/python3.13/site-packages/guessit/data/tlds-alpha-by-domain.txt
/usr/lib/python3.13/site-packages/guessit/jsonutils.py
/usr/lib/python3.13/site-packages/guessit/monkeypatch.py
/usr/lib/python3.13/site-packages/guessit/options.py
/usr/lib/python3.13/site-packages/guessit/py.typed
/usr/lib/python3.13/site-packages/guessit/reutils.py
/usr/lib/python3.13/site-packages/guessit/rules
/usr/lib/python3.13/site-packages/guessit/rules/__init__.py
/usr/lib/python3.13/site-packages/guessit/rules/__pycache__
/usr/lib/python3.13/site-packages/guessit/rules/__pycache__/__init__.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/rules/__pycache__/__init__.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/rules/__pycache__/match_processors.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/rules/__pycache__/match_processors.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/rules/__pycache__/processors.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/rules/__pycache__/processors.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/rules/common
/usr/lib/python3.13/site-packages/guessit/rules/common/__init__.py
/usr/lib/python3.13/site-packages/guessit/rules/common/__pycache__
/usr/lib/python3.13/site-packages/guessit/rules/common/__pycache__/__init__.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/rules/common/__pycache__/__init__.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/rules/common/__pycache__/comparators.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/rules/common/__pycache__/comparators.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/rules/common/__pycache__/date.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/rules/common/__pycache__/date.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/rules/common/__pycache__/expected.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/rules/common/__pycache__/expected.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/rules/common/__pycache__/formatters.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/rules/common/__pycache__/formatters.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/rules/common/__pycache__/keys.cpython-313.opt-1.pyc
/usr/lib/python3.13/site-packages/guessit/rules/common/__pycache__/keys.cpython-313.pyc
/usr/lib/python3.13/site-packages/guessit/rules/common/__pycache_