bitoli


Namebitoli JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/retrotee/bitoli
SummaryAdaptive compression and encryption of data
upload_time2024-08-04 10:58:49
maintainerNone
docs_urlNone
authorretrotee
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            bitoli
======

bitoli is a Python package for adaptive compression and encryption of data. It offers simple methods to securely encode and decode data using AES encryption in CFB mode and adaptive compression techniques.

Features
--------

- Adaptive compression using zlib
- AES encryption with CFB mode
- Base85 encoding for non-compressed data
- Simple API for encoding and decoding data

Installation
------------

You can install bitoli using pip:

.. code:: bash

    pip install bitoli

Usage
-----

Here is a simple example of how to use bitoli:

.. code:: python

    from bitoli import encode, decode

    key = "your_password"
    data = "This is some data to encrypt and compress."

    # Encode data
    encoded_data = encode(data, key)
    print("Encoded data:", encoded_data)

    # Decode data
    decoded_data = decode(encoded_data, key)
    print("Decoded data:", decoded_data)

API
---

- `encode(data, key)`: Encrypts and compresses the data using the provided key.
- `decode(data, key)`: Decompresses and decrypts the data using the provided key.

License
-------

This project is licensed under the MIT License.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/retrotee/bitoli",
    "name": "bitoli",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "retrotee",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/d8/5a/df7a848535a87f89207e8c9d1a252fafae820da597f0d4c23ffad9fc8911/bitoli-0.1.1.tar.gz",
    "platform": null,
    "description": "bitoli\n======\n\nbitoli is a Python package for adaptive compression and encryption of data. It offers simple methods to securely encode and decode data using AES encryption in CFB mode and adaptive compression techniques.\n\nFeatures\n--------\n\n- Adaptive compression using zlib\n- AES encryption with CFB mode\n- Base85 encoding for non-compressed data\n- Simple API for encoding and decoding data\n\nInstallation\n------------\n\nYou can install bitoli using pip:\n\n.. code:: bash\n\n    pip install bitoli\n\nUsage\n-----\n\nHere is a simple example of how to use bitoli:\n\n.. code:: python\n\n    from bitoli import encode, decode\n\n    key = \"your_password\"\n    data = \"This is some data to encrypt and compress.\"\n\n    # Encode data\n    encoded_data = encode(data, key)\n    print(\"Encoded data:\", encoded_data)\n\n    # Decode data\n    decoded_data = decode(encoded_data, key)\n    print(\"Decoded data:\", decoded_data)\n\nAPI\n---\n\n- `encode(data, key)`: Encrypts and compresses the data using the provided key.\n- `decode(data, key)`: Decompresses and decrypts the data using the provided key.\n\nLicense\n-------\n\nThis project is licensed under the MIT License.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Adaptive compression and encryption of data",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/retrotee/bitoli"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2e278ee6485ea53885ef6b60dd94838479bc98a19e7722e288d744b9aae0de00",
                "md5": "b6639957f764e614154564644230f20b",
                "sha256": "7c3df075efa0b507f8b2ab5e654ba1a5edef0c167655c0a3aed8f247e4b5701a"
            },
            "downloads": -1,
            "filename": "bitoli-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b6639957f764e614154564644230f20b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 3299,
            "upload_time": "2024-08-04T10:58:47",
            "upload_time_iso_8601": "2024-08-04T10:58:47.792048Z",
            "url": "https://files.pythonhosted.org/packages/2e/27/8ee6485ea53885ef6b60dd94838479bc98a19e7722e288d744b9aae0de00/bitoli-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d85adf7a848535a87f89207e8c9d1a252fafae820da597f0d4c23ffad9fc8911",
                "md5": "906441ca3ca35ec1c42a4c17eca94b90",
                "sha256": "488119064e744253f4b38faef2f9499aa5fae2a6842c90218e8db767e319500f"
            },
            "downloads": -1,
            "filename": "bitoli-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "906441ca3ca35ec1c42a4c17eca94b90",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 2946,
            "upload_time": "2024-08-04T10:58:49",
            "upload_time_iso_8601": "2024-08-04T10:58:49.076462Z",
            "url": "https://files.pythonhosted.org/packages/d8/5a/df7a848535a87f89207e8c9d1a252fafae820da597f0d4c23ffad9fc8911/bitoli-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-04 10:58:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "retrotee",
    "github_project": "bitoli",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "bitoli"
}
        
Elapsed time: 0.31295s