Mayan EDMS importer
Project description
Description
Mayan EDMS app to migrate files from external sources.
License
This project is open sourced under the Apache 2.0 License.
Installation
Install from PyPI in the same virtualenv where you installed Mayan EDMS. Or if using the Docker image, pass mayan-importer to the MAYAN_PIP_INSTALLS environment variable.
pip install mayan-importer
Add importer to the COMMON_EXTRA_APPS setting, either as an environment variable, from a Python settings modules, or from the UI via the config.yaml configuration file.
Python settings module example:
INSTALLED_APPS += ( 'importer', )
Run the migrations for the app (not required for the Docker image):
mayan-edms.py migrate
Requirements
dropbox - Dropbox Python SDK (https://www.dropbox.com/developers/documentation/python#install)
Mayan EDMS version 3.4
Usage
Create an app in Dropbox’s App Console (https://www.dropbox.com/developers/apps/).
Generate an Access Token with no expiration.
Create a credential instance in the Mayan EDMS Importer app and enter the Access Token.
Create an Import Setup that will filter the files to fetch from Dropbox.
Click the “Populate” button and check that the item count is correct.
Click the “Process” button to start the import process.
1.5.0 (2020-09-25)
Add model filer to load and save models from and to CSV.
1.4.0 (2020-09-24)
Add import setup item completion event.
Commit the import setup executed event when the execute method is called instead of the get get_backend_intsance.
Add more tests.
Rename fields and models for clarity. Item metadata field renamed to ‘data’ to avoid confusion with document metadata.
Event, permission, and action named “Execute” is now “Process”.
Filter items by regular expressions during population and also during processing.
Add team_admin_id field to the Dropbox backend to avoid an extra API call for each item to be imported.
Multiple values are now cached for higher performance.
Process and clear links are disabled for empty import setups.
Smarter backend import error exclusion.
Automatic backend keyword argument setup from dynamic fields.
Support import item fields as attributes or dictionary keys.
1.3.0 (2020-09-23)
Add support to process individual items.
Add background task support for individual items. Each item is now processed independently and in parallel.
Add thousand comma separator to the progress summary column.
1.2.0 (2020-09-22)
Support Dropbox Team admin access.
Add import setup state field.
Add import setup item list view.
Add import setup item delete view.
1.1.0 (2020-09-08)
Convert app into a general import app. Dropbox code moved into a separate importers module.
1.0.2 (2020-09-07)
Update absolute imports to self.
1.0.1 (2020-09-07)
Update absolute imports to the Credentials app.
1.0.0 (2020-09-01)
Initial release
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
Built Distribution
Hashes for mayan_importer-1.5.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2c7b2e8e59cb2aa7d67612d52946ad96fbf7e7b76fdc07b7c7a7913eb3053e6 |
|
MD5 | c37fc4c7dd47597ba224483d7f34fbe3 |
|
BLAKE2b-256 | 5df7ccd6f0bc53eaebbcecc081d62a53ccc207184abb517a2f4f239728dbc600 |