Skip to main content

organizational structure digitalization

Project description

org-unit

Digitalize the organizational structure (Aufbauorganisation) of a juristical person.

Built using the sw-dev-agent-framework development process, starting from concept.md.

Development phases

Phase Skill Status Output
1. Requirements gather-requirements-en in progress requirements.md
2. Design design-architecture-en pending architecture.md
3. Implement apply-tdd-loop-en pending src/ + tests/
4. Review code-review-en pending review.md
5. Release release-sw-project-en pending tagged release

Setup

uv sync
uv run sw-dev-agent start "Digitalize the organizational structure of a juristical person - see concept.md"

Run (Podman)

podman build -t org-unit .

podman run -d \
  -p 8000:8000 \
  -v org-unit-data:/app/data \
  --name org-unit \
  org-unit:latest

Key design decisions

See concept.md for the full agreed concept.

Short summary:

  • One OrgUnit tree (self-referencing parent_id)
  • Flat Person table (no hierarchy)
  • Assignment bridge table (N:M, carries role_label)
  • No hard delete - deactivate via valid_until
  • Bi-temporal: valid_from / valid_until (9999-12-31 = active) / updated_at
  • mutation_reason mandatory on every POST and PATCH
  • History tables: org_unit_history, person_history, assignment_history
  • SQLite in /app/data/org-unit.db (Podman volume)
  • DE/EN language switch in GUI

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

org_unit-0.1.0.tar.gz (75.6 kB view details)

Uploaded Source

Built Distribution

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

org_unit-0.1.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file org_unit-0.1.0.tar.gz.

File metadata

  • Download URL: org_unit-0.1.0.tar.gz
  • Upload date:
  • Size: 75.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for org_unit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5e04e3b6a3b37dce85c99658f7ab483ff0e86991980c20a1931d78ac35e01629
MD5 48e7d34aac50112ad030ac00f861f19c
BLAKE2b-256 4542fc12b0d83066e91416737d6ec8afc4ecaf94468fdef74df4b313cbf2cfc9

See more details on using hashes here.

Provenance

The following attestation bundles were made for org_unit-0.1.0.tar.gz:

Publisher: publish.yml on roebi/org-unit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file org_unit-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: org_unit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for org_unit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2bc31876601e76ce5f3916223397fdb0b63082ac6612825e10c1c27324056f27
MD5 4709f579146a4dad801fb365ce8751bb
BLAKE2b-256 64d720c15997a9b637025b04fa07cdf86029bcab8543bba910b3318c6d444829

See more details on using hashes here.

Provenance

The following attestation bundles were made for org_unit-0.1.0-py3-none-any.whl:

Publisher: publish.yml on roebi/org-unit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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