Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

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:

pip install bitoli

Usage

Here is a simple example of how to use bitoli:

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.

Metadata

Release files for bitoli 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bitoli 0.1.1
File Size Uploaded
bitoli-0.1.1.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bitoli 0.1.1
File Interpreter ABI Platform
bitoli-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / bitoli-0.1.1.tar.gz

Download URL bitoli-0.1.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
488119064e744253f4b38faef2f9499aa5fae2a6842c90218e8db767e319500f
BLAKE2b-256 checksum
How to use checksums
d85adf7a848535a87f89207e8c9d1a252fafae820da597f0d4c23ffad9fc8911
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Release files / bitoli-0.1.1-py3-none-any.whl

Download URL bitoli-0.1.1-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c3df075efa0b507f8b2ab5e654ba1a5edef0c167655c0a3aed8f247e4b5701a
BLAKE2b-256 checksum
How to use checksums
2e278ee6485ea53885ef6b60dd94838479bc98a19e7722e288d744b9aae0de00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page