Secure your ML models using securedai
Project description
SecuredAI Python Package
securedai
is a Python package designed to easily implement security features for machine learning models or other applications. With simple commands, users can instantiate the package and quickly apply security layers to their models.
Installation
You can install the securedai
package using pip:
pip install securedai
Quickstart
Once the package is installed, you can start using it immediately. Here's a simple example:
from securedai import Secured
# Instantiate the Secured class
sc = Secured()
# Console output: "Constructed secured instance"
# Apply security to 9 models
result = sc.implement(9)
# Console output: "Implemented securety for 9 models!"
print(result)
# Console output: {'status': True, 'message': 'Success'}
Expected Output:
Constructed secured instance
Implemented security for 9 models!
{'status': True, 'message': 'Success'}
Features
- Easy Security Implementation: Apply security features to any number of models with one command.
- Clear Status Messages: Returns a success message with the status of the security implementation.
Methods
Secured.implement(model_count: int) -> dict
- Description: Implements security for a specified number of models.
- Parameters:
model_count (int)
: The number of models to apply security to.
- Returns:
- A dictionary with
status
indicating success or failure, and amessage
.
- A dictionary with
Contributing
Feel free to open issues or pull requests if you find any bugs or have feature requests.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file securedai-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: securedai-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c83dca23d3de3cf0db08b456dd494c99da2de69a3889c66970778e2c632e38c2 |
|
MD5 | 49e4cee559d9f08e2f63ffcfc4d5a29a |
|
BLAKE2b-256 | 408b5cd53ece1723dbea024ab0e40583209ce6f063a881cf72bf91b4af442d31 |