Metadata-Version: 1.1
Name: MovieSerieTorrent
Version: 1.0.1
Summary: Parser and Renamer for torrents files (Movies and series)
Home-page: https://github.com/JonathanPetit/Parser-Renamer
Author: Petit Jonathan
Author-email: petit.jonathan16@gmail.com
License: MIT
Description: # MovieSerieTorrent 
        [![PyPI version](https://badge.fury.io/py/MovieSerieTorrent.svg)](https://badge.fury.io/py/MovieSerieTorrent/)
        [![pypi downloads](https://img.shields.io/pypi/dm/MovieSerieTorrent.svg)](https://pypi.python.org/pypi/MovieSerieTorrent/)
        > Extract informations from torrents files
        
        ***This library is in progress.***
        
        It's a python library to extract infos from a torrent filename. The parser extract a maximun infos to finnaly get the movie or serie title. The infomations store in a tuple with 2 dictonaries The program use regex to get infos. In the futur the program allow to choose options to rename files. And several other features coming soon. Later the library will be transformed in a Program
        
        ## Install
        1. ***Auto***
          ```
          pip install MovieSerieTorrent
          ````
        
        2. ***Manual***
        
          Clone repo and run setup.py in good directory.
          ```
          git clone https://github.com/JonathanPetit/MovieSerieTorrent
          cd ../MovieSerieTorrent
          python setup.py install
          ```
        
        3. ***Verify***
        
          Verify that you have install fuzzywuzzy correctly --> [GitHub](https://github.com/seatgeek/fuzzywuzzy)
        
        ##Usage
        
        #### Import:
        ```py
        from MovieSerieTorrent import *
        ```
        
        #### Paser:
        > Extract infos from filename and return a tuple with 2 dictionary.
        
        ```py
        Parser().parse('[ www.CpasBien.io ] Enrages.2015.FRENCH.BDRip.XViD-FUNKKY.avi')
        #({'title': 'Enrages',
        #  'year': '2015',
        #  'languages': 'FRENCH',
        #  'quality': 'BDRip',
        #  'extension': 'avi'
        #  'type': 'movie'},
        
        #  {'group': 'FUNKKY',
        #  'sites': 'www.CpasBien.io',
        #  'codec': 'XViD'})
        ```
        First element from tuple :
        * Title
        * Year (Movie)
        * Language
        * Extention file
        * Quality
        * Season (Serie)
        * Episode (Serie)
        
        Second element:
        * Sites download
        * Resolution
        * Audio
        * Uploader
        * Codec
        
        #### Renamer:
        > Rename file with infos extract from Parser.
        
        ```py
        Renamer().preview('[ www.CpasBien.io ] Enrages.2015.FRENCH.BDRip.XViD-FUNKKY.avi')
        #Enrages (2015)-FRENCH-.avi
        ```
        Preview filename, but but does not rename
        
        ```py
        path = '/Users/Jonh/Movies/'
        Renamer().renaming(path, '[ www.CpasBien.io ] Enrages.2015.FRENCH.BDRip.XViD-FUNKKY.avi')
        #Enrages (2015)-FRENCH-.avi
        Renamer().renaming(path, '[ www.CpasBien.pw ] Blindspot.S01E03.FASTSUB.VOSTFR.HDTV.XviD-ZT.avi')
        #BlindspotS01E03-VOSTFR-.avi
        ```
        Rename file in directory.
        
        #### Formatting:
        > Use Parser to create a table with files.
        
        ```py
        path = '/Users/Jonh/Movies/'
        Formatting().formattting(path)
        ````
        ![ScreenShot](https://raw.githubusercontent.com/JonathanPetit/MovieSerieTorrent/master/Screenshots/table.png)
        
        ## Library used. 
        
        * re (regex compilator and matcher library). [DOC](https://docs.python.org/2/library/re.html)
        * os (operating system). [DOC](https://docs.python.org/2/library/os.html)
        * tabulate (create table). [GitHub](https://github.com/gregbanks/python-tabulate)
        * colorama (color in terminal) [GitHub](https://github.com/tartley/colorama)
        * fuzzywuzzy (string matcher). [GitHub](https://github.com/seatgeek/fuzzywuzzy)
        
        ##Issues
        
        * Handler for terminal to set option
        * Continue GUI (tkinter)
        * Option choose path
        * Imdb search for movie and serie to rename better.
        * Unit tests
        
        ##Contact
        > Pull requests, commits or issues are welcome!
        
        * Mail: petit.jonathan16@gmail.com
        * GitHub
        
        ##License
        
        MIT © Jonathan Petit
        
Keywords: parser renamer formatting python torrents torrent files file movie serie movies series
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Natural Language :: French
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
