indecode


Nameindecode JSON
Version 1.5.2 PyPI version JSON
download
home_page
SummaryCode and decode string
upload_time2023-10-13 06:51:05
maintainer
docs_urlNone
authorlolo859
requires_python
license
keywords code incode indecode decode incode indc
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ========
Indecode
========
*Code and Decode string*

Install and import
------------------

- For install indecode : pip install indecode
- For import indecode : import indecode

Functions
---------

This module contain four functions :

- generate_key() - return string
- code(text to code in str, key return by the "generate_key()" function) - return string
- decode(text return by the "code()" function, key return by the "generate_key()" function) - return string
- get_key_with_img(complete path of the image) - return string, can replace the "generate_key()" fonction

Errors
------

The indecode module can trigger the following errors :

- TypeError : one of the arguments is not a string
- CodeError : one of the caracters in the text argument is not encodable
- DecodeError : one of the caracters in the text argument is not decodable
- KeyElementError : one of the caracters in the key argument must not be in the key
- KeyLengthError : the key is not of the expected length.
- ImageNotFoundError : '/home/pi/Documents/indecode/img.jpg' not found.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "indecode",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "code,incode,indecode,decode,incode,indc",
    "author": "lolo859",
    "author_email": "",
    "download_url": "",
    "platform": null,
    "description": "========\r\nIndecode\r\n========\r\n*Code and Decode string*\r\n\r\nInstall and import\r\n------------------\r\n\r\n- For install indecode : pip install indecode\r\n- For import indecode : import indecode\r\n\r\nFunctions\r\n---------\r\n\r\nThis module contain four functions :\r\n\r\n- generate_key() - return string\r\n- code(text to code in str, key return by the \"generate_key()\" function) - return string\r\n- decode(text return by the \"code()\" function, key return by the \"generate_key()\" function) - return string\r\n- get_key_with_img(complete path of the image) - return string, can replace the \"generate_key()\" fonction\r\n\r\nErrors\r\n------\r\n\r\nThe indecode module can trigger the following errors :\r\n\r\n- TypeError : one of the arguments is not a string\r\n- CodeError : one of the caracters in the text argument is not encodable\r\n- DecodeError : one of the caracters in the text argument is not decodable\r\n- KeyElementError : one of the caracters in the key argument must not be in the key\r\n- KeyLengthError : the key is not of the expected length.\r\n- ImageNotFoundError : '/home/pi/Documents/indecode/img.jpg' not found.\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Code and decode string",
    "version": "1.5.2",
    "project_urls": null,
    "split_keywords": [
        "code",
        "incode",
        "indecode",
        "decode",
        "incode",
        "indc"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a11eaecbc7bd50bd65e7abaae7ddf813c69d1ce621d19170a0ba7d0d2b4941cb",
                "md5": "8ffd24da324a6e0d47c916cceda4d5bc",
                "sha256": "5439dab85f9d68da46ffdba8764eb71c83a8c5da1d934ac8d3ad83a56491bbda"
            },
            "downloads": -1,
            "filename": "indecode-1.5.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8ffd24da324a6e0d47c916cceda4d5bc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 2615,
            "upload_time": "2023-10-13T06:51:05",
            "upload_time_iso_8601": "2023-10-13T06:51:05.086361Z",
            "url": "https://files.pythonhosted.org/packages/a1/1e/aecbc7bd50bd65e7abaae7ddf813c69d1ce621d19170a0ba7d0d2b4941cb/indecode-1.5.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-13 06:51:05",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "indecode"
}
        
Elapsed time: 0.16697s