Unicode Snowman Morse Code
Project description
Unicode Snowman Morse Code
Free software: MIT license
Install
$ pip install snorse
Usage
Command Line
$ snorse snowman
☃ ☃ ☃ ⛄⛄⛄ ☃ ⛄⛄⛄ ⛄⛄⛄ ⛄⛄⛄ ☃ ⛄⛄⛄ ⛄⛄⛄ ⛄⛄⛄ ⛄⛄⛄ ☃ ⛄⛄⛄ ⛄⛄⛄ ☃
$ cat snowman | snorse
☃ ☃ ☃ ⛄⛄⛄ ☃ ⛄⛄⛄ ⛄⛄⛄ ⛄⛄⛄ ☃ ⛄⛄⛄ ⛄⛄⛄ ⛄⛄⛄ ⛄⛄⛄ ☃ ⛄⛄⛄ ⛄⛄⛄ ☃
$ echo snowman > snowman.txt
$ snorse snowman.txt
☃ ☃ ☃ ⛄⛄⛄ ☃ ⛄⛄⛄ ⛄⛄⛄ ⛄⛄⛄ ☃ ⛄⛄⛄ ⛄⛄⛄ ⛄⛄⛄ ⛄⛄⛄ ☃ ⛄⛄⛄ ⛄⛄⛄ ☃
$ snorse -f snowman.txt
☃ ☃ ☃ ⛄⛄⛄ ☃ ⛄⛄⛄ ⛄⛄⛄ ⛄⛄⛄ ☃ ⛄⛄⛄ ⛄⛄⛄ ⛄⛄⛄ ⛄⛄⛄ ☃ ⛄⛄⛄ ⛄⛄⛄ ☃
Python API
>>> import snorse
>>> snorse.snorse('snowman')
u'\u2603 \u2603 \u2603 \u26c4\u26c4\u26c4 \u2603 \u26c4\u26c4\u26c4 \u26c4\u26c4\u26c4 \u26c4\u26c4\u26c4 \u2603 \u26c4\u26c4\u26c4 \u26c4\u26c4\u26c4 \u26c4\u26c4\u26c4 \u26c4\u26c4\u26c4 \u2603 \u26c4\u26c4\u26c4 \u26c4\u26c4\u26c4 \u2603'
>>> print snors.snorse('snowman')
☃ ☃ ☃ ⛄⛄⛄ ☃ ⛄⛄⛄ ⛄⛄⛄ ⛄⛄⛄ ☃ ⛄⛄⛄ ⛄⛄⛄ ⛄⛄⛄ ⛄⛄⛄ ☃ ⛄⛄⛄ ⛄⛄⛄ ☃
Profit!
History
0.1.0 (2014-01-11)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
snorse-1.0.0.tar.gz
(4.5 kB
view details)
File details
Details for the file snorse-1.0.0.tar.gz
.
File metadata
- Download URL: snorse-1.0.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e38d1309cc7fff91c43b41740a607fdb3045caa82ddf916ac9d692c00edf6623 |
|
MD5 | 72ba66aa68412672d54d273441a0ad66 |
|
BLAKE2b-256 | 7b3c53692583dd837bc7247da1250dbfb46843c46816fa4d56b0fcff0d4c0c70 |