Skip to main content

oliviadb-dli

DL/I calls from Python on OliviaDB: open a store, import DBDGEN and PSBGEN source, schedule a program on a PSB and make its calls (GU, GN, GNP, the hold forms, ISRT, REPL, DLET and the system service calls) with I/O areas and segment search arguments, as an IMS program does through its PCBs.

from oliviadb_dli import Library, Runtime, Ssa

with Library.load().open("store") as system:
    system.load_library("dli")  # PARTDB.dbd, PARTPSB.psb
    prog = system.schedule("PARTPSB", Runtime.ASCII_BE)
    io = bytearray(prog.io_size(1))
    status = prog.call(1, "GU", io, [Ssa("PART").qual("PARTNO", "=", b"P00001").build()])
    print(status, bytes(io), prog.pcb(1).key_feedback)
    prog.terminate()  # commit; abort() backs out

Through a server (client mode)

With OliviaDB 0.1.1 (C ABI 14) a program can run its calls in an oliviadb-server that holds the store, beside other programs and network clients, isolated from them by the server's locks:

system = Library.load().connect("dli.example.com:7655", key=api_key, ca_file="ca.pem")
system.load_library("dli")  # checked against the server's library
prog = system.schedule("PARTPSB", Runtime.ASCII_BE)
# calls as above; a lost connection raises LostError, then system.outcome() for the last commit point

Library.open binds to a server too when OLIVIADB_DLI_SERVER is set (unix:/path for a socket on the server's host). See https://docs.olivia-db.com/ ("DL/I programs").

Licence

The Python code is Apache-2.0. The wheels for Linux (x86_64, aarch64) and macOS (arm64, x86_64) also contain OliviaDB's DL/I library liboliviadb_dli, which is licensed under AGPL-3.0-only or OliviaDB's commercial licence. A wheel as a whole is therefore Apache-2.0 AND (AGPL-3.0-only OR LicenseRef-OliviaDB-Commercial): using it is using the AGPL-licensed library, unless you have OliviaDB's commercial licence. The source distribution contains no library.

The library

Loaded from the file OLIVIADB_DLI_LIB names, else the wheel's copy, else the system's library search path. It needs C ABI version 13 or later (OliviaDB 0.1.0); client mode needs 14 (OliviaDB 0.1.1).

Character sets

Program.call and Ssa write names, function codes and operators in ASCII, for programs scheduled with Runtime.ASCII_BE or Runtime.ASCII_LE. A program scheduled with Runtime.EBCDIC makes its calls with Program.call_bytes and SSAs in EBCDIC bytes of its own.

Metadata

Release files for oliviadb-dli 0.1.1

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

Source distribution (sdist)

Source distribution for oliviadb-dli 0.1.1
File Size Uploaded Provenance Actions
oliviadb_dli-0.1.1.tar.gz 16.6 kB With provenance Details for oliviadb_dli-0.1.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for oliviadb-dli 0.1.1
File Actions
oliviadb_dli-0.1.1-py3-none-manylinux_2_34_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64 Details for oliviadb_dli-0.1.1-py3-none-manylinux_2_34_x86_64.whl
oliviadb_dli-0.1.1-py3-none-manylinux_2_34_aarch64.whl Python 3 none Linux glibc 2.34+ ARM64 Details for oliviadb_dli-0.1.1-py3-none-manylinux_2_34_aarch64.whl
oliviadb_dli-0.1.1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for oliviadb_dli-0.1.1-py3-none-macosx_11_0_arm64.whl
oliviadb_dli-0.1.1-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for oliviadb_dli-0.1.1-py3-none-macosx_10_12_x86_64.whl

Total release size: 16.0 MB

Release files / oliviadb_dli-0.1.1.tar.gz

Download URL oliviadb_dli-0.1.1.tar.gz
Size 16.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b829a85161bf3a868c4c980bb664211f9d59df56a07537fb07e4cf60512cae38
BLAKE2b-256 checksum
How to use checksums
a7511d4e4fc9a0e58b4351e13bdf81db740676f16122f390d963ac2f046a2234
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Release files / oliviadb_dli-0.1.1-py3-none-manylinux_2_34_x86_64.whl

Download URL oliviadb_dli-0.1.1-py3-none-manylinux_2_34_x86_64.whl
Size 6.7 MB
Tags Linux glibc 2.34+ x86-64 Python 3
SHA-256 checksum
How to use checksums
f5c05b42cc08fad76e07b03fc974468b8d6eb0199f2e624d3694e058965aecfa
BLAKE2b-256 checksum
How to use checksums
c41482970048385b9d33353d98201a912ee2a2979f1cb6e81675d8d56a9c0550
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Release files / oliviadb_dli-0.1.1-py3-none-manylinux_2_34_aarch64.whl

Download URL oliviadb_dli-0.1.1-py3-none-manylinux_2_34_aarch64.whl
Size 5.8 MB
Tags Linux glibc 2.34+ ARM64 Python 3
SHA-256 checksum
How to use checksums
89c7b4ee4beb8c4ffd0297e7f0214d66c5e2ca9791fe2f2ba6221ec0fab653cd
BLAKE2b-256 checksum
How to use checksums
a9553c5960a06741f576f7dccd448d784b85f03fe3cd77afe92809b1463eaa28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Release files / oliviadb_dli-0.1.1-py3-none-macosx_11_0_arm64.whl

Download URL oliviadb_dli-0.1.1-py3-none-macosx_11_0_arm64.whl
Size 1.6 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6dd67fc1f98af50fcedeabfa6f562ba8ec6160ba0d7e8f4a4e32a07b89af9a85
BLAKE2b-256 checksum
How to use checksums
5cb53d7fc7363c53577ae92de6344ec89e5884722637e63d2672eb08f0a4fa9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Release files / oliviadb_dli-0.1.1-py3-none-macosx_10_12_x86_64.whl

Download URL oliviadb_dli-0.1.1-py3-none-macosx_10_12_x86_64.whl
Size 1.8 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
f621ec11f04ed4eb850ade31d9e7442a7af92aa094440bffca6e4b538b605236
BLAKE2b-256 checksum
How to use checksums
93d4c37a98d769c31442e2349344fd5586119bc60269ac7e89cd18ab074d4863
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Security for oliviadb-dli 0.1.1

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.

Full provenance

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for oliviadb_dli-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

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.

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