Skip to main content

SIP2 Python Client: Simple Interchange Protocol Client for Python

About

A Python SIP2 client. It also supports Gossip.

Purpose

This was (nearly) my first go with Python. I thought the source might have a better time on Github (well, after a two month break I forgot what I already figured out about publishing a real Python package) than on my hard drive. Ideas: Could be used to build some selfcheck device application for libraries. Or use it for some kind of automation...

Usage

There are just three files. File sip2.py is a low level implementation of SIP2/Gossip while wrapper.py makes the handling a little bit more comfortable. Check comments of both files. File message_lookup.py could be used for advanced programming purposes. Maybe...

Changelog

  • 2026-11-03 Release v1.2.0
    • Fixed wrong (inversed) logic for "patron may not renew items", "patron may not hold items", "patron may not charge items". Basically checkouts never should have worked before.
  • 2021-06-10 Release v1.1.0
    • Fixed typo (wrong case) and merged an exception handling for TSL. Thank @yefuwang and @MarkTr
  • 2018-06-11 Release v1.0.0

More about SIP2

Standard Interchange Protocol 2, Standard: https://developers.exlibrisgroup.com/wp-content/uploads/2020/01/3M-Standard-Interchange-Protocol-Version-2.00.pdf (link might break)

Gossip is short for "Good Old Server for Standard Interchange Protocol". Gossip is an SIP2 server implementation (Java) with an extension for enhanced payment options. It's possible to pay

  • a single outstanding position; "subtotal-payment"
  • an amount being below the total fees (but that sums up to complete positions being paid); "subtotal-payment"
  • an amount being below the total fees (but that might only pay one or more positions partially); "subtotal-payment + partial-fee-payment"

Note: Sadly no official documentation for Gossip is available online. You can only contact the developer via https://www.gbv.de/Verbundzentrale/serviceangebote/gossip-service-der-vzg

Source

The primary source is at https://github.com/tzeumer/SIP2-Client-for-Python. There is also a package at pypi.org: https://pypi.org/project/Sip2/. It's the only one I ever released, so I have to figure out the process every time - and might forget it completely ;)

Metadata

Release files for Sip2 1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Sip2 1.2
File Size Uploaded Provenance Actions
sip2-1.2.tar.gz 39.7 kB Without provenance Details for sip2-1.2.tar.gz

Release files / sip2-1.2.tar.gz

Download URL sip2-1.2.tar.gz
Size 39.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4fe95845f825fd86cb352789ed2a3b6a50003dd896d1688fbf48771588967fbb
BLAKE2b-256 checksum
How to use checksums
66b4c7aa743b8a09c65f80a7f375088d3923c603d7a42ef34423c6aa48d8ac5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.4

Security for Sip2 1.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

1.2 This release

1 release file No provenance

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