Skip to main content

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

  1. Installation
  2. Usage
  3. Available Reports

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:

  1. Books by Created Month: Counts books created each month.
  2. Suppress Status Summary: Summary of items by suppress status.
  3. Top 10 Most Frequently Updated Titles: List of top 10 titles most frequently updated.
  4. Books by Material Type: Counts books by material type.
  5. Average Loan Count: Calculates the average number of loans per item.
  6. Recently Added Records: Shows records added in the last 30 days.
  7. Top 5 Most Loaned Titles: Lists the top 5 titles with the most loans.
  8. Staff Suppressed Records: Summary of items by staff suppression status.
  9. Suppressed Records Summary: Lists records with suppression status.
  10. Titles with Alternative Titles: Lists titles that have alternative titles.
  11. Records with High Loan Counts: Shows items with loan counts above 10.
  12. Titles by Updated User: Counts titles updated by each user.
  13. Edition Distribution: Shows the distribution of editions across items.
  14. Titles with Item Discovery Suppress: Lists titles with item-level discovery suppress.
  15. Loaned Items by Location: Summarizes loan counts by location.
  16. Books with Check-in Records: Lists books with check-in records.
  17. Titles with Copy Numbers: Lists titles that have copy numbers.
  18. Records Created by User: Counts records created by each user.
  19. Books by Loan Type: Counts books by loan type.
  20. Titles Without Loans: Lists titles with zero loans.
  21. Loan Activity by Material Type: Summarizes loan counts by material type.
  22. Recently Updated Records: Shows records updated in the last 30 days.
  23. 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

kam_ultimate_reporter-0.0.9.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Kam_Ultimate_Reporter-0.0.9-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file kam_ultimate_reporter-0.0.9.tar.gz.

File metadata

  • Download URL: kam_ultimate_reporter-0.0.9.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for kam_ultimate_reporter-0.0.9.tar.gz
Algorithm Hash digest
SHA256 bddb61bf758fb49cbbda29543478080faebf79fce48d78e6ab98adda6a42dca9
MD5 24ccfa90fa70b9dc77eb36f0268492d7
BLAKE2b-256 f30de3a3d95c86eae73d0fc0108db9b312a097c926e1a35ed9232db63fd289b2

See more details on using hashes here.

File details

Details for the file Kam_Ultimate_Reporter-0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for Kam_Ultimate_Reporter-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 ae39b0aa135ff6f72a079d438cc7f123b081df98628710b6e27ee291ad52b42c
MD5 c688e05880ded7a8b0f07798eb9ab204
BLAKE2b-256 70d17d96af381939b545e76c29e07134676c9d8ec38527f35d986ff16468bda2

See more details on using hashes here.

Supported by

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