Skip to main content

Pyxpiral Pseudo-DataMatrix (de)coder

Project description

pyxpiral

Dirty cheap pseudo-DataMatrix (de)coder. Turns any ascii string into a 2d bitmap or gif and vice-versa.

Build Status

Usage

$pip3 install pyxpiral
$python3 -m pyxpiral
usage: python3 -m pyxpiral [-h] (--encode ENCODE | --decode DECODE) [--scale SCALE]
                   [--bg-color BG_COLOR] [--bits-color BITS_COLOR]
                   [--step-size STEP_SIZE] [--rotation-step ROTATION_STEP]
                   [--frame-duration FRAME_DURATION] [--loops LOOPS]
                   [--output-filename OUTPUT_FILENAME]

(If you see __main__.py instead of python3 -m pyxpiral, replace it with python3 -m pyxpiral or python -m pyxpiral)

Example

All free pseudo-DataMatrix. Get yours today:

$python3 -m pyxpiral --encode "Never go full electro (AKA Keep calm and read bits cycling in squared spirals)." --output ngfeog.bmp
Generated ngfeog.bmp and ngfeog.bmp.gif

ngfeog.bmp:

Never go full electro (AKA Keep calm and read bits cycling in squared spirals). (BMP)

ngfeog.bmp.gif:

Never go full electro (AKA Keep calm and read bits cycling in squared spirals). (GIF)

If you want to decode the message from the image:

$python3 -m pyxpiral --decode ngfeog.bmp
Decoded ngfeog.bmp: Never go full electro (AKA Keep calm and read bits cycling in squared spirals).

Donations for this micro-project will be reinvested on local animal shelter: https://goo.gl/fvWmXL

Enjoy!

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

pyxpiral-2.0.10.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyxpiral-2.0.10-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file pyxpiral-2.0.10.tar.gz.

File metadata

  • Download URL: pyxpiral-2.0.10.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.21.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.3

File hashes

Hashes for pyxpiral-2.0.10.tar.gz
Algorithm Hash digest
SHA256 489178cc7aa2822e102f111a70f1768c411e05a7d013396eff806e8cfaf02344
MD5 f7e53fe00d1c738308896f92c6ffb123
BLAKE2b-256 3b8eae0f9ea43dd6c0d97b71b184a32174e4d25afd4834f78284a1524854ba59

See more details on using hashes here.

File details

Details for the file pyxpiral-2.0.10-py3-none-any.whl.

File metadata

  • Download URL: pyxpiral-2.0.10-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.21.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.3

File hashes

Hashes for pyxpiral-2.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 7a2b79ae6dc52d583b23943676a1b3e6344c2f62b150e945cbd7cb3ca6437ed1
MD5 e03b5f6653d21e8d86fc31c6779e28ad
BLAKE2b-256 d043c6f9248523f37dc6f99e42780ce3adcf25c7d3a1743b68ce021bec69ddcb

See more details on using hashes here.

Supported by

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