Skip to main content

Prisoner's tap code encryption

Project description


PyPI version Documentation Status

Tapcode Cypher also known as Prisoner's tapcode. For a complete documentation look at ReadTheDocs


You can install tapcode either via pip (PyPI) or from source. To install using pip:

pip3 install tapcode

Or manually:

git clone
cd tapcode
python3 install


Help Menu:

$ tapcode --help

usage: tapcode [-h] [-i INPUT] [-f [FILE]] [-o [OUTPUT]] [-I] [-d] [-e] [-C] [-G] [-v]

Encipher or Decipher a tapcode message.

optional arguments:
  -h, --help             Show this help message and exit
  -i, --input INPUT      Sentence to cypher or decipher
  -f, --file [FILE]      File to cypher or decipher
  -o, --output [OUTPUT]  Output file
  -I, --stdin            Standard input
  -d, --decode           Decode tapcode sentence.
  -e, --encode           Encode sentences to tapcode (Should be decimal values)
  -C, --convert          Convert tapcode to Decimal value.
  -G, --generate         Generate tapcode
  -v, --version          Tapcode version


  • Multiple input method
    • Input text
    • File input
    • Standard input(Pipe)
  • Built in output flag
  • Generate and convert any tapcode


Encipher a clear message:

$ tapcode -es "I Love Tapcode"
24 31 34 51 15 44 11 35 13 34 14 15

Decipher a tapcode message:

$tapcode -ds "24 31 34 51 15 44 11 35 13 34 14 15"

For More Examples check ReadTheDocs


For a complete API documentation look at ReadTheDocs

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

tapcode-1.1.0.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

tapcode-1.1.0-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

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