unixv4-tape-validator
A Python package designed to interpret and validate the archival outcome of Unix V4 tapes by processing user-provided text inputs. It extracts structured data indicating success or failure along with detailed operation information, facilitating automated monitoring and validation of backup processes with language models (LLMs). This tool simplifies the verification process, allowing system administrators to quickly confirm operational status without manually parsing unstructured logs or messages.
Installation
Install the package using pip:
pip install unixv4_tape_validator
Usage
Here's an example of how to use the package in Python:
from unixv4_tape_validator import unixv4_tape_validator
response = unixv4_tape_validator(
user_input="Your tape operation output here",
api_key="your-llm7-api-key" # optional if LLM7_API_KEY env var is set
)
print(response)
Parameters
user_input(str): The text input from the user to analyze, containing tape operation details.llm(Optional[BaseChatModel]): An optional LangChain LLM instance. If not provided, the default ChatLLM7 will be instantiated.api_key(Optional[str]): Your API key for LLM7. If not provided, it can be set via theLLM7_API_KEYenvironment variable.
LLM Support
The package uses ChatLLM7 from langchain_llm7 by default, which you can configure or replace with other LLMs supported by LangChain:
from langchain_openai import ChatOpenAI
from unixv4_tape_validator import unixv4_tape_validator
llm = ChatOpenAI()
response = unixv4_tape_validator(user_input, llm=llm)
Similarly, you can use other LLMs like Anthropic or Google Generative AI:
from langchain_anthropic import ChatAnthropic
llm = ChatAnthropic()
response = unixv4_tape_validator(user_input, llm=llm)
from langchain_google_genai import ChatGoogleGenerativeAI
llm = ChatGoogleGenerativeAI()
response = unixv4_tape_validator(user_input, llm=llm)
API Key and Rate Limits
The default setup uses LLM7's free tier, which typically suffices for most use cases. For higher rate limits, you can obtain an API key free of charge by registering at https://token.llm7.io/ and set it via:
- Environment variable
LLM7_API_KEY - Or directly in the function call:
response = unixv4_tape_validator(user_input, api_key="your_api_key")
Support and Issues
For bug reports, feature requests, or other assistance, please visit the GitHub Issues page:
https://github.com/yourusername/unixv4-tape-validator/issues
Author
Eugene Evstafev
Email: hi@euegne.plus
GitHub: chigwell
Metadata
Release files for unixv4-tape-validator 2025.12.21111300
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| unixv4_tape_validator-2025.12.21111300.tar.gz | 4.3 kB | Without provenance | Details for unixv4_tape_validator-2025.12.21111300.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| unixv4_tape_validator-2025.12.21111300-py3-none-any.whl | Python 3 | none | any | Details for unixv4_tape_validator-2025.12.21111300-py3-none-any.whl |
Total release size: 9.3 kB
Release files / unixv4_tape_validator-2025.12.21111300.tar.gz
| Download URL | unixv4_tape_validator-2025.12.21111300.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4cacc2bb2da838a966970efb9ec25203c8dde3bf77ba5b4c08945661c3784c38
|
|
BLAKE2b-256 checksum How to use checksums |
5b2a6804c724dc65e40e25a161dffec84bff22ff8c6d2b2d2b1886f9dc4c7278
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Release files / unixv4_tape_validator-2025.12.21111300-py3-none-any.whl
| Download URL | unixv4_tape_validator-2025.12.21111300-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9aff6748523e345f235458cc05110c31b260ba43af70940a338c2b893406b5e6
|
|
BLAKE2b-256 checksum How to use checksums |
d78fbca26cf37ca88c01e87a9dc25b082887407822c4d46187891dd748564f31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Security for unixv4-tape-validator 2025.12.21111300
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.