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

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.2
File Size Uploaded Provenance Actions
oliviadb_dli-0.1.2.tar.gz 16.6 kB With provenance Details for oliviadb_dli-0.1.2.tar.gz

Built distributions (wheels)

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

Total release size: 16.0 MB

Release files / oliviadb_dli-0.1.2.tar.gz

Download URL oliviadb_dli-0.1.2.tar.gz
Size 16.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2e6edcfe584e3c45b9c97343517af72fc2c085383b084b0006666960291402aa
BLAKE2b-256 checksum
How to use checksums
594fad308a8e7b0acba0d6710417bd60d895e8b7d37f550ad3841ec93e699696
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.2-py3-none-manylinux_2_34_x86_64.whl

Download URL oliviadb_dli-0.1.2-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
e91d1cd9f71129dac0d62615c0cd307d17a0c6babac7c8ca688a867f3a26592f
BLAKE2b-256 checksum
How to use checksums
d5b0d563ac2e1d0dfbc5a9f1c21a5d326a49ad59ccb64e19fcc2d8ebdc2cde00
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.2-py3-none-manylinux_2_34_aarch64.whl

Download URL oliviadb_dli-0.1.2-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
d73c29d591be4c78011dd6c13ed5c9bf536d1668ee8dbb0060b14c595dcea6f7
BLAKE2b-256 checksum
How to use checksums
89ab04a0fd9953e313475ed841875ff1bbacf1230f0ea9d7e2adff6b0e7d330d
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.2-py3-none-macosx_11_0_arm64.whl

Download URL oliviadb_dli-0.1.2-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
63e1d72e9be155286f6ae7bac2e0c6c31c212d04e72c9feba917f4cf15932376
BLAKE2b-256 checksum
How to use checksums
3c6a7fa9166d265b6e07983524c9140365d6fffca10ffeffb9dd651d3fbbacbb
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.2-py3-none-macosx_10_12_x86_64.whl

Download URL oliviadb_dli-0.1.2-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
e605bd3396c9f7bc33c6351546b5f67790b5011e0f1d01aac61ae7e969586411
BLAKE2b-256 checksum
How to use checksums
e8ebf506ff13c98749a4cae7cf7810e51bef39b9f6c123ac132cf8feedddd476
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.2

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