Skip to main content

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.

Release files for almonaut 0.2.0

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

Source distribution (sdist)

Source distribution for almonaut 0.2.0
File Size Uploaded
almonaut-0.2.0.tar.gz 16.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for almonaut 0.2.0
File Interpreter ABI Platform
almonaut-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 36.0 kB

Release files / almonaut-0.2.0.tar.gz

Download URL almonaut-0.2.0.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ea28dbd60401e268cd42ef5ed90f1c0609fd2bdb0a79796f441070467e415d3c
BLAKE2b-256 checksum
How to use checksums
9f0c3dbd896136f84f99aa4568002223b2f4736329ff03a810d25a6c52c62187
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / almonaut-0.2.0-py3-none-any.whl

Download URL almonaut-0.2.0-py3-none-any.whl
Size 19.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79e3531c1cb703780b327cbc0b3d2f9fe1fadd2e46c3557b65c93de5018f557c
BLAKE2b-256 checksum
How to use checksums
f532ada085cb590efba88d67b590b7a743f7702ed9dd093aae371b84e60c4545
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

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