Skip to main content

slub_finclookup

Python 3.12 License: MIT

Ein modernes Python-Paket zur Transformation von Bibliotheksmetadaten und Klassifikationen für das finc-Projekt der SLUB Dresden.

Warum dieses Paket?

In der bibliothekarischen Datenverarbeitung müssen häufig verschiedene Klassifikationssysteme (wie DDC, LCC, RVK oder lokale Fachgebiete) in ein einheitliches Format für Suchindizes (wie Solr) überführt werden.

slub_finclookup bündelt diese historisch gewachsenen Mapping-Logiken in einem stabilen, performanten und gut dokumentierten Paket. Es bietet:

  • Präzision: Exakte Abbildungen von Schlagworten und Notationen auf finc-Kategorien.
  • Performance: Optimierte Datenstrukturen für schnelle Lookups auch bei sehr großen Tabellen (z.B. Fotothek).
  • Modernität: Volle Kompatibilität mit Python 3.12 und einfache Integration in moderne Pipelines.

Installation

pip install slub_finclookup

(Oder über uv):

uv add slub_finclookup

Nutzung

Jedes Modul enthält eine lookup-Funktion, die einen Eingabewert auf das entsprechende finc-Facet abbildet.

Beispiel: DBIS Fachgebiete

from slub_finclookup.DBIS_Fachgebiete_2_finc_class_facet import lookup

result = lookup('Allgemein / Fachübergreifend')
print(result)  # Ausgabe: 'Allgemeines'

Beispiel: Sprachentransformation

from slub_finclookup.language2code_2_languageName import lookup

name = lookup('de')
print(name)  # Ausgabe: 'German'

Enthaltene Mappings

Das Paket beinhaltet Transformationen für:

  • DBIS: Fachgebiete zu finc Facets und Keywords.
  • Klassifikationen: DDC, LCC, RVK, KNM, ICS.
  • Sprachen: ISO 639-1 und 639-2 zu Klarnamen.
  • Fotothek: Spezielle Schlagwort-Mappings für Bilddaten.

Entwicklung und Beiträge

Projektplanung und technische Details finden Sie in den Dateien plan.md und docs/technical.md.

Dieses Projekt wird mit uv verwaltet. Um lokal zu entwickeln:

git clone https://git.slub-dresden.de/metadata/processing/slub_finclookup.git
cd slub_finclookup
uv sync

Lizenz

Dieses Paket ist unter der MIT-Lizenz veröffentlicht.

Metadata

Release files for slub-finclookup 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slub-finclookup 1.0.0
File Size Uploaded
slub_finclookup-1.0.0.tar.gz 57.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for slub-finclookup 1.0.0
File Interpreter ABI Platform
slub_finclookup-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 97.3 kB

Release files / slub_finclookup-1.0.0.tar.gz

Download URL slub_finclookup-1.0.0.tar.gz
Size 57.3 kB
Tags Source
SHA-256 checksum
How to use checksums
08e0c84eca31e02f88b4b998475339e53580f5116d8485f2dd38f63bb2aa4cab
BLAKE2b-256 checksum
How to use checksums
9b108105c22f873e91887cd24f5127a41efb0ea2e87931f844f8369d828b6e70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"KDE neon","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / slub_finclookup-1.0.0-py3-none-any.whl

Download URL slub_finclookup-1.0.0-py3-none-any.whl
Size 40.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
762f97ee5fa5bf6ec43f85de5dd7cf1ae6d31d6a4df67faebf8edfb264c38daf
BLAKE2b-256 checksum
How to use checksums
b2505fb47c946cd1522a8973d64cabf9d1d43ccf7cc34e4eeb20819ec10941c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"KDE neon","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release 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