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>`__.
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": "",
"docs_url": null,
"requires_python": "<4,>=3.10",
"maintainer_email": "",
"keywords": "pdf nup",
"author": "Louis Paternault",
"author_email": "spalax@gresille.org",
"download_url": "https://files.pythonhosted.org/packages/a2/3e/d41e5089aa0bcbc714204fed4416cc58b1b15aea383522eb14cc1e8bea38/pdfautonup-1.9.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>`__.\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.9.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": "c5687d19b56a1f93fa1dc548d1a57e2f17558b0b5732fa47adcc733796feaccc",
"md5": "33d8b6d4ce1ce5c72d010db957758ac0",
"sha256": "4799b43dc29a68143c68b566699126e075fa821d9c138a5612cee766f5e1bc45"
},
"downloads": -1,
"filename": "pdfautonup-1.9.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "33d8b6d4ce1ce5c72d010db957758ac0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.10",
"size": 33236,
"upload_time": "2024-02-19T22:22:18",
"upload_time_iso_8601": "2024-02-19T22:22:18.054404Z",
"url": "https://files.pythonhosted.org/packages/c5/68/7d19b56a1f93fa1dc548d1a57e2f17558b0b5732fa47adcc733796feaccc/pdfautonup-1.9.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a23ed41e5089aa0bcbc714204fed4416cc58b1b15aea383522eb14cc1e8bea38",
"md5": "67d74cdaca0abe9bcfaffe612bfa0750",
"sha256": "a8e1a769c38de01549bffe3363d214ec125afafe086e9d993165fa3bb511cb78"
},
"downloads": -1,
"filename": "pdfautonup-1.9.0.tar.gz",
"has_sig": false,
"md5_digest": "67d74cdaca0abe9bcfaffe612bfa0750",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.10",
"size": 27738,
"upload_time": "2024-02-19T22:22:20",
"upload_time_iso_8601": "2024-02-19T22:22:20.066124Z",
"url": "https://files.pythonhosted.org/packages/a2/3e/d41e5089aa0bcbc714204fed4416cc58b1b15aea383522eb14cc1e8bea38/pdfautonup-1.9.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-19 22:22:20",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "pdfautonup"
}