Skip to main content

Impossible: A way to encode everything

Installation

pip install impossible

Usage

Simple Example

import impossible
encoded_string = impossible.encode("Hello World!")
print(encoded_string)
decoded_string = decode(encoded_string)
print(decoded_string)

Using Keys

To use a key, first you must generate it.

import impossible
key = impossible.generate_key()
print(key)
# -> 9,ogwje68zm5kcsbxl0yrf4d2731qauptinhv.m8hzqsbvx,lketd4ca0wgpjyu691ir725onf3.

Then, you can encode and decode using that key.

import impossible
encoded_value = impossible.encode("Hello World",ek="9,ogwje68zm5kcsbxl0yrf4d2731qauptinhv.m8hzqsbvx,lketd4ca0wgpjyu691ir725onf3.",key=True)[0]
print(encoded_value)
decoded_value = decode(encoded_value,key="9,ogwje68zm5kcsbxl0yrf4d2731qauptinhv.m8hzqsbvx,lketd4ca0wgpjyu691ir725onf3.")
print(decoded_value)

Metadata

Release files for impossible 0.1.0

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

Source distribution (sdist)

Source distribution for impossible 0.1.0
File Size Uploaded Provenance Actions
impossible-0.1.0.tar.gz 2.9 kB Without provenance Details for impossible-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 5.7 kB

Release files / impossible-0.1.0.tar.gz

Download URL impossible-0.1.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e0166c3840f62a0aa62d2ab807a0582d4bd87bd8bfdd903b3f80a77070862141
BLAKE2b-256 checksum
How to use checksums
e6de32aa6f3f717219d46a1c06caa8f09de8c84bd0c7402942046da1f8c44517
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / impossible-0.1.0-py3-none-any.whl

Download URL impossible-0.1.0-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6561474e165657a75bd31947721ef9eb6a0767963e307989c00c66ee143d171a
BLAKE2b-256 checksum
How to use checksums
f622f08217838dba51864107aa328f051d6595a8ec655b6cb3aee7f9a691a0d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Security for impossible 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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