Skip to main content

generate microcode(these are sort of like qrcode but have someother uses)

Project description

pyMicroCode 7.0.0

It's a module to generate microcode(these are sort of like qrcode but have someother uses)

darkmash-org

Features

  • Easy to use.
  • Have a lot of customisation freedom.
  • Secure(AES).
  • Data Compression.

Examples

import pyMicroCode

mc = pyMicroCode.MicroCode()

Write : write()

args :

   file_name = > name of the file to save. 
   data_ = > data which will be saved.
   password = > password to read the file.
   mode="normal" = > mode (safe/normal).
   size=(200,200) = > size of the MicroCode.
   start_pos=(0,0) = > where to start the data writing.
   dim_brightness=0 = > to decrease the color brightness.
   brightness=0 = > to increase the color brightness.
   vertical_spacing=0 = > to add spacing vertically.
   spacing=0 = > horizontal spacing. 
mc.write("Hello_world.png","HI","my_pass")

Read :

args :

   file_name = > file to read.
   password = > password of the MicroCode.
   mode="normal" = > mode in which the MicroCode was created.
   start_pos=(0,0) = > at which pos the msg starts.
   dimed_brightness=0 = > decreased brightness.
   brightness=0 = > increased brightness.

Read()

mc.Read("Hello_world.png","my_pass")

License

MIT

Author

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

pyMicroCode-7.0.0.tar.gz (4.2 kB view hashes)

Uploaded Source

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