Skip to main content

Guessit-fork - a library for guessing information from video filenames.

Project description

Guessit-fork

Latest Version LGPLv3 License Codecov semantic-release

Guessit-fork is a python library that extracts as much information as possible from a video filename.

It has a very powerful matcher that allows to guess properties from a video using its filename only. This matcher works with both movies and tv shows episodes.

For example, Guessit-fork can do the following:

$ guessit-fork "Treme.1x03.Right.Place,.Wrong.Time.HDTV.XviD-NoTV.avi"
For: Treme.1x03.Right.Place,.Wrong.Time.HDTV.XviD-NoTV.avi
Guessit-fork found: {
    "title": "Treme",
    "season": 1,
    "episode": 3,
    "episode_title": "Right Place, Wrong Time",
    "source": "HDTV",
    "video_codec": "Xvid",
    "release_group": "NoTV",
    "container": "avi",
    "mimetype": "video/x-msvideo",
    "type": "episode"
}

Python usage:

from guessit_fork import guessit

result = guessit("Treme.1x03.Right.Place,.Wrong.Time.HDTV.XviD-NoTV.avi")
print(result["title"])

More information is available at masudranaxpert.github.io/Guessit-fork.

Fork Credits

This repository is maintained as Guessit-fork by masudranaxpert:

Original upstream project and credits:

Support

This fork is hosted on GitHub for custom updates and maintenance. For upstream issues and original implementation details, see guessit-io/guessit.

Guessit-fork relies on Rebulk project for pattern and rules registration.

License

Guessit-fork is licensed under the LGPLv3 license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

guessit_fork-4.0.3.tar.gz (141.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

guessit_fork-4.0.3-py3-none-any.whl (166.9 kB view details)

Uploaded Python 3

File details

Details for the file guessit_fork-4.0.3.tar.gz.

File metadata

  • Download URL: guessit_fork-4.0.3.tar.gz
  • Upload date:
  • Size: 141.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for guessit_fork-4.0.3.tar.gz
Algorithm Hash digest
SHA256 1e8da0a83e97f0e7905f14978087186f4d7394e7a4c2cb72c58c717626700990
MD5 8bed6af415481a54c70c0a01bc2fd071
BLAKE2b-256 a7793ff037be7b39bd4f87ca288666cb92ff67a1034f45478b7a6bed6e627dc0

See more details on using hashes here.

Provenance

The following attestation bundles were made for guessit_fork-4.0.3.tar.gz:

Publisher: publish.yml on masudranaxpert/Guessit-fork

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file guessit_fork-4.0.3-py3-none-any.whl.

File metadata

  • Download URL: guessit_fork-4.0.3-py3-none-any.whl
  • Upload date:
  • Size: 166.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for guessit_fork-4.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7acab6c53d6caf50f71bf1ff1a9eb1f89f6292410b94817b96df7cbaf3fa2aa6
MD5 df6aedae317711225b05111e7ec8a44f
BLAKE2b-256 9870280a91a0a654cb226d070c2dd648aa5f2cdd414bc5bc7ee849fdbcbc4e7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for guessit_fork-4.0.3-py3-none-any.whl:

Publisher: publish.yml on masudranaxpert/Guessit-fork

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page