===========
PythonIrbis
===========
``PythonIrbis`` package is universal client software for IRBIS64 library
automation system (`ManagedIrbis <https://github.com/amironov73/ManagedIrbis>`_
package ported from C# to Python 3). Available on `PyPi <https://pypi.org/project/irbis>`_.
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
==============
.. code-block:: python
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()
Links
=====
* `Builds on AppVeyor <https://ci.appveyor.com/project/AlexeyMironov/pythonirbis/>`_;
Build status
============
|Issues| |Release| |Build| |FOSSA Status| |GitHub Action|
.. |Issues| image:: https://img.shields.io/github/issues/amironov73/PythonIrbis.svg
:target: https://github.com/amironov73/PythonIrbis/issues
:alt: Issues
.. |Release| image:: https://img.shields.io/github/release/amironov73/PythonIrbis.svg
:target: https://github.com/amironov73/PythonIrbis/releases
:alt: Release
.. |Build| image:: https://img.shields.io/appveyor/ci/AlexeyMironov/pythonirbis.svg
:target: https://ci.appveyor.com/project/AlexeyMironov/pythonirbis/
:alt: Build
.. |FOSSA Status| image:: https://app.fossa.io/api/projects/git%2Bgithub.com%2Famironov73%2FPythonIrbis.svg?type=shield
:target: https://app.fossa.io/projects/git%2Bgithub.com%2Famironov73%2FPythonIrbis?ref=badge_shield
:alt: FOSSA Status
.. |GitHub Action| image:: https://github.com/amironov73/PythonIrbis/workflows/Python%20package/badge.svg
:target: https://github.com/amironov73/PythonIrbis/actions
:alt: GitHub Action
License
=======
.. image:: https://app.fossa.io/api/projects/git%2Bgithub.com%2Famironov73%2FPythonIrbis.svg?type=large
:alt: FOSSA Status
:target: https://app.fossa.io/projects/git%2Bgithub.com%2Famironov73%2FPythonIrbis?ref=badge_large
Documentation (in russian)
==========================
* https://pythonirbis.readthedocs.io/
Raw data
{
"_id": null,
"home_page": "https://github.com/amironov73/PythonIrbis",
"name": "cbsvibpyirbis",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "IRBIS64",
"author": "Alexey Mironov",
"author_email": "amironov73@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/69/15/33ef0d271c130ad014f284d8b42feb06102231ec06dae67f9a69cbfa2501/cbsvibpyirbis-0.2.2.tar.gz",
"platform": null,
"description": "===========\nPythonIrbis\n===========\n\n``PythonIrbis`` package is universal client software for IRBIS64 library\nautomation system (`ManagedIrbis <https://github.com/amironov73/ManagedIrbis>`_\npackage ported from C# to Python 3). Available on `PyPi <https://pypi.org/project/irbis>`_.\n\nSupported environments\n======================\n\n``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.\n\nSample program\n==============\n\n.. code-block:: python\n\n import cbsvibpyirbis\n\n # Connect to the server\n client = irbis.Connection()\n client.parse_connection_string('host=127.0.0.1;database=IBIS;' +\n 'user=librarian;password=secret;')\n client.connect()\n\n if not client.connected:\n print(\"Can't connect\")\n exit(1)\n\n # Search for books written by Byron\n found = client.search('\"A=Byron$\"')\n print(f'Records found: {len(found)}')\n\n # Take first 10 records\n for mfn in found[:10]:\n # Read the record from the server\n record = client.read_record(mfn)\n\n # Extract the field and subfield from the record\n title = record.fm(200, 'a')\n print(f'Title: {title}')\n\n # Format the record by the server\n description = client.format_record(irbis.BRIEF, mfn)\n print(f'Description: {description}')\n\n print() # Print empty line\n\n # Disconnect from the server\n client.disconnect()\n\nLinks\n=====\n\n* `Builds on AppVeyor <https://ci.appveyor.com/project/AlexeyMironov/pythonirbis/>`_;\n\nBuild status\n============\n\n|Issues| |Release| |Build| |FOSSA Status| |GitHub Action|\n\n.. |Issues| image:: https://img.shields.io/github/issues/amironov73/PythonIrbis.svg\n :target: https://github.com/amironov73/PythonIrbis/issues\n :alt: Issues\n\n.. |Release| image:: https://img.shields.io/github/release/amironov73/PythonIrbis.svg\n :target: https://github.com/amironov73/PythonIrbis/releases\n :alt: Release\n\n.. |Build| image:: https://img.shields.io/appveyor/ci/AlexeyMironov/pythonirbis.svg\n :target: https://ci.appveyor.com/project/AlexeyMironov/pythonirbis/\n :alt: Build\n\n.. |FOSSA Status| image:: https://app.fossa.io/api/projects/git%2Bgithub.com%2Famironov73%2FPythonIrbis.svg?type=shield\n :target: https://app.fossa.io/projects/git%2Bgithub.com%2Famironov73%2FPythonIrbis?ref=badge_shield\n :alt: FOSSA Status\n\n.. |GitHub Action| image:: https://github.com/amironov73/PythonIrbis/workflows/Python%20package/badge.svg\n :target: https://github.com/amironov73/PythonIrbis/actions\n :alt: GitHub Action\n\nLicense\n=======\n\n.. image:: https://app.fossa.io/api/projects/git%2Bgithub.com%2Famironov73%2FPythonIrbis.svg?type=large\n :alt: FOSSA Status\n :target: https://app.fossa.io/projects/git%2Bgithub.com%2Famironov73%2FPythonIrbis?ref=badge_large\n\nDocumentation (in russian)\n==========================\n\n* https://pythonirbis.readthedocs.io/\n",
"bugtrack_url": null,
"license": null,
"summary": "Framework for client development for popular Russian library computer system IRBIS64",
"version": "0.2.2",
"project_urls": {
"Documentation": "https://pythonirbis.readthedocs.io",
"Homepage": "https://github.com/amironov73/PythonIrbis",
"Repository": "https://github.com/amironov73/PythonIrbis"
},
"split_keywords": [
"irbis64"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6e99d8456c84d8310855491265edd27b49692b70e0f7b3382f20e8cd59040537",
"md5": "d0926de16728ca37b7e8464e49cec84a",
"sha256": "21096fc00a12a2f5a857829c1a9b4583333163e388cce8b548daf8bc43b72ff4"
},
"downloads": -1,
"filename": "cbsvibpyirbis-0.2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d0926de16728ca37b7e8464e49cec84a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 69742,
"upload_time": "2024-11-01T11:56:30",
"upload_time_iso_8601": "2024-11-01T11:56:30.334362Z",
"url": "https://files.pythonhosted.org/packages/6e/99/d8456c84d8310855491265edd27b49692b70e0f7b3382f20e8cd59040537/cbsvibpyirbis-0.2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "691533ef0d271c130ad014f284d8b42feb06102231ec06dae67f9a69cbfa2501",
"md5": "cbd4ca7f6854ff155777da6b16bcefaf",
"sha256": "035c6b9f6ee81828b616ef8c59649bdd188dfbff3a7a0ed6bee5d675b6b61351"
},
"downloads": -1,
"filename": "cbsvibpyirbis-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "cbd4ca7f6854ff155777da6b16bcefaf",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 53637,
"upload_time": "2024-11-01T11:56:32",
"upload_time_iso_8601": "2024-11-01T11:56:32.414360Z",
"url": "https://files.pythonhosted.org/packages/69/15/33ef0d271c130ad014f284d8b42feb06102231ec06dae67f9a69cbfa2501/cbsvibpyirbis-0.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-01 11:56:32",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "amironov73",
"github_project": "PythonIrbis",
"github_not_found": true,
"lcname": "cbsvibpyirbis"
}