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

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

Built distributions (wheels)

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

Total release size: 16.0 MB

Release files / oliviadb_dli-0.1.3.tar.gz

Download URL oliviadb_dli-0.1.3.tar.gz
Size 16.6 kB
Tags Source
SHA-256 checksum
How to use checksums
be71edb7d2fe97074d676e809eb19bad40e2dfae59c2b7d06cc5ad028445f61c
BLAKE2b-256 checksum
How to use checksums
3d988b47da546a98e67ada2f6c6305fd78f2079777665d230f50ae7378aec6a5
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.3-py3-none-manylinux_2_34_x86_64.whl

Download URL oliviadb_dli-0.1.3-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
a5d9d8e01c5b3f66c884acb7630568419bcec205f01a2276adab4a272f9abc94
BLAKE2b-256 checksum
How to use checksums
0686ef5571a4d5f7a723c6dcf2b111050c47f3eec7f1fd791bfbc6dfc79078d0
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.3-py3-none-manylinux_2_34_aarch64.whl

Download URL oliviadb_dli-0.1.3-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
a9b1ae864b281963557908dd5545f851e4633cc8bcc1349f013a174f2f9c76a2
BLAKE2b-256 checksum
How to use checksums
925d83bc43172f99cb41b6f88b2f5dd1d3bf76ba7ff1047794c6279fbc8f1bd0
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.3-py3-none-macosx_11_0_arm64.whl

Download URL oliviadb_dli-0.1.3-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
650345a97e9b9f5ba4027e4d176558c69f246a7f0a2840019fc71ea35ab55971
BLAKE2b-256 checksum
How to use checksums
db2472e67fae7d11cbf5068b90c938e7aa57c24bea06519e63e2d6905b04cd65
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.3-py3-none-macosx_10_12_x86_64.whl

Download URL oliviadb_dli-0.1.3-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
63d51e5cc83c7edfb93245a8027785c890e76d727c4303ef4fc6a93e57dcb5c2
BLAKE2b-256 checksum
How to use checksums
20a34e22c52047bdf897f3611ec6cc70e14f11922d331bf6dc0e958e2782ffa1
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.3

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