{ "info": { "author": "Christoph Burgmer", "author_email": "cburgmer@ira.uka.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", "Topic :: Office/Business", "Topic :: Utilities" ], "description": "Pdfserver is a webservice that offers common PDF operations like joining\ndocuments, selecting pages or \"n pages on one\". It is built on top of the\nPython based microframework Flask and depends on pyPdf to manipulate PDFs.\n\nRationale\n=========\nPowerful tools to manipulate PDF exist but they are not universally\navailable on all systems or not simple to use. This server allows anyone to\nquickly solve most common PDF operations over the web.\n\nIf you don't trust other servers with your data, deploy a copy yourself!\n\nExample\n=======\nSee http://pdfserverapp.appspot.com/ for an example installation.\n\nDependencies\n============\n(see ``requirements.txt``)\n\n* Python (>= 2.5, < 3.0), http://www.python.org\n* Flask (tested on 0.6), http://flask.pocoo.org/\n* Flask-Babel, http://packages.python.org/Flask-Babel/\n* Flask-Script (>= 0.3.1), http://bitbucket.org/danjac/flask-script\n* SQLAlchemy (probably >= 0.6.0), http://www.sqlalchemy.org/\n* pyPdf (>= 1.13),\n http://pybrary.net/pyPdf/\n\nOptionally\n----------\n* python-reportlab (tested with 2.4) for adding watermarks,\n http://www.reportlab.com/software/opensource/rl-toolkit/\n* celery (tested with 2.0.0) for asynchronous request handling (not needed on\n Google App Engine), http://celeryq.org/\n\nAlready included\n----------------\n* jQuery & jQuery UI (tested with 1.8.4) (both already shipped with pdfserver),\n needs at least UI core, \"Sortable\" and \"Dialog\" from jQuery UI,\n http://jquery.com/\n* jQuery plugin: Validation,\n http://bassistance.de/jquery-plugins/jquery-plugin-validation/\n* jNotify jQuery Plug-in, unobtrusive notification system\n http://www.givainc.com/labs/jnotify_jquery_plugin.htm\n\nFeatures\n========\n* Simple, yet powerful\n* Designed to work with&without Javascript\n* N pages on one\n* Joining of files\n* Selecting pages & page ranges\n* Rotate pages\n* Add watermark to pages\n* Runs on the Google App Engine\n* Handle builds asynchronously\n\nChanges\n=======\n0.6\n\n* Use SQLAlchemy broker backend for celery by default\n* Fix breakage due to incompatible Flask change\n* Fix test for ordering of uploaded files\n\n0.5\n\n* Fix setup.py statics\n* Show warning if cookies not enabled\n* Update pyPdf dependency\n* Enable testing for celery task backend\n\n0.4\n\n* Handle upload and remove actions through Ajax\n* Support for asynchronous PDF generation\n* Fix max upload size handling for App Engine\n* Unittests\n* Action messages\n\n0.3\n\n* Renamed to \"pdfserver\" from \"django-pdfserver\"\n* \"N pages on one\" feature\n* Move to Flask from Django\n* Google App Engine support\n\n0.2.1\n\n* Page rotation\n* Watermark feature\n* Page range validation\n\nDeploy\n======\n\nDownload and extract the soure code.\n\nCreate a virtualenv in the extracted folder and install requirements::\n\n $ virtualenv env\n $ source env/bin/activate\n $ pip install -r requirements.txt\n\nYou can simply run the development server with::\n\n $ python manage.py createdb\n $ mkdir uploads\n $ python manage.py runserver\n\nGeneral\n-------\n\n1. Make sure the given upload directory and database can be written to and are\n not accessible from the outside (if on a public server).\n\n2. When not in debug mode make sure to serve static files under ``static``.\n\n3. Give a ``SECRET_KEY`` and keep it secret so that sessions can be signed and\n users cannot see files uploaded by others.\n\n4. Create the database by running::\n\n $ python manage.py createdb\n\nCelery\n------\nFor optional, asynchronous generation of the resulting PDF install celery and\nkombu-sqlalchemy (you may also use default broker RabbitMQ, see \nhttp://celeryq.org/docs/getting-started/broker-installation.html)::\n\n $ pip install -r celery_requirements.txt\n\nRun celeryd from the project's directory to handle tasks asynchronously::\n\n $ celeryd\n\nThe Google App Engine has its own dereferred library which is automatically\nused.\n\nServe as CGI\n------------\n\nSee pdfserver.cgi for an example on how to run pdfserver through the\ntraditional CGI interface.\n\nGoogle App Engine\n-----------------\n\nFor pdfserver to run on the App Engine you need to download and copy\ndependencies locally. Run the following in the extracted folder::\n\n # Get dependencies\n $ mkdir tmp\n $ pip install -r requirements.txt distribute --build=tmp --src=tmp \\\n --no-install --ignore-installed\n $ mv tmp/Babel/babel/ tmp/Flask/flask/ tmp/Flask-Babel/flaskext/ \\\n tmp/Jinja2/jinja2/ tmp/pyPdf/pyPdf/ tmp/pytz/pytz \\\n tmp/speaklater/speaklater.py tmp/Werkzeug/werkzeug/ \\\n tmp/reportlab/src/reportlab/ tmp/distribute/pkg_resources.py .\n $ rm -rf tmp\n # Add a secret key\n $ $EDITOR appengine.py\n # Choose your application name\n $ $EDITOR app.yaml\n # Run the development server\n $ /usr/local/google_appengine/dev_appserver.py .\n # Finally upload\n $ /usr/local/google_appengine/appcfg.py update .\n\nIf tasks won't get executed (you can check under\nhttp://localhost:8080/_ah/admin/tasks?queue=default), you might got hitten\nby bug http://code.google.com/p/appengine-mapreduce/issues/detail?id=9,\nsee workaround there.\n\nContact\n=======\nPlease report bugs to http://github.com/cburgmer/pdfserver/issues.\n\nChristoph Burgmer ", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pdfserverapp.appspot.com/", "keywords": null, "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "pdfserver", "package_url": "https://pypi.org/project/pdfserver/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pdfserver/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pdfserverapp.appspot.com/" }, "release_url": "https://pypi.org/project/pdfserver/0.6/", "requires_dist": null, "requires_python": null, "summary": "Pdfserver is a webservice that offers common PDF operations like joining documents, selecting pages or \"n pages on one\".", "version": "0.6" }, "last_serial": 796135, "releases": { "0.3": [ { "comment_text": "", "digests": { "md5": "6abd06a08b3ac466a8441531d8ffab4a", "sha256": "d529d18c1e9fc92f4f9effedd631c24f63f8a6d77bd503d1886f7d663405b73a" }, "downloads": -1, "filename": "pdfserver-0.3.tar.gz", "has_sig": true, "md5_digest": "6abd06a08b3ac466a8441531d8ffab4a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 117420, "upload_time": "2010-10-11T23:35:48", "url": "https://files.pythonhosted.org/packages/1c/b1/d03a3b704855bb8b27a663f6511c21f6d0afd8edc650f292bdb9f2c3edaf/pdfserver-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "619d6c73762299434bbc66cca36897c9", "sha256": "5193274fc0e960b397d6108714f11c3bc1953f16ae771692faf89dcdef3c3ad3" }, "downloads": -1, "filename": "pdfserver-0.4.tar.gz", "has_sig": true, "md5_digest": "619d6c73762299434bbc66cca36897c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 144387, "upload_time": "2010-11-07T23:39:42", "url": "https://files.pythonhosted.org/packages/6c/fd/bf813fe3dc74a658efe0cc3fa82394c0016567624a18897f58ea32013754/pdfserver-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "e423c8af58223dd257105a4f84cb63a8", "sha256": "f8050c480831f68e53a43afd860959c1f3b9962dec83ea5df39589f5bf444749" }, "downloads": -1, "filename": "pdfserver-0.5.tar.gz", "has_sig": false, "md5_digest": "e423c8af58223dd257105a4f84cb63a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 145708, "upload_time": "2011-05-02T22:50:34", "url": "https://files.pythonhosted.org/packages/ef/3a/a790c5ff23ed3d48459273448f2e14741de0f868179723a0ea8179aa8193/pdfserver-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "8c4363eb55393c4773bb9d337e9d90d6", "sha256": "f54934254e05862261dcc1496280e4b816404e53dea5720ed5c8163f6828eb04" }, "downloads": -1, "filename": "pdfserver-0.6.tar.gz", "has_sig": true, "md5_digest": "8c4363eb55393c4773bb9d337e9d90d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 145436, "upload_time": "2012-03-11T18:32:26", "url": "https://files.pythonhosted.org/packages/df/aa/9b4ec6ff6faf1a8f142902aa9793703090df5c1fb240a3923d4196ae74b7/pdfserver-0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8c4363eb55393c4773bb9d337e9d90d6", "sha256": "f54934254e05862261dcc1496280e4b816404e53dea5720ed5c8163f6828eb04" }, "downloads": -1, "filename": "pdfserver-0.6.tar.gz", "has_sig": true, "md5_digest": "8c4363eb55393c4773bb9d337e9d90d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 145436, "upload_time": "2012-03-11T18:32:26", "url": "https://files.pythonhosted.org/packages/df/aa/9b4ec6ff6faf1a8f142902aa9793703090df5c1fb240a3923d4196ae74b7/pdfserver-0.6.tar.gz" } ] }