Skip to main content

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

  1. Start the host Arches application and Celery worker.
  2. Open Bulk Data Manager.
  3. Select Merge Resources.
  4. Choose the resources to merge and run the task.
  5. 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.

Download files

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

Source Distribution

arches_merge-0.1.2.tar.gz (347.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arches_merge-0.1.2-py3-none-any.whl (86.8 kB view details)

Uploaded Python 3

File details

Details for the file arches_merge-0.1.2.tar.gz.

File metadata

  • Download URL: arches_merge-0.1.2.tar.gz
  • Upload date:
  • Size: 347.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.7

File hashes

Hashes for arches_merge-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0c884a4363a2bf63e2037c34fc044e0d339807cc79cb4a7ffe31641216f321fc
MD5 e78bb5917cd5f5f32d28b0c9cdd245c2
BLAKE2b-256 8ddf6ef170aa0fba5ef8dcfc79bb94f4f00ef82687e071d8acdcd0f838432b3b

See more details on using hashes here.

File details

Details for the file arches_merge-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: arches_merge-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 86.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.7

File hashes

Hashes for arches_merge-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8d05bb04307e0e000eaa66ce1f7f40a6ef8967bbf3640eaf5f862a8295f0f87a
MD5 b632d95ac8a795010fa4d1ea1b166a82
BLAKE2b-256 fdf51e8a473fe1dec8741f01b4fbdbfff944d9b4159fee56b0119f944307dc9f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

0.0.4

2 files

0.0.3

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page