pax_global_header 0000666 0000000 0000000 00000000064 12214361646 0014517 g ustar 00root root 0000000 0000000 52 comment=88ec017dfd7f4602885294515ee944c3c6812a60
wand-0.3.5/ 0000775 0000000 0000000 00000000000 12214361646 0012455 5 ustar 00root root 0000000 0000000 wand-0.3.5/.gitignore 0000664 0000000 0000000 00000000116 12214361646 0014443 0 ustar 00root root 0000000 0000000 docs/_build
build
dist
.tox
*.pyc
*.egg
*.egg-info
.*.swp
.coverage
.DS_Store
wand-0.3.5/.gitmodules 0000664 0000000 0000000 00000000152 12214361646 0014630 0 ustar 00root root 0000000 0000000 [submodule "docs/_themes"]
path = docs/_themes
url = git://github.com/mitsuhiko/flask-sphinx-themes.git
wand-0.3.5/.travis.yml 0000664 0000000 0000000 00000001207 12214361646 0014566 0 ustar 00root root 0000000 0000000 language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- pypy
env:
- secure: "EhG2uSD2m1eGxuL2HeQewJJx7MVL4WpjrxyfiUBEgsApemD1yKJPjUnLwAyd\nbPi5HJx5ySm1TTRSvj6/yP85YLYTaJHA8OabKk7p0wFW294qcrYIDGovU7NL\n3YOqZmqN+S3XOBGFCOnByxE+pcxxWW/3/I09EgeW7D6tBPh67G0="
install:
- pip install pytest pytest-xdist pytest-cov pytest-capturelog memory_profiler psutil coveralls
- pip install -e .
script:
- python -mwand.version --verbose
- py.test --cov wand --boxed --durations=20
after_success:
- coveralls
notifications:
irc:
channels:
- "ircs://ssl.ozinger.org:16667#hongminhee"
- "irc.freenode.net#wand"
on_success: change
on_failure: always
wand-0.3.5/CONTRIBUTING.rst 0000664 0000000 0000000 00000002460 12214361646 0015120 0 ustar 00root root 0000000 0000000 How to contribute
=================
Branching
---------
- Pull requests that fix bugs of a released version should go to
``x.y-maintenance`` (e.g. ``0.2-maintenance``) branch.
Coding style
------------
- Follows `PEP 8`_.
- Alphabetically order imports.
- Prefer relative imports.
- All functions, classes, methods, attributes, and modules should have
the docstring.
- Functions and methods should contain ``:param:``, ``:type:``
(``:returns:``, ``:rtype`` if it returns something),
(``:raises:`` if it may raise an error) in their docstring.
Tests
-----
- All code patches should contain one or more unit tests or regression tests.
- There's `docs about how to test`__.
- All commits will be tested by `Travis CI`__.
__ http://docs.wand-py.org/en/latest/test.html
__ http://travis-ci.org/dahlia/wand
Docs
----
- All packages and modules should have ``.rst`` file for them inside ``docs/``
directory. For example, if there's ``wand/module.py`` there also should be
``docs/wand/module.rst``, and it has to be listed in ``.. toc::`` of
``docs/wand.rst``.
- All new classes/functions/methods/attributes/properties have to contain
``.. versionadded::`` in their docstring.
- All interface changes have to contain ``.. versionchanged::``
in theirdocstring.
.. _PEP 8: www.python.org/dev/peps/pep-0008
wand-0.3.5/LICENSE 0000664 0000000 0000000 00000002073 12214361646 0013464 0 ustar 00root root 0000000 0000000 Copyright (C) 2011-2013 by Hong Minhee
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
wand-0.3.5/MANIFEST.in 0000664 0000000 0000000 00000000023 12214361646 0014206 0 ustar 00root root 0000000 0000000 include README.rst
wand-0.3.5/README.rst 0000664 0000000 0000000 00000003514 12214361646 0014147 0 ustar 00root root 0000000 0000000 .. image:: http://docs.wand-py.org/en/latest/_static/wand.png
:width: 120
:height: 120
Wand_
=====
Wand is a ``ctypes``-based simple ImageMagick_ binding for Python.
It doesn't cover all functionalities of MagickWand API currently.
It works on Python 2.6, 2.7, 3.2, 3.3, and PyPy.
You can install the package from PyPI_ by using ``pip`` or
``easy_install``:
.. code-block:: console
$ pip install Wand
Or would you like to enjoy with bleeding edge? Check out the head
revision of the source code from the `GitHub repository`__:
.. code-block:: console
$ git clone git://github.com/dahlia/wand.git
$ cd wand/
$ python setup.py install
.. _Wand: http://wand-py.org/
.. _ImageMagick: http://www.imagemagick.org/
.. _PyPI: https://pypi.python.org/pypi/Wand
__ https://github.com/dahlia/wand
Docs
----
Recent version
http://docs.wand-py.org/
Development version
http://docs.wand-py.org/en/latest/
Community
---------
Website
http://wand-py.org/
GitHub
https://github.com/dahlia/wand
Package Index (Cheeseshop)
https://pypi.python.org/pypi/Wand
Mailing list
wand@librelist.com
List archive
http://librelist.com/browser/wand/
http://dir.gmane.org/gmane.comp.python.wand
Stack Overflow tag (Q&A)
http://stackoverflow.com/questions/tagged/wand
Quora topic (Q&A)
https://www.quora.com/Wand-ImageMagick-binding
IRC
`irc://irc.freenode.net/wand `_
Continuous Integration (Travis CI)
http://travis-ci.org/dahlia/wand
.. image:: https://secure.travis-ci.org/dahlia/wand.png?branch=master
:alt: Build Status
:target: http://travis-ci.org/dahlia/wand
Code Coverage
https://coveralls.io/r/dahlia/wand
.. image:: https://coveralls.io/repos/dahlia/wand/badge.png
:alt: Coverage Status
:target: https://coveralls.io/r/dahlia/wand
wand-0.3.5/docs/ 0000775 0000000 0000000 00000000000 12214361646 0013405 5 ustar 00root root 0000000 0000000 wand-0.3.5/docs/Makefile 0000664 0000000 0000000 00000010746 12214361646 0015055 0 ustar 00root root 0000000 0000000 # Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
help:
@echo "Please use \`make ' where is one of"
@echo " html to make standalone HTML files"
@echo " dirhtml to make HTML files named index.html in directories"
@echo " singlehtml to make a single large HTML file"
@echo " pickle to make pickle files"
@echo " json to make JSON files"
@echo " htmlhelp to make HTML files and a HTML help project"
@echo " qthelp to make HTML files and a qthelp project"
@echo " devhelp to make HTML files and a Devhelp project"
@echo " epub to make an epub"
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
@echo " latexpdf to make LaTeX files and run them through pdflatex"
@echo " text to make text files"
@echo " man to make manual pages"
@echo " changes to make an overview of all changed/added/deprecated items"
@echo " linkcheck to check all external links for integrity"
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
clean:
-rm -rf $(BUILDDIR)/*
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
dirhtml:
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
singlehtml:
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
@echo
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
pickle:
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
@echo
@echo "Build finished; now you can process the pickle files."
json:
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
@echo
@echo "Build finished; now you can process the JSON files."
htmlhelp:
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
@echo
@echo "Build finished; now you can run HTML Help Workshop with the" \
".hhp project file in $(BUILDDIR)/htmlhelp."
qthelp:
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
@echo
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/Wand.qhcp"
@echo "To view the help file:"
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/Wand.qhc"
devhelp:
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
@echo
@echo "Build finished."
@echo "To view the help file:"
@echo "# mkdir -p $$HOME/.local/share/devhelp/Wand"
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/Wand"
@echo "# devhelp"
epub:
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
@echo
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
latex:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
@echo "Run \`make' in that directory to run these through (pdf)latex" \
"(use \`make latexpdf' here to do that automatically)."
latexpdf:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through pdflatex..."
make -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
text:
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
@echo
@echo "Build finished. The text files are in $(BUILDDIR)/text."
man:
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
@echo
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
changes:
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
@echo
@echo "The overview file is in $(BUILDDIR)/changes."
linkcheck:
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
@echo
@echo "Link check complete; look for any errors in the above output " \
"or in $(BUILDDIR)/linkcheck/output.txt."
doctest:
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
@echo "Testing of doctests in the sources finished, look at the " \
"results in $(BUILDDIR)/doctest/output.txt."
wand-0.3.5/docs/_images/ 0000775 0000000 0000000 00000000000 12214361646 0015011 5 ustar 00root root 0000000 0000000 wand-0.3.5/docs/_images/caption-result.png 0000664 0000000 0000000 00000004515 12214361646 0020475 0 ustar 00root root 0000000 0000000 PNG
IHDR , SE gAMA a sRGB cHRM z&