Skip to main content

The new package is designed to process text inputs related to advanced security concepts, such as secrets erasure upon observation. It utilizes structured pattern matching to interpret user instructio

Project description

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.

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

securemorph-2025.12.20172640.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

securemorph-2025.12.20172640-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file securemorph-2025.12.20172640.tar.gz.

File metadata

  • Download URL: securemorph-2025.12.20172640.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for securemorph-2025.12.20172640.tar.gz
Algorithm Hash digest
SHA256 c6d1bc0b27b129f428957c92ea6c042a4ce357a2237d23f3e7b510c93c08681d
MD5 0d6386a33ebd8dfc7fedea64d37a4db5
BLAKE2b-256 5ea8889dfe769e697a3432d41da1014e2b859b7e51df5cca9cfceb4a815a328c

See more details on using hashes here.

File details

Details for the file securemorph-2025.12.20172640-py3-none-any.whl.

File metadata

File hashes

Hashes for securemorph-2025.12.20172640-py3-none-any.whl
Algorithm Hash digest
SHA256 90810375849a2b97d16318ec384e2ba4401e3923cd8a4572765fda89f09818a6
MD5 16841383ddbe6b6afccfe5652fb656b0
BLAKE2b-256 a78039ce53f158e806b96a5914b6c361f835fd6ce267b8b149762a599e88bc59

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