semvec/pypi-packages huggingface dataset:
mpltw 0.1.0
Using matplotlib with tranditional Chinese word more easily.
License: MIT
Keywords: matplotlib,tranditional,Chinese

mpltw is a convience tool for using python's matplotlib module with tranditional Chinese word.

It simply do three things:
1. help you with downloading the Taipei Sans TC Beta (Regular) font in this module.
2. setup matplotlib to use this font as default.
3. add pyplot just for convience.

## How to install
You can use pip:

    pip install mpltw

Or from gitlab for master branch:
    
    pip install git+https://gitlab.com/scku208/matplotlib-taiwan-font

## How to use
    import mpltw
And then...

    from matplotlib import pyplot as plt
    plt.plot([1,2,3],[4,5,6], label='不用去記是prop...')
    plt.title('聽說其實台北黑體裡也有日文...您好/こんにちは')
    plt.xlabel('還是fontdict...')
    plt.text(1, 5,'text:亦或是fontproperties…')
    plt.annotate(r'annotation:通通都不用管了  \0皿0/耶～', xy=(2.5,5), xytext=(1.8,4.25),arrowprops=dict(facecolor='black', shrink=0.05))
    plt.legend() #這也是prop
    plt.show()
    
Or simply...

    from mpltw import plt 
    # using plt to do plotting things...
    
![demo plot](https://gitlab.com/scku208/matplotlib-taiwan-font/-/raw/master/demo.png)
vigenere 1.1.0
Encrypt strings using Vigenere Cipher
License: MIT

# Vigenere Cipher
![](https://img.shields.io/pypi/pyversions/vigenere)
![](https://img.shields.io/pypi/v/vigenere)
![](https://img.shields.io/pypi/dm/vigenere)

The Vigenere cipher is a method of encrypting alphabetic text by using a series of interwoven Caesar ciphers, 
based on the letters of a keyword. It employs a form of polyalphabetic substitution.

## Installation
This library uses python3 which can be download from [here](https://www.python.org/). After installing python, use pip to install the package.
```
$ pip install vigenere
```
No external dependencies required in this version.

## Quick Start
Open the python shell and begin encrypting and decrypting texts with only 4 lines of commands.
```python
>>> from vigenere import encrypt, decrypt, random_key
>>> cipher_key:str = random_key() # one can even use user-defined key such as `qwerty`
>>> cipher = encrypt('hello world', cipher_key) # with random_key function, cipher may vary everytime you run a program.
>>> decrypt(cipher, cipher_key)
'hello world'
```

It is noteworthy that the output of the encrypt function is encoded to base64. This can be changed by setting the default argument `base64` to False.

```python
encrypt(..agrs, base64=True) # returns base64 string
encrypt(..args, base64=False) # returns string of unicode chrs
```

Read the documention of the library
```
$ python
Python 3.9.0
Type "help", "copyright", "credits" or "license" for more information.
>>> import vigenere
>>> help(vigenere)
```

## Security
The Vigenere Cipher is not a safe encryption algorithm and has multiple vulnerabilities.

One should not use this library for any official purpose, for its implementation is educational only. If you are downloading this package, it is expected that you have read the documentation and you truly understand the consequences.

I shall not be held responsible if you use this for encrypting confidential documents or messages.

## License
[MIT License](https://raw.githubusercontent.com/GuptaAyush19/Vigenere-Cipher/master/LICENSE)