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.8.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

Kam_Ultimate_Reporter-0.0.8-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

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

Hashes for kam_ultimate_reporter-0.0.8.tar.gz
Algorithm Hash digest
SHA256 662f72e86d0f6184492101e0cc72e02d33c17f033d95670772ea4ac5e1d31725
MD5 2058b82d57eb01f94138bc2bfd45cd70
BLAKE2b-256 77250bd7601e0d1657a75f38d1800b5a3aea4b8af3fdd6ea43a75ce257a4f0a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Kam_Ultimate_Reporter-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 9e4a0e9ee85a70239ea0c2e5a7a5a7b43bc331253c08b0f2deb3e0d1a3be8506
MD5 01296d77d424aeaad27148969cdcb598
BLAKE2b-256 211926e72c0dacec8694e70914c076e33781fd35646003b536118725c7c4b187

See more details on using hashes here.

Supported by

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