MultifunctionTools


NameMultifunctionTools JSON
Version 1.0.0b8 PyPI version JSON
download
home_pagehttps://github.com/veHRz/MultifunctionTools
SummaryThe MultifunctionTools library is a comprehensive collection of handy utilities and tools designed to enhance your Python coding experience.
upload_time2023-10-28 16:19:50
maintainer
docs_urlNone
authorveHRz
requires_python
licenseMIT
keywords tools cipher hash convert multi-usage multi
VCS
bugtrack_url
requirements pycryptodomex cryptography argon2-cffi pillow
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # MultifunctionTools Python Library

The `MultifunctionTools` library is a comprehensive collection of handy utilities and tools designed to enhance your Python coding experience. Whether you're a beginner or an experienced developer, `MultifunctionTools` provides a set of functionalities to simplify and streamline various aspects of Python programming.

## Summary

* [Features](#features)
  * [1. Ciphering Text](#1-ciphering-text)
  * [2. Hashing Text](#2-hashing-text)
  * [3. Converting](#3-converting)
* [Installation](#installation)
* [Usage](#usage)
* [Contribution](#contribution)
* [License](#license)

## Features

### 1. Ciphering Text

Can help you cipher text easily with multiple function choices.

```python
from MultifunctionTools import Cipher

password = "superPassword"
saltPassword = "superPasswordNumber2"
message = b"This is a secret message."

# Cipher text with two passwords
cipherText = Cipher.AdvancedCipher(message, password, saltPassword=saltPassword)
print("Ciphered text :", cipherText)

# Decipher text with two passwords
decipherText = Cipher.AdvancedDecipher(cipherText, password, saltPassword=saltPassword)
print("Deciphered text :", decipherText)
```

### 2. Hashing Text

Tools that allow you to hide text to prevent it from being retrieved. Ideal for storing passwords.

```python
from MultifunctionTools import Hash

textToHash = "Some text to hash"
hashLength = 32

# Hashing Str and return hex string
hashedString: str = Hash.BasicHashToHex(textToHash, hashSize=hashLength)
print("Hashed string :", hashedString)

hashAlgo = Hash.HASH_ALGO_BCRYPT
hashedString: str = Hash.AdvancedHash(textToHash, hashAlgo, randomSaltSize=[22, 35], costFactor=14, blockSize=8, parallelism=1, memoryCost=64000)
print("Hashed string :", hashedString)
textToVerify = "Some text to verify"
isGoodPassword = Hash.AdvancedHashVerification(hashedString, textToVerify)
print(f"{textToVerify = } == {hashedString = } : {isGoodPassword}")
```

### 3. Converting

A range of tools that let you easily convert images and python types (but more coming soon).

```python
from MultifunctionTools import Convert

baseImageFilePath = "some/path/to/image.jpg"
newImageFilePath = "some/path/to/image.png"

# Converting base image to a new png image
Convert.ConvertImageToPng(baseImageFilePath, newImageFilePath)

# Converting list of string/bytes to bytes
Convert.ConvertToBytes(["string", b"to convert", "in bytes"])
```

## Installation

You can easily install `MultifunctionTools` using pip:

```bash
pip install MultifunctionTools
```

## Usage

Import the desired modules from `MultifunctionTools` and start using its powerful features in your Python projects.

```python
from MultifunctionTools.Cipher import *
from MultifunctionTools.Hash import *
from MultifunctionTools.Convert import *

# Now you're ready to use the various tools from MultifunctionTools!
```

## Contribution

Contributions to the `MultifunctionTools` library are welcome! If you have an idea for a new tool or want to enhance existing functionalities, feel free to submit a pull request on our [GitHub repository](https://github.com/veHRz/MultifunctionTools).

## License

This project is licensed under the MIT License. - see the [LICENSE](https://github.com/veHRz/MultifunctionTools/blob/master/LICENSE.md) file for details.

---

Give `MultifunctionTools` a try and make your Python coding journey more efficient and enjoyable. Happy coding!

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/veHRz/MultifunctionTools",
    "name": "MultifunctionTools",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "TOOLS,CIPHER,HASH,CONVERT,MULTI-USAGE,MULTI",
    "author": "veHRz",
    "author_email": "vehrzyt@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/a6/0d/1f054000f7dd810967a1f6e973ba765d0b6092ea4f6806ede5225ebd03ea/MultifunctionTools-1.0.0b8.tar.gz",
    "platform": null,
    "description": "# MultifunctionTools Python Library\r\n\r\nThe `MultifunctionTools` library is a comprehensive collection of handy utilities and tools designed to enhance your Python coding experience. Whether you're a beginner or an experienced developer, `MultifunctionTools` provides a set of functionalities to simplify and streamline various aspects of Python programming.\r\n\r\n## Summary\r\n\r\n* [Features](#features)\r\n  * [1. Ciphering Text](#1-ciphering-text)\r\n  * [2. Hashing Text](#2-hashing-text)\r\n  * [3. Converting](#3-converting)\r\n* [Installation](#installation)\r\n* [Usage](#usage)\r\n* [Contribution](#contribution)\r\n* [License](#license)\r\n\r\n## Features\r\n\r\n### 1. Ciphering Text\r\n\r\nCan help you cipher text easily with multiple function choices.\r\n\r\n```python\r\nfrom MultifunctionTools import Cipher\r\n\r\npassword = \"superPassword\"\r\nsaltPassword = \"superPasswordNumber2\"\r\nmessage = b\"This is a secret message.\"\r\n\r\n# Cipher text with two passwords\r\ncipherText = Cipher.AdvancedCipher(message, password, saltPassword=saltPassword)\r\nprint(\"Ciphered text :\", cipherText)\r\n\r\n# Decipher text with two passwords\r\ndecipherText = Cipher.AdvancedDecipher(cipherText, password, saltPassword=saltPassword)\r\nprint(\"Deciphered text :\", decipherText)\r\n```\r\n\r\n### 2. Hashing Text\r\n\r\nTools that allow you to hide text to prevent it from being retrieved. Ideal for storing passwords.\r\n\r\n```python\r\nfrom MultifunctionTools import Hash\r\n\r\ntextToHash = \"Some text to hash\"\r\nhashLength = 32\r\n\r\n# Hashing Str and return hex string\r\nhashedString: str = Hash.BasicHashToHex(textToHash, hashSize=hashLength)\r\nprint(\"Hashed string :\", hashedString)\r\n\r\nhashAlgo = Hash.HASH_ALGO_BCRYPT\r\nhashedString: str = Hash.AdvancedHash(textToHash, hashAlgo, randomSaltSize=[22, 35], costFactor=14, blockSize=8, parallelism=1, memoryCost=64000)\r\nprint(\"Hashed string :\", hashedString)\r\ntextToVerify = \"Some text to verify\"\r\nisGoodPassword = Hash.AdvancedHashVerification(hashedString, textToVerify)\r\nprint(f\"{textToVerify = } == {hashedString = } : {isGoodPassword}\")\r\n```\r\n\r\n### 3. Converting\r\n\r\nA range of tools that let you easily convert images and python types (but more coming soon).\r\n\r\n```python\r\nfrom MultifunctionTools import Convert\r\n\r\nbaseImageFilePath = \"some/path/to/image.jpg\"\r\nnewImageFilePath = \"some/path/to/image.png\"\r\n\r\n# Converting base image to a new png image\r\nConvert.ConvertImageToPng(baseImageFilePath, newImageFilePath)\r\n\r\n# Converting list of string/bytes to bytes\r\nConvert.ConvertToBytes([\"string\", b\"to convert\", \"in bytes\"])\r\n```\r\n\r\n## Installation\r\n\r\nYou can easily install `MultifunctionTools` using pip:\r\n\r\n```bash\r\npip install MultifunctionTools\r\n```\r\n\r\n## Usage\r\n\r\nImport the desired modules from `MultifunctionTools` and start using its powerful features in your Python projects.\r\n\r\n```python\r\nfrom MultifunctionTools.Cipher import *\r\nfrom MultifunctionTools.Hash import *\r\nfrom MultifunctionTools.Convert import *\r\n\r\n# Now you're ready to use the various tools from MultifunctionTools!\r\n```\r\n\r\n## Contribution\r\n\r\nContributions to the `MultifunctionTools` library are welcome! If you have an idea for a new tool or want to enhance existing functionalities, feel free to submit a pull request on our [GitHub repository](https://github.com/veHRz/MultifunctionTools).\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License. - see the [LICENSE](https://github.com/veHRz/MultifunctionTools/blob/master/LICENSE.md) file for details.\r\n\r\n---\r\n\r\nGive `MultifunctionTools` a try and make your Python coding journey more efficient and enjoyable. Happy coding!\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "The MultifunctionTools library is a comprehensive collection of handy utilities and tools designed to enhance your Python coding experience.",
    "version": "1.0.0b8",
    "project_urls": {
        "Download": "https://github.com/veHRz/MultifunctionTools/archive/refs/tags/1.0.0b8.tar.gz",
        "Homepage": "https://github.com/veHRz/MultifunctionTools"
    },
    "split_keywords": [
        "tools",
        "cipher",
        "hash",
        "convert",
        "multi-usage",
        "multi"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a60d1f054000f7dd810967a1f6e973ba765d0b6092ea4f6806ede5225ebd03ea",
                "md5": "d3b0ed0f782dee90cf344133e7682204",
                "sha256": "31dac684389a28e1ea9413a4d4454b56ecba609516e5a401399affaecdd59e98"
            },
            "downloads": -1,
            "filename": "MultifunctionTools-1.0.0b8.tar.gz",
            "has_sig": false,
            "md5_digest": "d3b0ed0f782dee90cf344133e7682204",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 16652,
            "upload_time": "2023-10-28T16:19:50",
            "upload_time_iso_8601": "2023-10-28T16:19:50.991679Z",
            "url": "https://files.pythonhosted.org/packages/a6/0d/1f054000f7dd810967a1f6e973ba765d0b6092ea4f6806ede5225ebd03ea/MultifunctionTools-1.0.0b8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-28 16:19:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "veHRz",
    "github_project": "MultifunctionTools",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "pycryptodomex",
            "specs": []
        },
        {
            "name": "cryptography",
            "specs": []
        },
        {
            "name": "argon2-cffi",
            "specs": []
        },
        {
            "name": "pillow",
            "specs": []
        }
    ],
    "lcname": "multifunctiontools"
}
        
Elapsed time: 0.11647s