This release is a pre-release and may not be stable for production use.
FolioLib
FolioLib is an API-Client for Folio. The API is generated from the RAML and OAS files from the Folio-Modules.
Documentation can be found at https://foliolib.readthedocs.io/.
Python packages can be found at https://pypi.org/project/foliolib/.
Debian packages can be found at https://github.com/tobi-weber/foliolib/releases/latest/.
Features:
Python Folio API
Commandline interface
Install and manage Folio
Install and manage Folio on Kubernetes
Manage multiple Folio servers
Quickstart
The installation requires python 3.6 or higher.
pip install foliolib
Define a config for your Folio server:
foliolib server create --help
foliolib server create myServer --host okapi.server.url --port 9130 --admin
Make a Folio-API request:
>>> from foliolib import server
>>> from foliolib.folio.usersImpl import UsersImpl
>>> from foliolib.folio.api.inventory import Inventory
>>>
>>> server("myServer")
>>>
>>> UsersImpl("TenantId").login("UserId", "Password")
>>> inventory = Inventory("TenantId")
>>> instances = inventory.get_instances(query="title==*")
>>> print(instances)
Also foliolib provides a command line interface:
foliolib --help
Metadata
Release files for foliolib 0.3.12a4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| foliolib-0.3.12a4.tar.gz | 245.6 kB | Details |
Release files / foliolib-0.3.12a4.tar.gz
| Download URL | foliolib-0.3.12a4.tar.gz |
|---|---|
| Size | 245.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09d8afa8ad26c4969992c3ceaf325cbc03427115cb05b3daba7e56bb98c1c462
|
|
BLAKE2b-256 checksum How to use checksums |
baec11d9af4dd4d0a34527c4372c88670a1667ca606f94f8a2dcf62f4a5348bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|