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-0.2.0.tar.gz
(4.3 kB
view details)
File details
Details for the file snorse-0.2.0.tar.gz
.
File metadata
- Download URL: snorse-0.2.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a30f9a02c5e5171723e559f5608094de5e637801108542aee40367afeaea6147 |
|
MD5 | fb63db6ad86e90de47ab75be37677caf |
|
BLAKE2b-256 | a5e96102ac11dc3a7e1c7077dfa9ee80ef2cda7521568667f6f372b131f406ed |