Metadata-Version: 1.1
Name: hudsucker
Version: 0.2.1
Summary: Hudsucker Proxy Generator
Home-page: https://github.com/RobRuana/hudsucker
Author: Rob Ruana
Author-email: rob@robruana.com
License: MIT
Download-URL: http://pypi.python.org/pypi/hudsucker
Description: Hudsucker Proxy Generator
        =========================
        
        Generate MtG proxy sheets from mythicspoiler.com & other sites
        --------------------------------------------------------------
        
        ``hudsucker`` takes a text file specifying a list of MtG cards and generates a set of 3x3 PDF sheets.
        
        Unless otherwise specified, the source images are pulled from `mythicspoiler.com <http://mythicspoiler.com>`_.
        
        ::
        
            $ hudsucker cards.txt
            ./cards01.pdf
        
        
        cards.txt
        ---------
        
        ::
        
            # Example input file, comments and blank lines are supported
        
            # Cards names are listed one per line, misspellings are okay
            Pia Nalaar              # Inline comments are also supported
            Saheeli's Artistry      # Spaces, capitals, and punctuation are fine
        
            # For multiples of the same card, list them multiple times
            Strip Mine
            Strip Mine
        
            # The page for the card can be specified
            http://mythicspoiler.com/kld/cards/wispweaverangel.html
        
            # Or the image file can be listed explicitly
            http://mythicspoiler.com/kld/cards/trinketmastercraft.jpg
            http://www.mythicspoiler.com/kld/cards/gontilordofluxury.jpg
        
            # Sites other than mythicspoiler.com can be specified
            # A best attempt will be made to determine the card image
            http://magiccards.info/vma/en/4.html # Black Lotus
        
            # Image files from any site can also be listed explicitly
            http://magiccards.info/scans/en/vma/1.jpg # Ancestral Recall
        
        
        cards01.pdf
        -----------
        
        .. image:: https://github.com/RobRuana/hudsucker/raw/master/example_Sheet01_134.26dpi.png
           :alt: Example output
        
        
        Installation
        ------------
        
        ::
        
            pip install hudsucker
        
        
        If it fails with the following error message::
        
            ValueError: jpeg is required unless explicitly disabled using --disable-jpeg, aborting
        
        
        Try installing ``libjpeg`` (or equivalent for your OS)::
        
            # on OS X with homebrew
            brew install libjpeg
        
        
        Help
        ----
        
        ::
        
            $ hudsucker --help
            usage: hudsucker [-h] [-v] [-m N] [-o DIR] [-p N] [-s URL] [-c DIR] [-n] [-r]
                             FILE [FILE ...]
        
            Hudsucker Proxy Generator - generate MtG proxy sheets
        
            positional arguments:
              FILE                  each line of FILE should be a MtG card name, or a url
        
            optional arguments:
              -h, --help            show this help message and exit
              -v, --verbose         print verbose details
        
            card output arguments:
              -m N, --margin N      border width as a percent of card width, defaults to 3
              -o DIR, --output DIR  output dir, defaults to current dir
              -p N, --resolution N  print resolution of output PDF, defaults to 600
              -s URL, --site URL    site to search for card images, defaults to
                                    mythicspoiler.com
        
            caching arguments:
              NOTE: Careful turning off cache, search engines may ban your IP
        
              -c DIR, --cache DIR   cache dir, defaults to hudsucker_cache
              -n, --no-cache        don't cache any downloaded files
              -r, --refresh         force refresh of any cached downloads
        
        
        Contributing
        ------------
        
        Report bugs or make pull requests on `GitHub <https://github.com/RobRuana/hudsucker>`_.
        
        
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Utilities
