Skip to main content

Framework for client development for popular russian library computer system IRBIS64

Project description

PythonIrbis

ManagedIrbis ported to Python 3

ManagedIrbis (fully managed client for IRBIS64 library system) ported to Python.

Supported environments

PythonIrbis currently supports Python 3.6 on 32-bit and 64-bit Windows and Linux and IRBIS64 2014 or later.

Sample program

import irbis.core as irbis

# Connect to the server
client = irbis.Connection()
client.parse_connection_string('host=127.0.0.1;database=IBIS;user=librarian;password=secret;')
client.connect()

# Search for books written by Byron
found = client.search('"A=Byron$"')
print(f'Records found: {len(found)}')

# Take first 10 records
for mfn in found[:10]:
    # Read the record from the server
    record = client.read_record(mfn)

    # Extract the field and subfield from the record
    title = record.fm(200, 'a')
    print('Title:', title)

    # Format the record by the server
    description = client.format_record(BRIEF, mfn)
    print('Description:', description)

    print()  # Print empty line

# Disconnect from the server
client.disconnect()

Links

Build status

Issues Release Build status FOSSA Status

License

FOSSA Status

Documentation (in russian)

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for irbis, version 0.0.71
Filename, size & hash File type Python version Upload date
irbis-0.0.71-py3-none-any.whl (37.1 kB) View hashes Wheel py3
irbis-0.0.71.tar.gz (33.9 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page