A library to interact with the Ex Libris Alma(c) API
Project description
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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file almonaut-0.2.0.tar.gz
.
File metadata
- Download URL: almonaut-0.2.0.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea28dbd60401e268cd42ef5ed90f1c0609fd2bdb0a79796f441070467e415d3c |
|
MD5 | 227de681a42d2c87bcebce52a75515da |
|
BLAKE2b-256 | 9f0c3dbd896136f84f99aa4568002223b2f4736329ff03a810d25a6c52c62187 |
File details
Details for the file almonaut-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: almonaut-0.2.0-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79e3531c1cb703780b327cbc0b3d2f9fe1fadd2e46c3557b65c93de5018f557c |
|
MD5 | 91744f49b30c11156664b4c566576b7b |
|
BLAKE2b-256 | f532ada085cb590efba88d67b590b7a743f7702ed9dd093aae371b84e60c4545 |