Skip to main content

A library to interact with the Ex Libris Alma(c) API

Project description

Almonaut logo

Almonaut

Almonaut (`Ahl-muh-naut) is a Python library for interacting with the Ex Libris Alma© API. It provides a number of methods which facilitate handling Alma© API data in Python dot notation.

Almonaut is built on two excellent Python libraries: the Requests HTTP library and pydantic for parsing and validation.

Note

This is a new project under active development. Its API is subject to change.

Current State

Alma© API Area Read Write
Acquisitions ✖ (planned)
Analytics ✖ (planned) n/a
Bibliographic Records and Inventory ✖ (planned) ✖ (planned)
Electronic Resources ✖ (planned)

Install Almonaut

pip install almonaut

Import Almonaut and instantiate an API client

from almonaut import client

alma_api_client = client.AlmaApiClient('a1b2c3myapikeyx1y2z3')

search_query = 'name~classics'
my_funds = alma_api_client.get_funds(limit=10, extra_params={'mode': 'ALL', 'q': search_query})

if len(my_funds.funds) > 0:
    for fund in my_funds.funds:
        print(f"Name: {fund.name}")
        print(f"Type: {fund.type_.desc}")
        print(f"Status: {fund.status.desc}")
        print(f"Fiscal period: {fund.fiscal_period.desc}")

Note: Substitute your own API key for the placeholder shown above.

For more information, see the documentation.

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

almonaut-0.2.0.tar.gz (16.7 kB view hashes)

Uploaded Source

Built Distribution

almonaut-0.2.0-py3-none-any.whl (19.3 kB view hashes)

Uploaded Python 3

Supported by

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