semvec/pypi-packages huggingface dataset:
pycaesarcipher 1.5
Python library to encipher & decipher a string using one of the simplest Substitution ciphers - 'Caesar's Cipher'
License: MIT
Requires Python: >=3.1
Keywords: SIMPLE,ELEGANT,YET CRYPTIC

# CaesarCipher
Python library to encipher &amp; decipher a string using one of the simplest Substitution ciphers - "Caesar's Cipher"

In cryptography, a Caesar cipher, also known as Caesar's cipher, the shift cipher, Caesar's code or Caesar shift, is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter in the plaintext is replaced by a letter some fixed number of positions down the alphabet. For example, with a left shift of 3, D would be replaced by A, E would become B, and so on. The method is named after Julius Caesar, who used it in his private correspondence

This library contains an Encipher method and a Decipher method to encipher & decipher a string, respectively, using a shiftkey.


<b>INSTALLATION</b>:<br> 
python -m pip install pycaesarcipher==1.3 (or) python -m pip install pycaesarcipher==1.4

<b>ALGORITHM :</b> <br>
Import the module<br>
Create an instance of the class<br>
call the function "encipher" or "decipher" as an object along with the instance of the class<br>

<b>USAGE :</b> <br>
```
import pycaesarcipher
variable_name = pycaesarcipher.pycaesarcipher() <br>
new_variable = variable_name.caesar_encipher("string",shiftkey) <br>
another_variable = variable_name.caesar_decipher(new_variable,shiftkey) <br>
print(new_variable) <br>
```


<b>EXAMPLE PROGRAM:</b><br>
```
import pycaesarcipher
word = pycaesarcipher.pycaesarcipher()
new = word.caesar_encipher("i love python",12)
word2 = word.caesar_decipher("u xahq bkftaz",12)
print(new," is the enciphered text.\n")
print(word2," is the deciphered text.")
```
pyflames 1.4
Python library to compare two strings and return their relationship status as per Asia's famous FLAMES Game
License: MIT
Requires Python: >=3.1
Keywords: INTERESTING

# pyflames
Python library to check two names and return their relationship status as per "FLAMES"

<h1><a href="/">Flames</a></h1>
      
<h2>How it works?<h2>
    <h3>What is FlamesGame?</h3>
    <br>
      FlamesGame is a relationship calculating algorithm famous between the youngsters. At the time of graduation everyone might heard about this and many of them tried out this secretly. Some took this as very serious also. So what FLAMES stance for?
      <br/>
      F - Friendship
      <br/>
      L - Love
      <br/>
      A - Affection
      <br/>
      M - Marriage
      <br/>
      E - Enemy
      <br/>
      S - Sister (Sibling)
    </p>
    <h3>How we can calculate the FLAMES?</h3>
    <p>
      It is very easy to explain with some example:
      <br/>
      Your name: <b>asd</b>
      <br/>
      Partner name: <b>abcd</b>
      <br/><br/>
      Mainly two steps are there:
    </p>
    <ol>
      <li>Get the flames count
        <ul>
          <li>Take the two names ('asd' and 'abcd')</li>
          <li>Remove the common characters (two common characters 'a', 'd') </li>
          <li>Get the count of the characters that are left (Removed a,d and the rest are s,b,c. So total 3.)</li>
        </ul>
      </li>
      <li>Get the flames result
        <ul>
          <li>We take FLAMES letters ('F', 'L', 'A', 'M', 'E', 'S')</li>
          <li>And start removing letters using the flames count we got.</li>
          <li>And the letter which last the process is the result.</li>
        </ul>
      </li>
    </ol>
    <p>
      In our example we got <b>flames count = 3</b>. So first we takes FLAMES.
      <br/>
      <b>FLAMES</b>
      <br/>
      Then we start count from left up to flames count 3. Then remove the letter which is in the position 3. In this case it is 'A'. So the letters become:
      <br/>
      <b>FLMES</b>
      <br/>
      Then we start count again from the letter which is removed ie, from 'M'. So the next character to remove is 'S'. So our letters become:
      <br/>
      <b>FLME</b>
      <br/>
      After next step:
      <br/>
      <b>FLE</b>
      <br/>
      Then:
      <br/>
      <b>FE</b>
      <br/>
      Last:
      <br/>
      <b>F</b>
      <br/>
      So the result is '<b>Friend</b>'.              
    </p>
  
  <br><h3> So it's as simple as that! </h3>
  
  <br><b>USAGE:</b><br>
  From packagename import package name <br>
  Create an instance of the class <br>
  Create variable and call the flames method referencing the instance that we created <br>
  
  <br><b>SYNTAX:</b><br>
  ```
  import pyflames
  variable_name = pyflames.pyflames()
  another_variable = variable_name.flames("name1","name2")
  print(another_variable)
  ```
  
  <br><b>EXAMPLE CODE:</b><br>
  
```
import pyflames
word = pyflames.pyflames()
status = word.flames("John Wick","Jennifer Aniston")
print(status)
```