papersize


Namepapersize JSON
Version 1.5.0 PyPI version JSON
download
home_page
SummaryPaper size related tools
upload_time2024-02-18 21:29:52
maintainer
docs_urlNone
author
requires_python<4,>=3.8
license
keywords paper size standard
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # papersize 📏 Paper size related tools

This module provides tools to manipulate paper sizes, that is:

- a dictionary of several named standard names (e.g. A4, letter) , with their respective sizes (width and height);
- functions to convert sizes from one unit (e.g. inches) to another (e.g. centimeters);
- functions to manipulate paper orientation (portrait or landscape);
- tools to parse paper sizes, so that you do not have to worry about the format of paper sizes provided by your user, it being `"a4"` or `"21cm x 29.7cm"`.

## What's new?

See [changelog](https://git.framasoft.org/spalax/papersize/blob/main/CHANGELOG.md>).

## Install

See the end of list for a (quick and dirty) Debian package.

* From sources:

  * Download: https://pypi.python.org/pypi/papersize
  * Install (in a `virtualenv`, if you do not want to mess with your distribution installation system):

        python3 setup.py install

* From pip:

      pip install papersize

* 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/python-papersize-<VERSION>_all.deb

## Test

* Current python version:

      python3 setup.py test

* All supported python versions (using [tox](http://tox.testrun.org)):

      tox

## Documentation

The documentation is available on [readthedocs](http://papersize.readthedocs.io).  You can build it using:

    cd doc && make html

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "papersize",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "<4,>=3.8",
    "maintainer_email": "",
    "keywords": "paper,size,standard",
    "author": "",
    "author_email": "Louis Paternault <spalax@gresille.org>",
    "download_url": "https://files.pythonhosted.org/packages/be/99/48e0130b10d78af99524277c48a45d63e470fe28ea7579c125bbe374cde4/papersize-1.5.0.tar.gz",
    "platform": null,
    "description": "# papersize \ud83d\udccf Paper size related tools\n\nThis module provides tools to manipulate paper sizes, that is:\n\n- a dictionary of several named standard names (e.g. A4, letter) , with their respective sizes (width and height);\n- functions to convert sizes from one unit (e.g. inches) to another (e.g. centimeters);\n- functions to manipulate paper orientation (portrait or landscape);\n- tools to parse paper sizes, so that you do not have to worry about the format of paper sizes provided by your user, it being `\"a4\"` or `\"21cm x 29.7cm\"`.\n\n## What's new?\n\nSee [changelog](https://git.framasoft.org/spalax/papersize/blob/main/CHANGELOG.md>).\n\n## Install\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/papersize\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 papersize\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/python-papersize-<VERSION>_all.deb\n\n## Test\n\n* Current python version:\n\n      python3 setup.py test\n\n* All supported python versions (using [tox](http://tox.testrun.org)):\n\n      tox\n\n## Documentation\n\nThe documentation is available on [readthedocs](http://papersize.readthedocs.io).  You can build it using:\n\n    cd doc && make html\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Paper size related tools",
    "version": "1.5.0",
    "project_urls": {
        "Documentation": "http://papersize.readthedocs.io",
        "Homepage": "http://framagit.org/spalax/papersize",
        "Issues": "https://framagit.org/spalax/papersize/issues"
    },
    "split_keywords": [
        "paper",
        "size",
        "standard"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d4265b417317a4b4622c52e873f6e8bceaed62ee36cef55fc754cd24b077fcd9",
                "md5": "fe75089aff120144084324119e0c53f1",
                "sha256": "61315fbb2f6acc2d71b111952ed73ceeb1139312913b5c9c753bb8637a40a4d2"
            },
            "downloads": -1,
            "filename": "papersize-1.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fe75089aff120144084324119e0c53f1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.8",
            "size": 28031,
            "upload_time": "2024-02-18T21:29:50",
            "upload_time_iso_8601": "2024-02-18T21:29:50.401026Z",
            "url": "https://files.pythonhosted.org/packages/d4/26/5b417317a4b4622c52e873f6e8bceaed62ee36cef55fc754cd24b077fcd9/papersize-1.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "be9948e0130b10d78af99524277c48a45d63e470fe28ea7579c125bbe374cde4",
                "md5": "5c9c1885b5b93999a95e773aadfa014f",
                "sha256": "1155c71fe88ddaa4c1b2bfa86cae1a5ef9904c8707445813b9b87d67e85dcdcb"
            },
            "downloads": -1,
            "filename": "papersize-1.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "5c9c1885b5b93999a95e773aadfa014f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.8",
            "size": 35486,
            "upload_time": "2024-02-18T21:29:52",
            "upload_time_iso_8601": "2024-02-18T21:29:52.371575Z",
            "url": "https://files.pythonhosted.org/packages/be/99/48e0130b10d78af99524277c48a45d63e470fe28ea7579c125bbe374cde4/papersize-1.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-18 21:29:52",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "papersize"
}
        
Elapsed time: 0.26513s