Skip to main content

Shannon Fano Encoding library

Project description

Shannon Fano

A small practice library created as a project to encode an image.

Installation

pip install shannon-fano

How to use this?

This library returns the shannon fano code words of the image.

from shannon_fano import Shannon_fano_encoding

# enter the image name as <name of the image.extension>

image_name = Shannon_fano_encoding(input("Enter the Filename:"))
print(image_name.encode())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shannon-fano-0.1.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

shannon_fano-0.1.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file shannon-fano-0.1.1.tar.gz.

File metadata

  • Download URL: shannon-fano-0.1.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for shannon-fano-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3f572359d3516c6f190797378951d41ea681fd83b39b7e044d37962f1be0efc1
MD5 768be95188192684deab49c25defdd5e
BLAKE2b-256 95bcf58d9ec0fe77f6eee28046e92354dcf15c496ccf50176cfba7d68f044fa2

See more details on using hashes here.

File details

Details for the file shannon_fano-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: shannon_fano-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for shannon_fano-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fdd1cf6395f4b2dba8c8af0164405c6dc320ef4d2a07cf5e2b5b8f58a4c8e2ec
MD5 37a8de9139e12951c40e8279b162f357
BLAKE2b-256 43a24d4f7114f086851d9fbcc12ba332a151796bd17d973a3b8f11937480e56f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page