pdfimpose-web


Namepdfimpose-web JSON
Version 1.0.1 PyPI version JSON
download
home_pageNone
SummaryThe code powering https://pdfimpose.it
upload_time2024-06-24 19:14:18
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords imposition pdf print web
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pdfimpose-web 📕 The code powering https://pdfimpose.it

## Installation

```sh
python3 -m pip install pdfimpose-web
```

## Run the application

Run the application using the following command.

```sh
python3 -m flask --app pdfimposeweb run
```

You can now use pdfimpose-web at: http://localhost:5000.

Note that you might want to configure the application using the settings described in the following section.

## Settings

This application can be run with default settings (but with default settings, data might be reset if you restart it).

To configure it:

- download file [`pdfimposeweb/settings/default.py`](https://framagit.org/spalax/pdfimpose-web/-/raw/main/pdfimposeweb/settings/default.py?inline=false) to your disk,
- change it (it is self-documented),
- tell `pdfimpose-web` to use it:

  ```sh
  export PDFIMPOSEWEB_SETTINGS=/path/to/settings.py
  python3 -m flask --app pdfimposeweb run
  ```

## Cleaning

Files uploaded by users are stored during one hour by default. This can be changed in the setting file.

A thread is launched at startup to clean those files. This can be disabled in the setting file. If disabled, the script ``pdfimposeweb.clean`` can be run periodically (e.g. in a crontab) to remove old uploaded PDF files. Note that the very same configuration used to run the application must be used to run this script:

```sh
export PDFIMPOSEWEB_SETTINGS=/path/to/settings.py
python3 -m pdfimposeweb.clean
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pdfimpose-web",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "imposition, pdf, print, web",
    "author": null,
    "author_email": "Louis Paternault <spalax@gresille.org>",
    "download_url": "https://files.pythonhosted.org/packages/ed/f5/1f813b28da8b808b80cf153dcb7c6cfce153f6de285f9d9656e40c2a3267/pdfimpose_web-1.0.1.tar.gz",
    "platform": null,
    "description": "# pdfimpose-web \ud83d\udcd5 The code powering https://pdfimpose.it\n\n## Installation\n\n```sh\npython3 -m pip install pdfimpose-web\n```\n\n## Run the application\n\nRun the application using the following command.\n\n```sh\npython3 -m flask --app pdfimposeweb run\n```\n\nYou can now use pdfimpose-web at: http://localhost:5000.\n\nNote that you might want to configure the application using the settings described in the following section.\n\n## Settings\n\nThis application can be run with default settings (but with default settings, data might be reset if you restart it).\n\nTo configure it:\n\n- download file [`pdfimposeweb/settings/default.py`](https://framagit.org/spalax/pdfimpose-web/-/raw/main/pdfimposeweb/settings/default.py?inline=false) to your disk,\n- change it (it is self-documented),\n- tell `pdfimpose-web` to use it:\n\n  ```sh\n  export PDFIMPOSEWEB_SETTINGS=/path/to/settings.py\n  python3 -m flask --app pdfimposeweb run\n  ```\n\n## Cleaning\n\nFiles uploaded by users are stored during one hour by default. This can be changed in the setting file.\n\nA thread is launched at startup to clean those files. This can be disabled in the setting file. If disabled, the script ``pdfimposeweb.clean`` can be run periodically (e.g. in a crontab) to remove old uploaded PDF files. Note that the very same configuration used to run the application must be used to run this script:\n\n```sh\nexport PDFIMPOSEWEB_SETTINGS=/path/to/settings.py\npython3 -m pdfimposeweb.clean\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "The code powering https://pdfimpose.it",
    "version": "1.0.1",
    "project_urls": {
        "Homepage": "https://pdfimpose.it",
        "Issues": "https://framagit.org/spalax/pdfimpose-web/issues"
    },
    "split_keywords": [
        "imposition",
        " pdf",
        " print",
        " web"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "90a38bbac8b155dd8845a8e8386cef35129ebc04bf3e4ae1bdf8dee4cc8b16dd",
                "md5": "5a7d1cb6fb46b433451e12d5f22ed34f",
                "sha256": "20caf4b067bceb6f8e5d2ec7281ff0d366432da52355aa2e914ab0492b108fa6"
            },
            "downloads": -1,
            "filename": "pdfimpose_web-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5a7d1cb6fb46b433451e12d5f22ed34f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 231797,
            "upload_time": "2024-06-24T19:14:14",
            "upload_time_iso_8601": "2024-06-24T19:14:14.210204Z",
            "url": "https://files.pythonhosted.org/packages/90/a3/8bbac8b155dd8845a8e8386cef35129ebc04bf3e4ae1bdf8dee4cc8b16dd/pdfimpose_web-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "edf51f813b28da8b808b80cf153dcb7c6cfce153f6de285f9d9656e40c2a3267",
                "md5": "860b1a7cadb0f8e6061f09153a568c28",
                "sha256": "94dcf4dcb3247eb00ed3f73958a58a36cebc4ab3be481821d5d4f3c595c26ca1"
            },
            "downloads": -1,
            "filename": "pdfimpose_web-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "860b1a7cadb0f8e6061f09153a568c28",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 8354521,
            "upload_time": "2024-06-24T19:14:18",
            "upload_time_iso_8601": "2024-06-24T19:14:18.796634Z",
            "url": "https://files.pythonhosted.org/packages/ed/f5/1f813b28da8b808b80cf153dcb7c6cfce153f6de285f9d9656e40c2a3267/pdfimpose_web-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-24 19:14:18",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pdfimpose-web"
}
        
Elapsed time: 0.65268s