irbis


Nameirbis JSON
Version 0.2.376 PyPI version JSON
download
home_pagehttps://github.com/amironov73/PythonIrbis
SummaryFramework for client development for popular Prussian library computer system IRBIS64
upload_time2022-12-11 06:07:32
maintainer
docs_urlNone
authorAlexey Mironov
requires_python
license
keywords irbis64
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ===========
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 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()

  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": "irbis",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "IRBIS64",
    "author": "Alexey Mironov",
    "author_email": "amironov73@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b2/4f/d5f878a2035c9d3125a3ae5362c75b5c424e7da6f180b3fcee8373edae53/irbis-0.2.376.tar.gz",
    "platform": null,
    "description": "===========\r\nPythonIrbis\r\n===========\r\n\r\n``PythonIrbis`` package is universal client software for IRBIS64 library\r\nautomation system (`ManagedIrbis <https://github.com/amironov73/ManagedIrbis>`_\r\npackage ported from C# to Python 3). Available on `PyPi <https://pypi.org/project/irbis>`_.\r\n\r\nSupported environments\r\n======================\r\n\r\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.\r\n\r\nSample program\r\n==============\r\n\r\n.. code-block:: python\r\n\r\n  import irbis\r\n\r\n  # Connect to the server\r\n  client = irbis.Connection()\r\n  client.parse_connection_string('host=127.0.0.1;database=IBIS;' +\r\n      'user=librarian;password=secret;')\r\n  client.connect()\r\n\r\n  if not client.connected:\r\n      print(\"Can't connect\")\r\n      exit(1)\r\n\r\n  # Search for books written by Byron\r\n  found = client.search('\"A=Byron$\"')\r\n  print(f'Records found: {len(found)}')\r\n\r\n  # Take first 10 records\r\n  for mfn in found[:10]:\r\n      # Read the record from the server\r\n      record = client.read_record(mfn)\r\n\r\n      # Extract the field and subfield from the record\r\n      title = record.fm(200, 'a')\r\n      print(f'Title: {title}')\r\n\r\n      # Format the record by the server\r\n      description = client.format_record(irbis.BRIEF, mfn)\r\n      print(f'Description: {description}')\r\n\r\n      print()  # Print empty line\r\n\r\n  # Disconnect from the server\r\n  client.disconnect()\r\n\r\nLinks\r\n=====\r\n\r\n* `Builds on AppVeyor <https://ci.appveyor.com/project/AlexeyMironov/pythonirbis/>`_;\r\n\r\nBuild status\r\n============\r\n\r\n|Issues| |Release| |Build| |FOSSA Status| |GitHub Action|\r\n\r\n.. |Issues| image:: https://img.shields.io/github/issues/amironov73/PythonIrbis.svg\r\n    :target: https://github.com/amironov73/PythonIrbis/issues\r\n    :alt: Issues\r\n\r\n.. |Release| image:: https://img.shields.io/github/release/amironov73/PythonIrbis.svg\r\n    :target: https://github.com/amironov73/PythonIrbis/releases\r\n    :alt: Release\r\n\r\n.. |Build| image:: https://img.shields.io/appveyor/ci/AlexeyMironov/pythonirbis.svg\r\n    :target: https://ci.appveyor.com/project/AlexeyMironov/pythonirbis/\r\n    :alt: Build\r\n\r\n.. |FOSSA Status| image:: https://app.fossa.io/api/projects/git%2Bgithub.com%2Famironov73%2FPythonIrbis.svg?type=shield\r\n    :target: https://app.fossa.io/projects/git%2Bgithub.com%2Famironov73%2FPythonIrbis?ref=badge_shield\r\n    :alt: FOSSA Status\r\n\r\n.. |GitHub Action| image:: https://github.com/amironov73/PythonIrbis/workflows/Python%20package/badge.svg\r\n    :target: https://github.com/amironov73/PythonIrbis/actions\r\n    :alt: GitHub Action\r\n\r\nLicense\r\n=======\r\n\r\n.. image:: https://app.fossa.io/api/projects/git%2Bgithub.com%2Famironov73%2FPythonIrbis.svg?type=large\r\n    :alt: FOSSA Status\r\n    :target: https://app.fossa.io/projects/git%2Bgithub.com%2Famironov73%2FPythonIrbis?ref=badge_large\r\n\r\nDocumentation (in russian)\r\n==========================\r\n\r\n* https://pythonirbis.readthedocs.io/\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Framework for client development for popular Prussian library computer system IRBIS64",
    "version": "0.2.376",
    "split_keywords": [
        "irbis64"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "a7f75edf8a7259e798e0d005e445637c",
                "sha256": "0f333838f6cb3e35822c5b85409888741c9236a058dfef868d1b04aae9bad095"
            },
            "downloads": -1,
            "filename": "irbis-0.2.376-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a7f75edf8a7259e798e0d005e445637c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 69704,
            "upload_time": "2022-12-11T06:07:30",
            "upload_time_iso_8601": "2022-12-11T06:07:30.464849Z",
            "url": "https://files.pythonhosted.org/packages/b6/bf/b31706d482118c987c18901d24c7437d290115321629d22b9fffdd4c42ff/irbis-0.2.376-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "c3c219498a827e0b0c9f3149161748f6",
                "sha256": "1dfd1a18db8e47fb319057dae84dc1fdf85a1848af0fcfe70500f914081455a8"
            },
            "downloads": -1,
            "filename": "irbis-0.2.376.tar.gz",
            "has_sig": false,
            "md5_digest": "c3c219498a827e0b0c9f3149161748f6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 54924,
            "upload_time": "2022-12-11T06:07:32",
            "upload_time_iso_8601": "2022-12-11T06:07:32.614112Z",
            "url": "https://files.pythonhosted.org/packages/b2/4f/d5f878a2035c9d3125a3ae5362c75b5c424e7da6f180b3fcee8373edae53/irbis-0.2.376.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-11 06:07:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "amironov73",
    "github_project": "PythonIrbis",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "appveyor": true,
    "lcname": "irbis"
}
        
Elapsed time: 0.01625s