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/f1/71/1ab97002571f51bbb2775dc0f2e42ee50fc60a500d031d7c6f0c5e0c267e/pdfautonup-1.10.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.10.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": "16a5e4c83912b2d95ebda00b40e61239cf387dfe9192fb37d6fd291adbb88770",
"md5": "a06d20d942477fd51dbdc10553e726e3",
"sha256": "94c8feb6675aa1efca5fe8f6f6a7a2a41aea12835c1fba997be839a8b8f13733"
},
"downloads": -1,
"filename": "pdfautonup-1.10.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a06d20d942477fd51dbdc10553e726e3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.10",
"size": 34431,
"upload_time": "2024-08-27T20:47:58",
"upload_time_iso_8601": "2024-08-27T20:47:58.572176Z",
"url": "https://files.pythonhosted.org/packages/16/a5/e4c83912b2d95ebda00b40e61239cf387dfe9192fb37d6fd291adbb88770/pdfautonup-1.10.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f1711ab97002571f51bbb2775dc0f2e42ee50fc60a500d031d7c6f0c5e0c267e",
"md5": "4d88435d855ac8492d039170a390851d",
"sha256": "c009c02b71e908463764f5edb9d910c63fcda1bc2ecc2a0ae7fbe8f51f4f72aa"
},
"downloads": -1,
"filename": "pdfautonup-1.10.0.tar.gz",
"has_sig": false,
"md5_digest": "4d88435d855ac8492d039170a390851d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.10",
"size": 28899,
"upload_time": "2024-08-27T20:48:00",
"upload_time_iso_8601": "2024-08-27T20:48:00.378824Z",
"url": "https://files.pythonhosted.org/packages/f1/71/1ab97002571f51bbb2775dc0f2e42ee50fc60a500d031d7c6f0c5e0c267e/pdfautonup-1.10.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-27 20:48:00",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "pdfautonup"
}