SecureMorph
SecureMorph is a Python package designed to process and validate text inputs related to advanced security protocols, such as secrets erasure upon observation. It utilizes structured pattern matching with regex to interpret user instructions, verify system behaviors—including formal verification results—and produce clear, structured summaries of the security mechanisms involved. This tool enables organizations to automate the validation, documentation, and analysis of complex security models, ensuring sensitive information remains protected under specified observable conditions through verified and repeatable procedures.
Installation
Install SecureMorph via pip:
pip install SecureMorph
Usage
Here's an example of how to use SecureMorph in your Python projects:
from SecureMorph import SecureMorph
# Example input string
user_input = "Verify that secrets are erased when observed."
# Call the function
result = SecureMorph(user_input)
# Output the extracted data or verification results
print(result)
Customizing the Language Model
SecureMorph defaults to using the ChatLLM7 model from langchain_llm7, which can be installed from PyPI. You can also pass your own LLM instance if desired:
from langchain_llm7 import YourCustomLLM
my_llm = YourCustomLLM()
result = SecureMorph(user_input, llm=my_llm)
API Keys and Rate Limits
For higher rate limits or access to the LLM7 API, you can:
- Set your API key as an environment variable
LLM7_API_KEY. - Or pass it directly in the function call:
result = SecureMorph(user_input, api_key="your_api_key_here")
You can obtain a free API key by registering at https://token.llm7.io/.
Configuration
- The default LLM is ChatLLM7 from
langchain_llm7. - You may specify a different LLM instance for custom integrations.
- The API key must be provided for API access if not using the default setup.
Issues
For bugs, feature requests, or support, please open an issue on GitHub:
https://github.com/yourusername/SecureMorph/issues
Author
Eugene Evstafev
Email: hi@euegne.plus
License
This project is licensed under the MIT License.
Metadata
Release files for SecureMorph 2025.12.20172640
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| securemorph-2025.12.20172640.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| securemorph-2025.12.20172640-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / securemorph-2025.12.20172640.tar.gz
| Download URL | securemorph-2025.12.20172640.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c6d1bc0b27b129f428957c92ea6c042a4ce357a2237d23f3e7b510c93c08681d
|
|
BLAKE2b-256 checksum How to use checksums |
5ea8889dfe769e697a3432d41da1014e2b859b7e51df5cca9cfceb4a815a328c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Release files / securemorph-2025.12.20172640-py3-none-any.whl
| Download URL | securemorph-2025.12.20172640-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
90810375849a2b97d16318ec384e2ba4401e3923cd8a4572765fda89f09818a6
|
|
BLAKE2b-256 checksum How to use checksums |
a78039ce53f158e806b96a5914b6c361f835fd6ce267b8b149762a599e88bc59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|