A CLI tool for generating reports from Medad library system
Project description
Kam-Ultimate-Reporter
Overview
Kam-Ultimate-Reporter is a command-line interface (CLI) tool designed for generating reports from a library system. The tool allows users to pull bibliographic data and generate multiple reports, such as item loan summaries, books created by month, frequently updated titles, and more.
Table of Contents
Installation
Prerequisites
- Ensure you have Python 3.8+ installed.
Install Kam-Ultimate-Reporter
Install the tool from PyPI with pip:
pip install Kam-Ultimate-Reporter
Dependencies
All dependencies (like pandas
, inquirer
, openpyxl
, etc.) will be installed automatically when you install Kam-Ultimate-Reporter.
Usage
By Setting Up a New Environment
To use Kam-Ultimate-Reporter, use the kam-reporter
command from any terminal or command prompt:
kam-reporter --url <API_URL> --tenant <TENANT_ID> --username <USERNAME> --password <PASSWORD>
Example:
kam-reporter --url <Okapi URL> --tenant <Tenant> --username <Username> --password <Password>
Without Setting Up a New Environment
Run the script directly with Python:
python -m Kam_Ultimate_Reporter.main --url <URL> --tenant <Tenant> --username <Username> --password <Password>
Available Reports
Kam-Ultimate-Reporter includes a variety of reports. Here’s a list of available reports with brief descriptions:
- Books by Created Month: Counts books created each month.
- Suppress Status Summary: Summary of items by suppress status.
- Top 10 Most Frequently Updated Titles: List of top 10 titles most frequently updated.
- Books by Material Type: Counts books by material type.
- Average Loan Count: Calculates the average number of loans per item.
- Recently Added Records: Shows records added in the last 30 days.
- Top 5 Most Loaned Titles: Lists the top 5 titles with the most loans.
- Staff Suppressed Records: Summary of items by staff suppression status.
- Suppressed Records Summary: Lists records with suppression status.
- Titles with Alternative Titles: Lists titles that have alternative titles.
- Records with High Loan Counts: Shows items with loan counts above 10.
- Titles by Updated User: Counts titles updated by each user.
- Edition Distribution: Shows the distribution of editions across items.
- Titles with Item Discovery Suppress: Lists titles with item-level discovery suppress.
- Loaned Items by Location: Summarizes loan counts by location.
- Books with Check-in Records: Lists books with check-in records.
- Titles with Copy Numbers: Lists titles that have copy numbers.
- Records Created by User: Counts records created by each user.
- Books by Loan Type: Counts books by loan type.
- Titles Without Loans: Lists titles with zero loans.
- Loan Activity by Material Type: Summarizes loan counts by material type.
- Recently Updated Records: Shows records updated in the last 30 days.
- Full Bibliographic Report: Generates a comprehensive report with all bibliographic information.
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
Built Distribution
File details
Details for the file kam_ultimate_reporter-0.0.8.tar.gz
.
File metadata
- Download URL: kam_ultimate_reporter-0.0.8.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 662f72e86d0f6184492101e0cc72e02d33c17f033d95670772ea4ac5e1d31725 |
|
MD5 | 2058b82d57eb01f94138bc2bfd45cd70 |
|
BLAKE2b-256 | 77250bd7601e0d1657a75f38d1800b5a3aea4b8af3fdd6ea43a75ce257a4f0a0 |
File details
Details for the file Kam_Ultimate_Reporter-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: Kam_Ultimate_Reporter-0.0.8-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e4a0e9ee85a70239ea0c2e5a7a5a7b43bc331253c08b0f2deb3e0d1a3be8506 |
|
MD5 | 01296d77d424aeaad27148969cdcb598 |
|
BLAKE2b-256 | 211926e72c0dacec8694e70914c076e33781fd35646003b536118725c7c4b187 |