dummypdf


Namedummypdf JSON
Version 2.1.0 PyPI version JSON
download
home_pagehttp://framagit.org/spalax/dummypdf
SummaryGenerate dummy pdf files with configurable paper size and number of pages.
upload_time2024-12-26 23:19:17
maintainerNone
docs_urlNone
authorLouis Paternault
requires_python<4,>=3.8
licenseGPLv3 or any later version
keywords pdf dummy test
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            dummypdf 🥼 Generate dummy pdf files
====================================

*Check out my other PDF tools:* `pdfautonup <https://framagit.org/spalax/pdfautonup>`__ | `pdfimpose <https://framagit.org/spalax/pdfimpose>`__.

Paper size and number of pages are configurable. Files can be used to test pdf
manipulation tools.

Examples :

- One page A4 paper: `example1.pdf <https://framagit.org/spalax/dummypdf/-/raw/main/doc/examples/example1.pdf?inline=false>`__:

      dummypdf A4

- Six pages, a third of an A4 paper: `example2.pdf <https://framagit.org/spalax/dummypdf/-/raw/main/doc/examples/example2.pdf?inline=false>`__:

      dummypdf -n 6 -p 21cmx99mm

  or:

      dummypdf 21cmx99mm:6

- A pdf with different page formats: `different.pdf <https://framagit.org/spalax/dummypdf/-/raw/main/doc/examples/different.pdf?inline=false>`__:

      dummypdf A4 A5:landscapewest

But why?
--------

To develop or test PDF manipulating tools, I sometimes need to have files with a very specific size or number of pages. I can generate those files with this tool.

What's new?
-----------

See `changelog <https://framagit.org/spalax/dummypdf/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/dummypdf
  * Install (in a `virtualenv`, if you do not want to mess with your distribution installation system)::

        python3 setup.py install

* From pip::

    pip install dummypdf

* Quick and dirty Debian (and Ubuntu?) package

  This requires `stdeb <https://github.com/astraw/stdeb>`_ to be installed::

      python3 setup.py --command-packages=stdeb.command bdist_deb
      sudo dpkg -i deb_dist/dummypdf-<VERSION>_all.deb

Documentation
-------------

* The compiled documentation is available on `readthedocs <http://dummypdf.readthedocs.io>`_

* To compile it from source, download and run::

    cd doc && make html

            

Raw data

            {
    "_id": null,
    "home_page": "http://framagit.org/spalax/dummypdf",
    "name": "dummypdf",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4,>=3.8",
    "maintainer_email": null,
    "keywords": "pdf dummy test",
    "author": "Louis Paternault",
    "author_email": "spalax@gresille.org",
    "download_url": "https://files.pythonhosted.org/packages/0f/ec/b55ace031c73d6bce944e0be5f231c73c575491f17dd0ab0889d1c41e147/dummypdf-2.1.0.tar.gz",
    "platform": null,
    "description": "dummypdf \ud83e\udd7c Generate dummy pdf files\n====================================\n\n*Check out my other PDF tools:* `pdfautonup <https://framagit.org/spalax/pdfautonup>`__ | `pdfimpose <https://framagit.org/spalax/pdfimpose>`__.\n\nPaper size and number of pages are configurable. Files can be used to test pdf\nmanipulation tools.\n\nExamples :\n\n- One page A4 paper: `example1.pdf <https://framagit.org/spalax/dummypdf/-/raw/main/doc/examples/example1.pdf?inline=false>`__:\n\n      dummypdf A4\n\n- Six pages, a third of an A4 paper: `example2.pdf <https://framagit.org/spalax/dummypdf/-/raw/main/doc/examples/example2.pdf?inline=false>`__:\n\n      dummypdf -n 6 -p 21cmx99mm\n\n  or:\n\n      dummypdf 21cmx99mm:6\n\n- A pdf with different page formats: `different.pdf <https://framagit.org/spalax/dummypdf/-/raw/main/doc/examples/different.pdf?inline=false>`__:\n\n      dummypdf A4 A5:landscapewest\n\nBut why?\n--------\n\nTo develop or test PDF manipulating tools, I sometimes need to have files with a very specific size or number of pages. I can generate those files with this tool.\n\nWhat's new?\n-----------\n\nSee `changelog <https://framagit.org/spalax/dummypdf/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/dummypdf\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 dummypdf\n\n* Quick and dirty Debian (and Ubuntu?) package\n\n  This requires `stdeb <https://github.com/astraw/stdeb>`_ to be installed::\n\n      python3 setup.py --command-packages=stdeb.command bdist_deb\n      sudo dpkg -i deb_dist/dummypdf-<VERSION>_all.deb\n\nDocumentation\n-------------\n\n* The compiled documentation is available on `readthedocs <http://dummypdf.readthedocs.io>`_\n\n* To compile it from source, download and run::\n\n    cd doc && make html\n",
    "bugtrack_url": null,
    "license": "GPLv3 or any later version",
    "summary": "Generate dummy pdf files with configurable paper size and number of pages.",
    "version": "2.1.0",
    "project_urls": {
        "Documentation": "http://dummypdf.readthedocs.io",
        "Homepage": "http://framagit.org/spalax/dummypdf",
        "Source": "https://framagit.org/spalax/dummypdf",
        "Tracker": "https://framagit.org/spalax/dummypdf/issues"
    },
    "split_keywords": [
        "pdf",
        "dummy",
        "test"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "93f44ce2635a95cf64ae170389b8ac3289396a2154bbd900483558683bb2ae6d",
                "md5": "0cb12af7389b906c30fc14347035b7eb",
                "sha256": "933d8522eb110975f3e0843f124527b2eb69519cc498587f0a32ceb4ba6c01e8"
            },
            "downloads": -1,
            "filename": "dummypdf-2.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0cb12af7389b906c30fc14347035b7eb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.8",
            "size": 22866,
            "upload_time": "2024-12-26T23:19:15",
            "upload_time_iso_8601": "2024-12-26T23:19:15.565285Z",
            "url": "https://files.pythonhosted.org/packages/93/f4/4ce2635a95cf64ae170389b8ac3289396a2154bbd900483558683bb2ae6d/dummypdf-2.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0fecb55ace031c73d6bce944e0be5f231c73c575491f17dd0ab0889d1c41e147",
                "md5": "d3b110308c601b6b9501599346a5320b",
                "sha256": "b6742998f295c889b7c60d7d4539c9cc772b68abc0feab82bc56e16388144399"
            },
            "downloads": -1,
            "filename": "dummypdf-2.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d3b110308c601b6b9501599346a5320b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.8",
            "size": 41899,
            "upload_time": "2024-12-26T23:19:17",
            "upload_time_iso_8601": "2024-12-26T23:19:17.400967Z",
            "url": "https://files.pythonhosted.org/packages/0f/ec/b55ace031c73d6bce944e0be5f231c73c575491f17dd0ab0889d1c41e147/dummypdf-2.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-26 23:19:17",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "dummypdf"
}
        
Elapsed time: 0.49198s