anitopy icon indicating copy to clipboard operation
anitopy copied to clipboard

Anime video filename parser in Python, based on Anitomy

Results 9 anitopy issues
Sort by recently updated
recently updated
newest added

One use case for making file name uniform by detecting the delimiter used and replace it with space. The output could have a field called "delimiter_detected" for this if the...

enhancement

Currently the `Elements` and `Tokens` classes are singletons. The problem is that we have to be very careful to clean everything between each parse or else state from a previous...

enhancement

The release group isn't properly parsed from some files that use scene naming. Example: `{'file_name': 'JoJos.Bizarre.Adventure.2012.S02E47.Dios.World.3.1080p.BluRay.Remux.DTS-HD.MA2.1.H.264-Meakes.mkv', 'file_extension': 'mkv', 'video_term': 'H.264', 'video_resolution': '1080p', 'source': 'BluRay', 'release_information': 'Remux', 'anime_season': '02', 'episode_number': '47',...

This PR adds a [stub file](https://peps.python.org/pep-0484/#stub-files) `anitopy.pyi` to add backwards compatible type-hinting to the public `anitopy.parse` API. @igorcmoura if you are interested in also type-hinting the internal methods, please do...

Extend the recognition algorithm. Since A lot fansub having this version scheme. Probably if you want to add it as well. ``` Not work: - [Judas] Chuunibyou S1 - NCEDv2.mkv...

enhancement

This PR aims to add Github action to anitopy. This would try on every commit or PR push a build test, a tests run and a pylint check for the...

Sometimes anime tile's use WEB instead of WEBRIP.

```python import anitopy anitopy.parse("I.May.Be.a.Guild.Receptionist.but.Ill.Solo.Any.Boss.to.Clock.Out.on.Time.S01.E01.1080p.CR.WEB-DL.AAC2.0.H.264-VARYG.mkv") anitopy.parse("May.Be.a.Guild.Receptionist.but.Ill.Solo.Any.Boss.to.Clock.Out.on.Time.S01.E01.1080p.CR.WEB-DL.AAC2.0.H.264-VARYG.mkv") ``` - {'file_name': 'I.May.Be.a.Guild.Receptionist.but.Ill.Solo.Any.Boss.to.Clock.Out.on.Time.S01.E01.1080p.CR.WEB-DL.AAC2.0.H.264-VARYG.mkv', 'file_extension': 'mkv', 'video_term': 'H.264', 'video_resolution': '1080p', 'anime_title': 'I.May.Be.a.Guild.Receptionist.but.Ill.Solo.Any.Boss.to.Clock.Out.on.Time.S01.E01.'} - {'file_name': 'May.Be.a.Guild.Receptionist.but.Ill.Solo.Any.Boss.to.Clock.Out.on.Time.S01E01.1080p.CR.WEB-DL.AAC2.0.H.264-VARYG.mkv', 'file_extension': 'mkv', 'video_term': 'H.264', 'video_resolution': '1080p', 'anime_season': '01', 'episode_number': '01',...

setup.py is long deprecated and uv appears to be the new elephant in the room (that I wanted to try out), so here's a PR that migrates to it. Minimum...