arches-merge
arches-merge is an Arches extension that adds a Bulk Data Manager ETL module
for merging resource instances.
The extension installs a Merge Resources ETL module that can merge two or more
resources into one resource and provides an undo path for reversible merge tasks.
Requirements
- Python 3.10+
- Arches
>=7.6.17,<8.3.0 - Django 4.2
Installation
Install the package into the same Python environment that runs the host Arches project:
pip install arches-merge
For local development, install the checkout in editable mode:
pip install -e /path/to/arches-merge
Configure The Host Arches Project
Add arches_merge to the host project's INSTALLED_APPS before
arches.app.
Example:
INSTALLED_APPS = (
# Django, Arches, and project apps...
"arches_merge",
)
# Keep arches.app last so extension templates and static assets can override
# core Arches files when needed.
INSTALLED_APPS += ("arches.app",)
Apply Migrations
Run the extension migration from the host Arches project:
python manage.py showmigrations arches_merge
python manage.py migrate arches_merge
The migration registers the Bulk Data Manager ETL module:
name: Merge Resources
slug: Resources_merge
component: views/components/etl_modules/Resources_merge
backend module: Resources_merge.py
class: Resourcesmerge
Build Frontend Assets
After installing the extension or changing hosted apps, rebuild the host project's frontend assets:
python manage.py generate_frontend_configuration
npm install
npm run build_development
For production deployments, use the host project's production build command.
Basic Use
- Start the host Arches application and Celery worker.
- Open Bulk Data Manager.
- Select
Merge Resources. - Choose the resources to merge and run the task.
- Use the task history undo action if a reversible merge needs to be rolled back.
Development
Useful local checks:
python -m py_compile arches_merge/etl_modules/Resources_merge.py
python manage.py check
npm run build_development
Run database-changing commands only against an approved local or test database.
Metadata
Release files for arches-merge 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| arches_merge-0.1.2.tar.gz | 347.2 kB | Without provenance | Details for arches_merge-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| arches_merge-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for arches_merge-0.1.2-py3-none-any.whl |
Total release size: 434.0 kB
Release files / arches_merge-0.1.2.tar.gz
| Download URL | arches_merge-0.1.2.tar.gz |
|---|---|
| Size | 347.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c884a4363a2bf63e2037c34fc044e0d339807cc79cb4a7ffe31641216f321fc
|
|
BLAKE2b-256 checksum How to use checksums |
8ddf6ef170aa0fba5ef8dcfc79bb94f4f00ef82687e071d8acdcd0f838432b3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.7
|
Release files / arches_merge-0.1.2-py3-none-any.whl
| Download URL | arches_merge-0.1.2-py3-none-any.whl |
|---|---|
| Size | 86.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d05bb04307e0e000eaa66ce1f7f40a6ef8967bbf3640eaf5f862a8295f0f87a
|
|
BLAKE2b-256 checksum How to use checksums |
fdf51e8a473fe1dec8741f01b4fbdbfff944d9b4159fee56b0119f944307dc9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.7
|
Security for arches-merge 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.