pdfautonup 🍳 n-up the pages of pdf files, guessing layout
==========================================================
*Check out my other PDF tools:* `pdfimpose <https://framagit.org/spalax/pdfimpose>`__ | `dummypdf <https://framagit.org/spalax/dummypdf>`__. *This tool can be used online at:* `https://pdfimpose.it <https://pdfimpose.it?layout=pdfautonup>`__
Fit as much pages as possible, from some PDF files to a 'n-up' PDF file of a given page size, guessing the layout.
Examples
--------
With the default paper size being A4, ``pdfautonup`` on:
- `trigo.pdf <https://framagit.org/spalax/pdfautonup/-/raw/main/examples/trigo.pdf?inline=false>`_ gives `trigo-nup.pdf <https://framagit.org/spalax/pdfautonup/-/raw/main/examples/trigo-nup.pdf?inline=false>`_
- `pcb.pdf <https://framagit.org/spalax/pdfautonup/-/raw/main/examples/pcb.pdf?inline=false>`_ gives `pcb-nup.pdf <https://framagit.org/spalax/pdfautonup/-/raw/main/examples/pcb-nup.pdf?inline=false>`_
- `three-pages.pdf <https://framagit.org/spalax/pdfautonup/-/raw/main/examples/three-pages.pdf?inline=false>`_ gives `three-pages-nup.pdf <https://framagit.org/spalax/pdfautonup/-/raw/main/examples/three-pages-nup.pdf?inline=false>`_
See the documentation for the full command lines used to generate those examples.
What's new?
-----------
See `changelog <https://git.framasoft.org/spalax/pdfautonup/blob/main/CHANGELOG.md>`_.
Download and install
--------------------
See the end of list for a (quick and dirty) Debian package.
* From sources:
* Download: https://pypi.python.org/pypi/pdfautonup
* Install (in a `virtualenv`, if you do not want to mess with your distribution installation system)::
python3 setup.py install
* From pip::
pip install pdfautonup
Note: If `PyMuPDF <https://github.com/pymupdf/PyMuPDF>`_ can be installed, you can use::
pip install pdfautonup[pymupdf]
This will change the python library used to read and write PDF files (`PyMuPDF <https://github.com/pymupdf/PyMuPDF>`_ instead of `PyPDF <https://pypi.org/project/pypdf/>`_), to make pdfautonup faster.
* Quick and dirty Debian (and Ubuntu?) package
This requires `stdeb <https://github.com/astraw/stdeb>`_ (and `setuptools-scm <https://pypi.org/project/setuptools-scm/>`_) to be installed::
python3 setup.py --command-packages=stdeb.command bdist_deb
sudo dpkg -i deb_dist/pdfautonup-<VERSION>_all.deb
Documentation
-------------
* The compiled documentation is available on `readthedocs <http://pdfautonup.readthedocs.io>`_
* To compile it from source, download and run::
cd doc && make html
Raw data
{
"_id": null,
"home_page": "http://framagit.org/spalax/pdfautonup",
"name": "pdfautonup",
"maintainer": null,
"docs_url": null,
"requires_python": "<4,>=3.10",
"maintainer_email": null,
"keywords": "pdf nup",
"author": "Louis Paternault",
"author_email": "spalax@gresille.org",
"download_url": "https://files.pythonhosted.org/packages/f9/7a/4299b74b6c411dc9eaa8ba34817cb819bcc24843dc41f74701a9a6d158a0/pdfautonup-1.11.0.tar.gz",
"platform": null,
"description": "pdfautonup \ud83c\udf73 n-up the pages of pdf files, guessing layout\n==========================================================\n\n*Check out my other PDF tools:* `pdfimpose <https://framagit.org/spalax/pdfimpose>`__ | `dummypdf <https://framagit.org/spalax/dummypdf>`__. *This tool can be used online at:* `https://pdfimpose.it <https://pdfimpose.it?layout=pdfautonup>`__\n\nFit as much pages as possible, from some PDF files to a 'n-up' PDF file of a given page size, guessing the layout.\n\nExamples\n--------\n\nWith the default paper size being A4, ``pdfautonup`` on:\n\n- `trigo.pdf <https://framagit.org/spalax/pdfautonup/-/raw/main/examples/trigo.pdf?inline=false>`_ gives `trigo-nup.pdf <https://framagit.org/spalax/pdfautonup/-/raw/main/examples/trigo-nup.pdf?inline=false>`_\n- `pcb.pdf <https://framagit.org/spalax/pdfautonup/-/raw/main/examples/pcb.pdf?inline=false>`_ gives `pcb-nup.pdf <https://framagit.org/spalax/pdfautonup/-/raw/main/examples/pcb-nup.pdf?inline=false>`_\n- `three-pages.pdf <https://framagit.org/spalax/pdfautonup/-/raw/main/examples/three-pages.pdf?inline=false>`_ gives `three-pages-nup.pdf <https://framagit.org/spalax/pdfautonup/-/raw/main/examples/three-pages-nup.pdf?inline=false>`_\n\nSee the documentation for the full command lines used to generate those examples.\n\nWhat's new?\n-----------\n\nSee `changelog <https://git.framasoft.org/spalax/pdfautonup/blob/main/CHANGELOG.md>`_.\n\nDownload and install\n--------------------\n\nSee the end of list for a (quick and dirty) Debian package.\n\n* From sources:\n\n * Download: https://pypi.python.org/pypi/pdfautonup\n * Install (in a `virtualenv`, if you do not want to mess with your distribution installation system)::\n\n python3 setup.py install\n\n* From pip::\n\n pip install pdfautonup\n\n Note: If `PyMuPDF <https://github.com/pymupdf/PyMuPDF>`_ can be installed, you can use::\n\n pip install pdfautonup[pymupdf]\n\n This will change the python library used to read and write PDF files (`PyMuPDF <https://github.com/pymupdf/PyMuPDF>`_ instead of `PyPDF <https://pypi.org/project/pypdf/>`_), to make pdfautonup faster.\n\n* Quick and dirty Debian (and Ubuntu?) package\n\n This requires `stdeb <https://github.com/astraw/stdeb>`_ (and `setuptools-scm <https://pypi.org/project/setuptools-scm/>`_) to be installed::\n\n python3 setup.py --command-packages=stdeb.command bdist_deb\n sudo dpkg -i deb_dist/pdfautonup-<VERSION>_all.deb\n\nDocumentation\n-------------\n\n* The compiled documentation is available on `readthedocs <http://pdfautonup.readthedocs.io>`_\n\n* To compile it from source, download and run::\n\n cd doc && make html\n",
"bugtrack_url": null,
"license": "AGPLv3 or any later version",
"summary": "Convert PDF files to 'n-up' PDF files, guessing the output layout.",
"version": "1.11.0",
"project_urls": {
"Documentation": "http://pdfautonup.readthedocs.io",
"Homepage": "http://framagit.org/spalax/pdfautonup",
"Source": "https://framagit.org/spalax/pdfautonup",
"Tracker": "https://framagit.org/spalax/pdfautonup/issues"
},
"split_keywords": [
"pdf",
"nup"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "423c291871e57b16e86672cc049ca4e2e2b579672a9bfc8b950d3fbb01489591",
"md5": "c49b74f615b1c9362f1677c377c8daa7",
"sha256": "200c5307ef10537f47abeb4af7b592c51f7efed0b29c655fdce1991bfaf628a0"
},
"downloads": -1,
"filename": "pdfautonup-1.11.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c49b74f615b1c9362f1677c377c8daa7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.10",
"size": 34418,
"upload_time": "2024-12-26T23:19:10",
"upload_time_iso_8601": "2024-12-26T23:19:10.447198Z",
"url": "https://files.pythonhosted.org/packages/42/3c/291871e57b16e86672cc049ca4e2e2b579672a9bfc8b950d3fbb01489591/pdfautonup-1.11.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f97a4299b74b6c411dc9eaa8ba34817cb819bcc24843dc41f74701a9a6d158a0",
"md5": "ca81bb9d3ff8989a372bb0f1c9686db2",
"sha256": "643ddbe0a8c6f307653cec9d684d2e7dbcce887a0204a98b21ec77eea4a65412"
},
"downloads": -1,
"filename": "pdfautonup-1.11.0.tar.gz",
"has_sig": false,
"md5_digest": "ca81bb9d3ff8989a372bb0f1c9686db2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.10",
"size": 28952,
"upload_time": "2024-12-26T23:19:12",
"upload_time_iso_8601": "2024-12-26T23:19:12.730092Z",
"url": "https://files.pythonhosted.org/packages/f9/7a/4299b74b6c411dc9eaa8ba34817cb819bcc24843dc41f74701a9a6d158a0/pdfautonup-1.11.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-26 23:19:12",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "pdfautonup"
}