Skip to main content

The code powering https://pdfimpose.it

Project description

pdfimpose-web 📕 The code powering https://pdfimpose.it

Installation

python3 -m pip install pdfimpose-web

Run the application

Run the application using the following command.

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 to your disk,

  • change it (it is self-documented),

  • tell pdfimpose-web to use it:

    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:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdfimpose_web-1.0.1.tar.gz (8.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pdfimpose_web-1.0.1-py3-none-any.whl (231.8 kB view details)

Uploaded Python 3

File details

Details for the file pdfimpose_web-1.0.1.tar.gz.

File metadata

  • Download URL: pdfimpose_web-1.0.1.tar.gz
  • Upload date:
  • Size: 8.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for pdfimpose_web-1.0.1.tar.gz
Algorithm Hash digest
SHA256 94dcf4dcb3247eb00ed3f73958a58a36cebc4ab3be481821d5d4f3c595c26ca1
MD5 860b1a7cadb0f8e6061f09153a568c28
BLAKE2b-256 edf51f813b28da8b808b80cf153dcb7c6cfce153f6de285f9d9656e40c2a3267

See more details on using hashes here.

File details

Details for the file pdfimpose_web-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pdfimpose_web-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 231.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for pdfimpose_web-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 20caf4b067bceb6f8e5d2ec7281ff0d366432da52355aa2e914ab0492b108fa6
MD5 5a7d1cb6fb46b433451e12d5f22ed34f
BLAKE2b-256 90a38bbac8b155dd8845a8e8386cef35129ebc04bf3e4ae1bdf8dee4cc8b16dd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page