Skip to main content

Open source document management system for digital archives

Project description

Tests

Papermerge REST API Server

This python package is the heart of Papermerge project. It consists of a set of reusable Django apps which are consumed across different bundles of Papermerge Document Management System (DMS).

Technically speaking, it contains following Django apps:

  • papermerge.core - the epicenter of Papermerge DMS project
  • papermerge.notifications - Django Channels app for sending notifications via websockets
  • papermerge.search - RESTful search. Supports four backends: Xapian, Whoosh, Elasticsearch, Solr.

What is Papermerge?

Papermerge is an open source document management system (DMS) primarily designed for archiving and retrieving your digital documents. Instead of having piles of paper documents all over your desk, office or drawers - you can quickly scan them and configure your scanner to directly upload to Papermerge DMS. Papermerge DMS on its turn will extract text data from the scanned documents using Optical Character Recognition (OCR) technology the index it and make it searchable. You will be able to quickly find any (scanned!) document using full text search capabilities.

Papermerge is perfect tool to manage documents in PDF, JPEG, TIFF and PNG formats.

Features Highlights

  • RESTul API
  • Works well with PDF documents
  • OCR (Optical Character Recognition) of the documents (uses OCRmyPDF)
  • Full Text Search of the scanned documents (supports four search engine backends, uses Xapian by default)
  • Document Versions
  • Tags - assign colored tags to documents or folders
  • Documents and Folders - users can organize documents in folders
  • Multi-User (supports user groups)
  • User permissions management
  • Page Management - delete, reorder, cut & paste pages (uses PikePDF)

Documentation

Online documentation is available at https://docs.papermerge.io

Tests

Test suite is divided into two big groups:

  1. tests.core
  2. tests.search

First group is concerned with tests which do not depend on elasticsearch while second one tests.search is concerned with tests for which depend on elasticsearch and as result run very slow (hence the grouping). In order to run tests.core tests you need to have redis up and running; in order to run test.search you need to both redis and elasticsearch up and running.

Before running core tests suite, make sure redis service is up and running. Run tests:

 poetry run task test-core

Before running search tests suite, make sure both redis and elasticsearch services are up and running:

 poetry run task test-search

In order to run all tests suite (core + search):

poetry run task test

Linting

Use following command to make sure that your code is formatted per PEP8 spec:

poetry run task lint

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

papermerge_core-2.1.0b36.tar.gz (91.8 kB view details)

Uploaded Source

Built Distribution

papermerge_core-2.1.0b36-py3-none-any.whl (129.5 kB view details)

Uploaded Python 3

File details

Details for the file papermerge_core-2.1.0b36.tar.gz.

File metadata

  • Download URL: papermerge_core-2.1.0b36.tar.gz
  • Upload date:
  • Size: 91.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.0 CPython/3.11.0 Linux/5.15.0-1024-azure

File hashes

Hashes for papermerge_core-2.1.0b36.tar.gz
Algorithm Hash digest
SHA256 61f3f74e1fb28cfd8293148dc150855f6fa8620c1f2c6c77118b94920b4cd30b
MD5 03ee2a49022c6eedde27b0237fa6a13b
BLAKE2b-256 d09edcd97e1e64502b462ca0e05df64d3d574d666aabe91d940f53d493470a53

See more details on using hashes here.

Provenance

File details

Details for the file papermerge_core-2.1.0b36-py3-none-any.whl.

File metadata

  • Download URL: papermerge_core-2.1.0b36-py3-none-any.whl
  • Upload date:
  • Size: 129.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.0 CPython/3.11.0 Linux/5.15.0-1024-azure

File hashes

Hashes for papermerge_core-2.1.0b36-py3-none-any.whl
Algorithm Hash digest
SHA256 0d10373aae826d69bfdbd1f9b15556969db28ff199eb8c066177c78df2a6809f
MD5 4a881ba3bafafe520a21e4caaf37dd69
BLAKE2b-256 56ecd11ff5e44e01c8214485e54d74a8486ae36343111dda3ba94bd2280d36f8

See more details on using hashes here.

Provenance

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