Metadata-Version: 1.1
Name: yumemi
Version: 0.2.2
Summary: AniDB library and simple CLI client.
Home-page: https://github.com/fpob/yumemi
Author: Filip Pobořil
Author-email: tsuki@fpob.eu
License: MIT
Download-URL: https://github.com/fpob/yumemi/archive/v0.2.2.tar.gz
Description-Content-Type: UNKNOWN
Description: Yumemi
        ======
        
        AniDB library for Python and simple CLI client.
        
        *This library not intends to wrap every single API message into function,
        method, or whatever. It just provides simple way to authenticate and then
        simplify sending commands in the correct form, respecting flood protection
        polic.*
        
        .. code:: python
        
            client = yumemi.Client()
            client.auth('login', '*****')
            
            response = client.call('ANIME', {'aid': 11829})
            # ...
        
        
        CLI
        ---
        
        Command line client can only test connection to the API server and add files to
        mylist. Thats all, nothing else will be added, i think. ::
        
            Usage: yumemi [OPTIONS] [FILES]...
             
               AniDB client for adding files to mylist.
             
            Options:
              --version             Show the version and exit.
              --ping                Test connection to AniDB API server.
              -u, --username TEXT
              -p, --password TEXT
              --encrypt TEXT        Ecrypt messages. Parameter value is API Key.
              -w, --watched         Mark files as watched.
              -W, --view-date DATE  Set viewdate to certain date. Implies -w/--watched.
                                    Formats: Y-m-d[ H:M[:S]] | y H:M (yesterday) | -#[d]
                                    H:M (before # days).
              -d, --deleted         Set file state to deleted.
              -e, --edit            Set edit flag to true.
              -j, --jobs TEXT       Number of adding processes. Default is CPU count.
              -h, --help            Show this message and exit.
        
        Values of options `username`, `encrypt` and `jobs` are also read from
        environment variables prefixed with `YUMEMI_`. For example if you don't want to
        write username every time you adding files, type following line into terminal
        or place it to your `~/.profile` file ::
        
            export YUMEMI_USERNAME=your-username
        
        
        Installation
        ------------
        
        Install it using pip ::
        
            pip3 install yumemi
        
        or clone repository ::
        
            git clone https://github.com/fpob/yumemi
            cd yumemi
        
        and install Python package including dependencies ::
        
            python3 setup.py install
        
        To use optional encryption, package `pycrypto` must be installed ::
        
            pip3 install pycrypto
        
Keywords: AniDB
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Utilities
