Skip to content

merwin-asm/pyMicroCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyMicroCode 7.0.0

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

darkmash-org

Install

    pip install pyMicroCode

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

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages