python-pdffiller 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. python_pdffiller-1.0.0/AUTHORS.rst +7 -0
  2. python_pdffiller-1.0.0/CHANGELOG.md +1 -0
  3. python_pdffiller-1.0.0/COPYING +22 -0
  4. python_pdffiller-1.0.0/MANIFEST.in +7 -0
  5. python_pdffiller-1.0.0/PKG-INFO +138 -0
  6. python_pdffiller-1.0.0/README.rst +105 -0
  7. python_pdffiller-1.0.0/docs/Makefile +178 -0
  8. python_pdffiller-1.0.0/docs/make.bat +243 -0
  9. python_pdffiller-1.0.0/docs/source/__init__.py +0 -0
  10. python_pdffiller-1.0.0/docs/source/_static/rtd_literal_block.css +7 -0
  11. python_pdffiller-1.0.0/docs/source/_static/rtd_theme_overrides.css +26 -0
  12. python_pdffiller-1.0.0/docs/source/_static/terminal_output.css +95 -0
  13. python_pdffiller-1.0.0/docs/source/changelog.md +2 -0
  14. python_pdffiller-1.0.0/docs/source/cli-commands.rst +17 -0
  15. python_pdffiller-1.0.0/docs/source/cli-usage.rst +44 -0
  16. python_pdffiller-1.0.0/docs/source/commands/dump_data_fields.rst +34 -0
  17. python_pdffiller-1.0.0/docs/source/commands/fill_form.rst +74 -0
  18. python_pdffiller-1.0.0/docs/source/conf.py +290 -0
  19. python_pdffiller-1.0.0/docs/source/contributing.rst +1 -0
  20. python_pdffiller-1.0.0/docs/source/index.rst +24 -0
  21. python_pdffiller-1.0.0/pdffiller/__init__.py +4 -0
  22. python_pdffiller-1.0.0/pdffiller/__main__.py +6 -0
  23. python_pdffiller-1.0.0/pdffiller/_version.py +6 -0
  24. python_pdffiller-1.0.0/pdffiller/cli/__init__.py +0 -0
  25. python_pdffiller-1.0.0/pdffiller/cli/args.py +28 -0
  26. python_pdffiller-1.0.0/pdffiller/cli/boolean_action.py +35 -0
  27. python_pdffiller-1.0.0/pdffiller/cli/cli.py +260 -0
  28. python_pdffiller-1.0.0/pdffiller/cli/command.py +291 -0
  29. python_pdffiller-1.0.0/pdffiller/cli/commands/__init__.py +0 -0
  30. python_pdffiller-1.0.0/pdffiller/cli/commands/dump_data_fields.py +75 -0
  31. python_pdffiller-1.0.0/pdffiller/cli/commands/fill_form.py +142 -0
  32. python_pdffiller-1.0.0/pdffiller/cli/exit_codes.py +10 -0
  33. python_pdffiller-1.0.0/pdffiller/cli/formatters.py +16 -0
  34. python_pdffiller-1.0.0/pdffiller/cli/once_argument.py +19 -0
  35. python_pdffiller-1.0.0/pdffiller/cli/smart_formatter.py +10 -0
  36. python_pdffiller-1.0.0/pdffiller/const.py +22 -0
  37. python_pdffiller-1.0.0/pdffiller/exceptions.py +59 -0
  38. python_pdffiller-1.0.0/pdffiller/io/__init__.py +0 -0
  39. python_pdffiller-1.0.0/pdffiller/io/colors.py +52 -0
  40. python_pdffiller-1.0.0/pdffiller/io/output.py +335 -0
  41. python_pdffiller-1.0.0/pdffiller/pdf.py +488 -0
  42. python_pdffiller-1.0.0/pdffiller/py.typed.py +0 -0
  43. python_pdffiller-1.0.0/pdffiller/typing.py +59 -0
  44. python_pdffiller-1.0.0/pdffiller/utils.py +36 -0
  45. python_pdffiller-1.0.0/pdffiller/widgets/__init__.py +0 -0
  46. python_pdffiller-1.0.0/pdffiller/widgets/base.py +107 -0
  47. python_pdffiller-1.0.0/pdffiller/widgets/checkbox.py +52 -0
  48. python_pdffiller-1.0.0/pdffiller/widgets/radio.py +37 -0
  49. python_pdffiller-1.0.0/pdffiller/widgets/text.py +82 -0
  50. python_pdffiller-1.0.0/pyproject.toml +151 -0
  51. python_pdffiller-1.0.0/python_pdffiller.egg-info/PKG-INFO +138 -0
  52. python_pdffiller-1.0.0/python_pdffiller.egg-info/SOURCES.txt +70 -0
  53. python_pdffiller-1.0.0/python_pdffiller.egg-info/dependency_links.txt +1 -0
  54. python_pdffiller-1.0.0/python_pdffiller.egg-info/entry_points.txt +2 -0
  55. python_pdffiller-1.0.0/python_pdffiller.egg-info/requires.txt +3 -0
  56. python_pdffiller-1.0.0/python_pdffiller.egg-info/top_level.txt +1 -0
  57. python_pdffiller-1.0.0/requirements-dev.txt +2 -0
  58. python_pdffiller-1.0.0/requirements-doc.txt +8 -0
  59. python_pdffiller-1.0.0/requirements-lint.txt +11 -0
  60. python_pdffiller-1.0.0/requirements-test.txt +9 -0
  61. python_pdffiller-1.0.0/requirements.txt +3 -0
  62. python_pdffiller-1.0.0/setup.cfg +4 -0
  63. python_pdffiller-1.0.0/setup.py +11 -0
  64. python_pdffiller-1.0.0/tests/__init__.py +0 -0
  65. python_pdffiller-1.0.0/tests/conftest.py +28 -0
  66. python_pdffiller-1.0.0/tests/data/empty.pdf +0 -0
  67. python_pdffiller-1.0.0/tests/data/input.pdf +0 -0
  68. python_pdffiller-1.0.0/tests/unit/__init__.py +0 -0
  69. python_pdffiller-1.0.0/tests/unit/test_form_field.py +24 -0
  70. python_pdffiller-1.0.0/tests/unit/test_formatters.py +38 -0
  71. python_pdffiller-1.0.0/tests/unit/test_setup.py +12 -0
  72. python_pdffiller-1.0.0/tox.ini +120 -0
