Giter Club home page Giter Club logo

pymicrocode's Introduction

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

pymicrocode's People

Contributors

merwin-asm avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.