Git Product home page Git Product logo

classical_cipher's Introduction

classical_cipher

Build Status

A Python package and command line script for encoding, decoding with classical cipher such as Caesar Cipher, Vigenere Cipher, Affine Cipher, Playfair, etc

Features

  • Encoding
  • Decoding
  • Command line interface
  • Test suite
  • Only python2 supported

Installation

The latest version can be downloaded via github.

git clone --depth 1 https://github.com/lzutao/classical_cipher
cd classical_cipher

To install to your local home folder:

python setup.py install --user

Or you want to install system wide:

python setup.py install

Else want to install in development mode, you may use --user flag to only install in your home

python setup.py.py develop

Usage

If you get some error such as ValueError: Attempted relative import in non-package. You should try to run it as module instead of a single python file:

cd /path/to/classical_cipher
python -m classical_cipher/vigenere/vigenere

Note that you should use classical_cipher/vigenere/vigenere instead of classical_cipher/vigenere/vigenere.py

Replace vigenere with other tools if needed.

Testing

Use the following command to test:

python setup.py test

Meta

  • Written by @lzutao
  • Released under MIT License
  • Software is as is - no warranty expressed or implied.

classical_cipher's People

Contributors

tesuji avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.