Aztec Code generator in Python
Project description
Aztec Code generator in Python
Dependencies
Pillow - Python Imaging Library
Usage
data = 'Aztec Code 2D :)'
aztec_code = AztecCode(data)
aztec_code.save('aztec_code.png', module_size=4)
This code will generate an image file aztec_code.png of an Aztec Code containing the text “Aztec Code 2D :)”.
data = 'Aztec Code 2D :)'
aztec_code = AztecCode(data)
aztec_code.print_out()
This code will print out the resulting 19×19 (compact) Aztec Code to standard output as text.
## # ## ####
# ## ##### ###
# ## # # # ###
## # # ## ##
## # # # #
## ############ # #
### # ### #
## # ##### # ## #
# # # # ##
# # # # # # ###
## # # ## ##
#### # ##### ## #
# ## ## ##
## ########### #
## # ## ## #
## # ### # ##
############
## # # ## #
## # ## ### #
License
Released under The MIT License.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aztec_code_generator-0.8.tar.gz.
File metadata
- Download URL: aztec_code_generator-0.8.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
741e9f06dd5aeb3facde024f8eeeb3253bb80960e8a7e74c9b24bf85a9da747b
|
|
| MD5 |
8e81bd186d9c2045d17219be3696850c
|
|
| BLAKE2b-256 |
6158c72c6b5c24adea568239563797b5a4c7875819ea1b551dd9c907ec9f3d56
|
File details
Details for the file aztec_code_generator-0.8-py3-none-any.whl.
File metadata
- Download URL: aztec_code_generator-0.8-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f6f684e5ccf16821260547f291a81b1e3335c646658a3b82e8e790a0376501f
|
|
| MD5 |
d2241a007278a15a4cf44ed593d2d1f9
|
|
| BLAKE2b-256 |
85dfdea4445b55ed81be1b1b98752c8e2935f61281e6ca82ea21fb2fe9e87eb3
|