Skip to main content

Spell words with elemental symbols from the periodic table ("He", "Cu", etc).

Project description

Spell words with elemental symbols from the periodic table (“He”, “Cu”, etc).

A list of four words and their elemental spellings

Some words and their elemental spellings

Usage

usage: stoichiograph [-h] [-b BATCH_FILE] [-c] [--debug] [--list-elements]
                     [--export-graph] [-o OUTPUT_FILE] [-s] [-t] [-v] [-V]
                     [words [words ...]]

Spell words with elemental symbols from the periodic table.

positional arguments:
  words                 word(s) for which to find elemental spellings

optional arguments:
  -h, --help            show this help message and exit
  -b BATCH_FILE, --batch-file BATCH_FILE
                        text file containing one word per line
  -c, --clobber         overwrite output file if it exists
  --debug               print debug log
  --list-elements       print list of elemental symbols and exit
  --export-graph        export graph of first word as dot code
  -o OUTPUT_FILE, --output-file OUTPUT_FILE
                        path of output json file
  -s, --sort            sort words by length
  -t, --tuples          display spellings as tuples
  -v, --verbose         print a detailed log
  -V, --version         print version info and exit

Graph Export

Stoichiograph builds a graph to find a word’s elemental spellings. Use the –export-graph option to output dot code that graphviz can use to generate an image of the graph.

$ stoichiograph.py --export-graph cryptographer | dot -Tpng -o cryptographer.png

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

Stoichiograph-0.1.2.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

Stoichiograph-0.1.2-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file Stoichiograph-0.1.2.tar.gz.

File metadata

File hashes

Hashes for Stoichiograph-0.1.2.tar.gz
Algorithm Hash digest
SHA256 704b1fb10b57f2fcfc04449279114a411dbccaba43806cb072df9b41458cf174
MD5 31d8a728fe0eeabb51930764efd900e1
BLAKE2b-256 aa903ecd827b56d908b6a41219675598862b808bfd2640ef532270b7916032cf

See more details on using hashes here.

File details

Details for the file Stoichiograph-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for Stoichiograph-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6d6b34ca774cf8fecf0f7cd26fa8c0f64dcb855bc23a7e4c64d6aab48abb0905
MD5 cd9820e710ce01596060c7c37fde93cf
BLAKE2b-256 ec35e0d31c7f892f79a163e05b0a6986a8a1b1cbd31030e7a1e430a41204baa1

See more details on using hashes here.

Supported by

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