@@ -0,0 +1,7 @@
1
+ Contributors
2
+ ------------
3
+
4
+ |contributors|
5
+
6
+ .. |contributors| image:: https://contributors-img.web.app/image?repo=sismicfr/pypdffiller
7
+ :target: https://github.com/sismicfr/pypdffiller/graphs/contributors
@@ -0,0 +1 @@
1
+ # CHANGELOG
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 SISMIC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
@@ -0,0 +1,7 @@
1
+ include setup.py README.rst MANIFEST.in COPYING pyproject.toml AUTHORS.rst CHANGELOG.md
2
+ include tox.ini requirements*.txt
3
+
4
+ recursive-include tests *
5
+ include docs/Makefile docs/make.bat
6
+ recursive-include docs/source *
7
+
@@ -0,0 +1,138 @@
1
+ Metadata-Version: 2.4
2
+ Name: python-pdffiller
3
+ Version: 1.0.0
4
+ Summary: Interact with PDF by inspecting or filling it
5
+ Author-email: Jacques Raphanel <jraphanel@sismic.fr>
6
+ License-Expression: MIT
7
+ Project-URL: changelog, https://github.com/sismicfr/pypdffiller/blob/main/CHANGELOG.md
8
+ Project-URL: homepage, https://github.com/sismicfr/pypdffiller
9
+ Project-URL: issues, https://github.com/sismicfr/pypdffiller/issues
10
+ Project-URL: repository, http://github.com/sismicfr/pypdffiller.git
11
+ Keywords: development,pdf
12
+ Classifier: Development Status :: 5 - Production/Stable
13
+ Classifier: Environment :: Console
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Natural Language :: English
16
+ Classifier: Operating System :: POSIX
17
+ Classifier: Operating System :: Microsoft :: Windows
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
25
+ Requires-Python: >=3.9
26
+ Description-Content-Type: text/x-rst
27
+ License-File: COPYING
28
+ License-File: AUTHORS.rst
29
+ Requires-Dist: pypdf
30
+ Requires-Dist: colorama
31
+ Requires-Dist: pyyaml
32
+ Dynamic: license-file
33
+
34
+ pypdffiller
35
+ ===========
36
+
37
+ |Test| |PyPI| |Python| |Code Style| |Pre-Commit| |License|
38
+
39
+ ``pypdffiller`` is a free and open source pure-Python 3 library for PDF form processing. It contains the essential
40
+ functionalities needed to interact with PDF forms:
41
+
42
+ - Inspect what data a PDF form needs to be filled with.
43
+ - Fill a PDF form by simply creating a Python dictionary.
44
+
45
+ Installation
46
+ ------------
47
+
48
+ As of first version, ``pypdffiller`` is compatible with Python 3.9+.
49
+
50
+ Use ``pip`` to install the latest stable version of ``pypdffiller``:
51
+
52
+ .. code-block:: console
53
+
54
+ $ pip install --upgrade python-pdffiller
55
+
56
+ The current development version is available on both `GitHub.com
57
+ <https://github.com/sismicfr/pypdffiller>`__ and can be
58
+ installed directly from the git repository:
59
+
60
+ .. code-block:: console
61
+
62
+ $ pip install git+https://github.com/sismicfr/pypdffiller.git
63
+
64
+
65
+ Bug reports
66
+ -----------
67
+
68
+ Please report bugs and feature requests at
69
+ https://github.com/sismicfr/pypdffiller/issues.
70
+
71
+
72
+ Documentation
73
+ -------------
74
+
75
+ The full documentation for CLI and API is available at https://pypdffiller.readthedocs.org/en/stable/.
76
+
77
+ Build the docs
78
+ ~~~~~~~~~~~~~~
79
+
80
+ We use ``tox`` to manage our environment and build the documentation:
81
+
82
+ .. code-block:: console
83
+
84
+ $ pip install tox
85
+ $ tox -e docs
86
+
87
+ Executable
88
+ ----------
89
+
90
+ In addition to the **Python** package, a standalone executable can be built using **PyInstaller**.
91
+
92
+ Build the executable
93
+ ~~~~~~~~~~~~~~~~~~~~
94
+
95
+ We use ``tox`` to manage our environment and build the executable:
96
+
97
+ .. code-block:: console
98
+
99
+ $ pip install tox
100
+ $ tox -e installer
101
+
102
+ .. code-block:: console
103
+
104
+ $ make exe
105
+
106
+ Contributing
107
+ ------------
108
+
109
+ For guidelines for contributing to ``pypdffiller``, refer to `CONTRIBUTING.rst <https://github.com/sismicfr/pypdffiller/blob/main/CONTRIBUTING.rst>`_.
110
+
111
+
112
+ .. |Test| image:: https://github.com/sismicfr/pypdffiller/workflows/Test/badge.svg
113
+ :target: https://github.com/sismicfr/pypdffiller/actions
114
+ :alt: Test
115
+
116
+ .. |PyPI| image:: https://img.shields.io/pypi/v/pypdffiller?label=PyPI&logo=pypi
117
+ :target: https://badge.fury.io/py/pypdffiller
118
+ :alt: PyPI
119
+
120
+ .. |Read the Docs| image:: https://img.shields.io/readthedocs/pypdffiller?label=Documentation&logo=Read%20the%20Docs
121
+ :target: https://sismicfr.github.io/pypdffiller
122
+ :alt: Docs
123
+
124
+ .. |Python| image:: https://img.shields.io/pypi/pyversions/pypdffiller.svg?label=Python&logo=Python
125
+ :target: https://pypi.python.org/pypi/pypdffiller
126
+ :alt: Python
127
+
128
+ .. |Code Style| image:: https://img.shields.io/badge/code%20style-black-000000.svg?label=Code%20Style
129
+ :target: https://github.com/python/black
130
+ :alt: Code Style
131
+
132
+ .. |Pre-Commit| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&label=Pre-Commit
133
+ :target: https://github.com/pre-commit/pre-commit
134
+ :alt: Pre-Commit
135
+
136
+ .. |License| image:: https://img.shields.io/github/license/sismicfr/pypdffiller?label=License
137
+ :target: https://github.com/sismicfr/pypdffiller/blob/main/COPYING
138
+ :alt: License
@@ -0,0 +1,105 @@
1
+ pypdffiller
2
+ ===========
3
+
4
+ |Test| |PyPI| |Python| |Code Style| |Pre-Commit| |License|
5
+
6
+ ``pypdffiller`` is a free and open source pure-Python 3 library for PDF form processing. It contains the essential
7
+ functionalities needed to interact with PDF forms:
8
+
9
+ - Inspect what data a PDF form needs to be filled with.
10
+ - Fill a PDF form by simply creating a Python dictionary.
11
+
12
+ Installation
13
+ ------------
14
+
15
+ As of first version, ``pypdffiller`` is compatible with Python 3.9+.
16
+
17
+ Use ``pip`` to install the latest stable version of ``pypdffiller``:
18
+
19
+ .. code-block:: console
20
+
21
+ $ pip install --upgrade python-pdffiller
22
+
23
+ The current development version is available on both `GitHub.com
24
+ <https://github.com/sismicfr/pypdffiller>`__ and can be
25
+ installed directly from the git repository:
26
+
27
+ .. code-block:: console
28
+
29
+ $ pip install git+https://github.com/sismicfr/pypdffiller.git
30
+
31
+
32
+ Bug reports
33
+ -----------
34
+
35
+ Please report bugs and feature requests at
36
+ https://github.com/sismicfr/pypdffiller/issues.
37
+
38
+
39
+ Documentation
40
+ -------------
41
+
42
+ The full documentation for CLI and API is available at https://pypdffiller.readthedocs.org/en/stable/.
43
+
44
+ Build the docs
45
+ ~~~~~~~~~~~~~~
46
+
47
+ We use ``tox`` to manage our environment and build the documentation:
48
+
49
+ .. code-block:: console
50
+
51
+ $ pip install tox
52
+ $ tox -e docs
53
+
54
+ Executable
55
+ ----------
56
+
57
+ In addition to the **Python** package, a standalone executable can be built using **PyInstaller**.
58
+
59
+ Build the executable
60
+ ~~~~~~~~~~~~~~~~~~~~
61
+
62
+ We use ``tox`` to manage our environment and build the executable:
63
+
64
+ .. code-block:: console
65
+
66
+ $ pip install tox
67
+ $ tox -e installer
68
+
69
+ .. code-block:: console
70
+
71
+ $ make exe
72
+
73
+ Contributing
74
+ ------------
75
+
76
+ For guidelines for contributing to ``pypdffiller``, refer to `CONTRIBUTING.rst <https://github.com/sismicfr/pypdffiller/blob/main/CONTRIBUTING.rst>`_.
77
+
78
+
79
+ .. |Test| image:: https://github.com/sismicfr/pypdffiller/workflows/Test/badge.svg
80
+ :target: https://github.com/sismicfr/pypdffiller/actions
81
+ :alt: Test
82
+
83
+ .. |PyPI| image:: https://img.shields.io/pypi/v/pypdffiller?label=PyPI&logo=pypi
84
+ :target: https://badge.fury.io/py/pypdffiller
85
+ :alt: PyPI
86
+
87
+ .. |Read the Docs| image:: https://img.shields.io/readthedocs/pypdffiller?label=Documentation&logo=Read%20the%20Docs
88
+ :target: https://sismicfr.github.io/pypdffiller
89
+ :alt: Docs
90
+
91
+ .. |Python| image:: https://img.shields.io/pypi/pyversions/pypdffiller.svg?label=Python&logo=Python
92
+ :target: https://pypi.python.org/pypi/pypdffiller
93
+ :alt: Python
94
+
95
+ .. |Code Style| image:: https://img.shields.io/badge/code%20style-black-000000.svg?label=Code%20Style
96
+ :target: https://github.com/python/black
97
+ :alt: Code Style
98
+
99
+ .. |Pre-Commit| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&label=Pre-Commit
100
+ :target: https://github.com/pre-commit/pre-commit
101
+ :alt: Pre-Commit
102
+
103
+ .. |License| image:: https://img.shields.io/github/license/sismicfr/pypdffiller?label=License
104
+ :target: https://github.com/sismicfr/pypdffiller/blob/main/COPYING
105
+ :alt: License
@@ -0,0 +1,178 @@
1
+ # Makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line.
5
+ SPHINXOPTS =
6
+ SPHINXBUILD = sphinx-build
7
+ PAPER =
8
+ SOURCEDIR = source
9
+ BUILDDIR = _build
10
+
11
+ # User-friendly check for sphinx-build
12
+ ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
13
+ $(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
14
+ endif
15
+
16
+ # Internal variables.
17
+ PAPEROPT_a4 = -D latex_paper_size=a4
18
+ PAPEROPT_letter = -D latex_paper_size=letter
19
+ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS)
20
+ # the i18n builder cannot share the environment and doctrees with the others
21
+ I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
22
+
23
+ .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
24
+
25
+ help:
26
+ @echo "Please use \`make <target>' where <target> is one of"
27
+ @echo " html to make standalone HTML files"
28
+ @echo " dirhtml to make HTML files named index.html in directories"
29
+ @echo " singlehtml to make a single large HTML file"
30
+ @echo " pickle to make pickle files"
31
+ @echo " json to make JSON files"
32
+ @echo " htmlhelp to make HTML files and a HTML help project"
33
+ @echo " qthelp to make HTML files and a qthelp project"
34
+ @echo " devhelp to make HTML files and a Devhelp project"
35
+ @echo " epub to make an epub"
36
+ @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
37
+ @echo " latexpdf to make LaTeX files and run them through pdflatex"
38
+ @echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
39
+ @echo " text to make text files"
40
+ @echo " man to make manual pages"
41
+ @echo " texinfo to make Texinfo files"
42
+ @echo " info to make Texinfo files and run them through makeinfo"
43
+ @echo " gettext to make PO message catalogs"
44
+ @echo " changes to make an overview of all changed/added/deprecated items"
45
+ @echo " xml to make Docutils-native XML files"
46
+ @echo " pseudoxml to make pseudoxml-XML files for display purposes"
47
+ @echo " linkcheck to check all external links for integrity"
48
+ @echo " doctest to run all doctests embedded in the documentation (if enabled)"
49
+
50
+ clean:
51
+ rm -rf $(BUILDDIR)/*
52
+
53
+ html:
54
+ $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/html
55
+ @echo
56
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
57
+
58
+ dirhtml:
59
+ $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/dirhtml
60
+ @echo
61
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
62
+
63
+ singlehtml:
64
+ $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/singlehtml
65
+ @echo
66
+ @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
67
+
68
+ pickle:
69
+ $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/pickle
70
+ @echo
71
+ @echo "Build finished; now you can process the pickle files."
72
+
73
+ json:
74
+ $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/json
75
+ @echo
76
+ @echo "Build finished; now you can process the JSON files."
77
+
78
+ htmlhelp:
79
+ $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/htmlhelp
80
+ @echo
81
+ @echo "Build finished; now you can run HTML Help Workshop with the" \
82
+ ".hhp project file in $(BUILDDIR)/htmlhelp."
83
+
84
+ qthelp:
85
+ $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/qthelp
86
+ @echo
87
+ @echo "Build finished; now you can run "qcollectiongenerator" with the" \
88
+ ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
89
+ @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/pdffiller.qhcp"
90
+ @echo "To view the help file:"
91
+ @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/pdffiller.qhc"
92
+
93
+ devhelp:
94
+ $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/devhelp
95
+ @echo
96
+ @echo "Build finished."
97
+ @echo "To view the help file:"
98
+ @echo "# mkdir -p $$HOME/.local/share/devhelp/pdffiller"
99
+ @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/pdffiller"
100
+ @echo "# devhelp"
101
+
102
+ epub:
103
+ $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/epub
104
+ @echo
105
+ @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
106
+
107
+ latex:
108
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/latex
109
+ @echo
110
+ @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
111
+ @echo "Run \`make' in that directory to run these through (pdf)latex" \
112
+ "(use \`make latexpdf' here to do that automatically)."
113
+
114
+ latexpdf:
115
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/latex
116
+ @echo "Running LaTeX files through pdflatex..."
117
+ $(MAKE) -C $(BUILDDIR)/latex all-pdf
118
+ @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
119
+
120
+ latexpdfja:
121
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/latex
122
+ @echo "Running LaTeX files through platex and dvipdfmx..."
123
+ $(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
124
+ @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
125
+
126
+ text:
127
+ $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/text
128
+ @echo
129
+ @echo "Build finished. The text files are in $(BUILDDIR)/text."
130
+
131
+ man:
132
+ $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/man
133
+ @echo
134
+ @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
135
+
136
+ texinfo:
137
+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/texinfo
138
+ @echo
139
+ @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
140
+ @echo "Run \`make' in that directory to run these through makeinfo" \
141
+ "(use \`make info' here to do that automatically)."
142
+
143
+ info:
144
+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/texinfo
145
+ @echo "Running Texinfo files through makeinfo..."
146
+ make -C $(BUILDDIR)/texinfo info
147
+ @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
148
+
149
+ gettext:
150
+ $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
151
+ @echo
152
+ @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
153
+
154
+ changes:
155
+ $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/changes
156
+ @echo
157
+ @echo "The overview file is in $(BUILDDIR)/changes."
158
+
159
+ linkcheck:
160
+ $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/linkcheck
161
+ @echo
162
+ @echo "Link check complete; look for any errors in the above output " \
163
+ "or in $(BUILDDIR)/linkcheck/output.txt."
164
+
165
+ doctest:
166
+ $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/doctest
167
+ @echo "Testing of doctests in the sources finished, look at the " \
168
+ "results in $(BUILDDIR)/doctest/output.txt."
169
+
170
+ xml:
171
+ $(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/xml
172
+ @echo
173
+ @echo "Build finished. The XML files are in $(BUILDDIR)/xml."
174
+
175
+ pseudoxml:
176
+ $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/pseudoxml
177
+ @echo
178
+ @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."