poncipher


Nameponcipher JSON
Version 1.0 PyPI version JSON
download
home_page
SummaryPonCipher is library for encoding data (include your Python projects)
upload_time2023-03-12 19:28:26
maintainer
docs_urlNone
authorIts-MatriX
requires_python>=3
license
keywords cipher encoder encoder-decoder
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PonCipher
### PonCipher is library for encoding data (include your Python projects)
```python
from poncipher import PonCipher
pon = PonCipher()

# Encoding main.py file and writing encoded content to encoded.txt file
with open("main.py", "r", encoding="utf-8") as source_file:
    with open("encoded.txt", "w", encoding="utf-8") as encoded_file:
        source = source_file.read()

        encoded = pon.encode(
            content = source, # Source file content (or string)
            key = "YOUR_KEY", # Cipher key
            line_length = 30, # Length of line in encoded file
            compress = False, # If true, enables zlib compress
        )
        encoded_file.write(encoded)

# Decoding main.py file and running it with exec()
with open("encoded.txt", "r", encoding="utf-8") as encoded_file:
    encoded = encoded_file.read()

    decoded = pon.decode(
        content = encoded, # Encoded file (or string)
        key = "YOUR_KEY",  # Cipher key
    )
    exec(decoded)
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "poncipher",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3",
    "maintainer_email": "",
    "keywords": "cipher encoder encoder-decoder",
    "author": "Its-MatriX",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/73/fe/637f6579a480cc1efca82e2f4151b892bb2fc1c1115ca59480e72ba276ac/poncipher-1.0.tar.gz",
    "platform": null,
    "description": "# PonCipher\r\n### PonCipher is library for encoding data (include your Python projects)\r\n```python\r\nfrom poncipher import PonCipher\r\npon = PonCipher()\r\n\r\n# Encoding main.py file and writing encoded content to encoded.txt file\r\nwith open(\"main.py\", \"r\", encoding=\"utf-8\") as source_file:\r\n    with open(\"encoded.txt\", \"w\", encoding=\"utf-8\") as encoded_file:\r\n        source = source_file.read()\r\n\r\n        encoded = pon.encode(\r\n            content = source, # Source file content (or string)\r\n            key = \"YOUR_KEY\", # Cipher key\r\n            line_length = 30, # Length of line in encoded file\r\n            compress = False, # If true, enables zlib compress\r\n        )\r\n        encoded_file.write(encoded)\r\n\r\n# Decoding main.py file and running it with exec()\r\nwith open(\"encoded.txt\", \"r\", encoding=\"utf-8\") as encoded_file:\r\n    encoded = encoded_file.read()\r\n\r\n    decoded = pon.decode(\r\n        content = encoded, # Encoded file (or string)\r\n        key = \"YOUR_KEY\",  # Cipher key\r\n    )\r\n    exec(decoded)\r\n```\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "PonCipher is library for encoding data (include your Python projects)",
    "version": "1.0",
    "split_keywords": [
        "cipher",
        "encoder",
        "encoder-decoder"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "73fe637f6579a480cc1efca82e2f4151b892bb2fc1c1115ca59480e72ba276ac",
                "md5": "30dae5f861094964e0a795fa5ddbf2e4",
                "sha256": "093d3e089bc6837865173facf5358bebc874202e5a88ddf6ff8c0db88de18d21"
            },
            "downloads": -1,
            "filename": "poncipher-1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "30dae5f861094964e0a795fa5ddbf2e4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3",
            "size": 2926,
            "upload_time": "2023-03-12T19:28:26",
            "upload_time_iso_8601": "2023-03-12T19:28:26.088669Z",
            "url": "https://files.pythonhosted.org/packages/73/fe/637f6579a480cc1efca82e2f4151b892bb2fc1c1115ca59480e72ba276ac/poncipher-1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-12 19:28:26",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "poncipher"
}
        
Elapsed time: 0.04456s