Skip to main content

PDF content type for Kotti

Project description

kotti_pdf
*********

This is an extension to Kotti that allow users to upload and view PDF to your site.
PDF files are stored in the database and is protected by Kotti's user roles and permissions.

|pypi|_
|downloads_month|_
|license|_
|build_status_stable|_

.. |pypi| image:: https://img.shields.io/pypi/v/kotti_pdf.svg?style=flat-square
.. _pypi: https://pypi.python.org/pypi/kotti_pdf/

.. |downloads_month| image:: https://img.shields.io/pypi/dm/kotti_pdf.svg?style=flat-square
.. _downloads_month: https://pypi.python.org/pypi/kotti_pdf/

.. |license| image:: https://img.shields.io/pypi/l/kotti_pdf.svg?style=flat-square
.. _license: http://www.repoze.org/LICENSE.txt

.. |build_status_stable| image:: https://img.shields.io/travis/b4oshany/kotti_pdf/production.svg?style=flat-square
.. _build_status_stable: http://travis-ci.org/b4oshany/kotti_pdf

`Find out more about Kotti`_

Development happens at https://github.com/b4oshany/kotti_pdf

.. _Find out more about Kotti: http://pypi.python.org/pypi/Kotti

Setup
=====

To enable the extension in your Kotti site, activate the configurator::

kotti.configurators =
kotti_pdf.kotti_configure

Database upgrade
================

If you are upgrading from a previous version you might have to migrate your
database. The migration is performed with `alembic`_ and Kotti's console script
``kotti-migrate``. To migrate, run
``kotti-migrate upgrade --scripts=kotti_pdf:alembic``.

For integration of alembic in your environment please refer to the
`alembic documentation`_. If you have problems with the upgrade,
please create a new issue in the `tracker`_.

Development
===========

|build_status_master|_

.. |build_status_master| image:: https://img.shields.io/travis/b4oshany/kotti_pdf/master.svg?style=flat-square
.. _build_status_master: http://travis-ci.org/b4oshany/kotti_pdf

Contributions to kotti_pdf are highly welcome.
Just clone its `Github repository`_ and submit your contributions as pull requests.

.. _alembic: http://pypi.python.org/pypi/alembic
.. _alembic documentation: http://alembic.readthedocs.org/en/latest/index.html
.. _tracker: https://github.com/b4oshany/kotti_pdf/issues
.. _Github repository: https://github.com/b4oshany/kotti_pdf


History
=======

0.4.0 - Fixed bugs
-------------------

- Fixed PyPi requirements
- Fixed Resource URI

0.3.1 - Fix pypi errors
------------------------

- Fixed long description

0.3.0 - Publish package
------------------------

- Publish package

0.2.0 - Official Release
----------------------

- Added support to view pdf files.
- Added database migration option.

0.1.0 - Beta Release
------------------

- Added support to upload pdf files.

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

kotti_pdf-0.4.3.tar.gz (10.9 kB view details)

Uploaded Source

File details

Details for the file kotti_pdf-0.4.3.tar.gz.

File metadata

  • Download URL: kotti_pdf-0.4.3.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for kotti_pdf-0.4.3.tar.gz
Algorithm Hash digest
SHA256 3002895fe4f089864881f14aeb79b03e9dc289707c9f3a83d9fef730738c4715
MD5 64d92e3482314f654defecc4e98d4e75
BLAKE2b-256 1ae05c8c32a3d0f0d98192c7da981cc6ed0ee35af5e9afb58e20b23b009d1618

See more details on using hashes here.

Supported by

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