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
- OpenAPI spec: http://localhost:8000/openapi.json
- Swagger UI: http://localhost:8000/docs
- Web GUI: http://localhost:8000
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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e04e3b6a3b37dce85c99658f7ab483ff0e86991980c20a1931d78ac35e01629
|
|
| MD5 |
48e7d34aac50112ad030ac00f861f19c
|
|
| BLAKE2b-256 |
4542fc12b0d83066e91416737d6ec8afc4ecaf94468fdef74df4b313cbf2cfc9
|
Provenance
The following attestation bundles were made for org_unit-0.1.0.tar.gz:
Publisher:
publish.yml on roebi/org-unit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
org_unit-0.1.0.tar.gz -
Subject digest:
5e04e3b6a3b37dce85c99658f7ab483ff0e86991980c20a1931d78ac35e01629 - Sigstore transparency entry: 1585784035
- Sigstore integration time:
-
Permalink:
roebi/org-unit@4bb47f0e6f3aebc9c0208df6f85cf92953deccae -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/roebi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4bb47f0e6f3aebc9c0208df6f85cf92953deccae -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bc31876601e76ce5f3916223397fdb0b63082ac6612825e10c1c27324056f27
|
|
| MD5 |
4709f579146a4dad801fb365ce8751bb
|
|
| BLAKE2b-256 |
64d720c15997a9b637025b04fa07cdf86029bcab8543bba910b3318c6d444829
|
Provenance
The following attestation bundles were made for org_unit-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on roebi/org-unit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
org_unit-0.1.0-py3-none-any.whl -
Subject digest:
2bc31876601e76ce5f3916223397fdb0b63082ac6612825e10c1c27324056f27 - Sigstore transparency entry: 1585784230
- Sigstore integration time:
-
Permalink:
roebi/org-unit@4bb47f0e6f3aebc9c0208df6f85cf92953deccae -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/roebi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4bb47f0e6f3aebc9c0208df6f85cf92953deccae -
Trigger Event:
push
-
Statement type: