Skip to main content

Framework for client development for popular Russian library computer system IRBIS64

Project description

PythonIrbis package is universal client software for IRBIS64 library automation system (ManagedIrbis package ported from C# to Python 3). Available on PyPi.

Supported environments

PythonIrbis currently supports Python 3.6 and 3.7 on 32-bit and 64-bit Windows, Linux, Mac OS X and IRBIS64 server version 2014 or later.

Sample program

import cbsvibpyirbis

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

if not client.connected:
    print("Can't connect")
    exit(1)

# 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(f'Title: {title}')

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

    print()  # Print empty line

# Disconnect from the server
client.disconnect()

Build status

Issues Release Build FOSSA Status GitHub Action

License

FOSSA Status

Documentation (in russian)

Project details


Download files

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

Source Distribution

cbsvibpyirbis-0.2.4.tar.gz (53.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cbsvibpyirbis-0.2.4-py3-none-any.whl (69.6 kB view details)

Uploaded Python 3

File details

Details for the file cbsvibpyirbis-0.2.4.tar.gz.

File metadata

  • Download URL: cbsvibpyirbis-0.2.4.tar.gz
  • Upload date:
  • Size: 53.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-60-generic

File hashes

Hashes for cbsvibpyirbis-0.2.4.tar.gz
Algorithm Hash digest
SHA256 f006e58dc83be66e152a7f40e5cb2175e38567803d44fbcde82e9672fc6e0091
MD5 202d4d35349c67e1c953c6b0c9ba745d
BLAKE2b-256 b63911f834edaa20c2cbb95f3317213914043871ada5e08c827b9cd6c42fae05

See more details on using hashes here.

File details

Details for the file cbsvibpyirbis-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: cbsvibpyirbis-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 69.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-60-generic

File hashes

Hashes for cbsvibpyirbis-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 692a8d520a546f63553e7af27b041d82e69c710f0ca7b33f93a492986e4eaa4e
MD5 ab9adb3b0a9223e45a234dd0738c0faa
BLAKE2b-256 7f03a8fbabe5d44485997b0e48734808b6b684b6e49ad92eccc91a00554a8b04

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page