-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
57 lines (46 loc) · 2.81 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "MediaSecure"
version = "1.0.0"
authors = [
{ name="Abdel-Rahman Saied", email="abdelrahmansaied080@gmail.com" },
]
description = '''
Project Description: MediaEncryptor
MediaEncryptor is a Python library that provides a simple and secure way to encrypt and decrypt media files. It offers functionality to encode media files using Base64 encoding and decode them back to their original format. This library can be used to protect sensitive media content or add an additional layer of security during transmission or storage.
Key Features:
- Media file encryption: MediaEncryptor allows users to encode media files using Base64 encoding, making it easier to handle and transmit encrypted media data.
- File format preservation: The library ensures that the original file format is preserved during the encryption and decryption process.
- Encryption error handling: MediaEncryptor handles various error scenarios during the encryption and decryption process, providing informative error messages and custom exceptions.
- Ease of integration: With a simple and intuitive interface, MediaEncryptor can be easily integrated into existing projects, making it a valuable addition to any media encryption workflow.
Usage:
1. Encoding media files:
- Initialize an instance of the EncodingOptions class.
- Call the `encode_mediaFile` method, providing the path to the media file as an argument.
- The method returns a dictionary containing the encoded data, the original file extension, and a success state.
2. Decoding media files:
- Initialize an instance of the EncodingOptions class.
- Call the `decode_mediaFile` method, providing the encoded data and the output file path as arguments.
- The method decodes the media file and saves it at the specified output file path.
3. Decoding media files to bytes:
- Initialize an instance of the EncodingOptions class.
- Call the `decode_mediaFile_toBytes` method, providing the encoded data as an argument.
- The method decodes the media file and returns the decoded data as bytes.
Contributions:
MediaEncryptor welcomes contributions from the open-source community. If you'd like to contribute, please follow the guidelines in the project's GitHub repository.
License:
MediaEncryptor is licensed under the MIT License. You can find the full license text in the LICENSE file.
Contact:
For any inquiries or support related to MediaEncryptor, please contact the project maintainer at abdelrahmansaied080@gmail.com
'''
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.urls]
"Homepage" = "https://github.com/Abdel-RahmanSaied/mediaSecure.git"