semvec/pypi-packages huggingface dataset:
onetimepad 1.4
A hacky implementation of One-time pad
License: MIT

===================
One-Time-Pad Python
===================

**One-Time-Pad Python is a command-line encryption tool**, which uses an
encryption mechanism very similar to `One-time Pad`_ (Duh. Thanks for
telling that)

Installation
------------

Install it using pip::

    $ pip install onetimepad

Usage
-----

To use it from the command-line, run::

    $ onetimepad

Or, import the onetimepad module in your script::

    #!/usr/bin/env python3

    import onetimepad

    cipher = onetimepad.encrypt('some text', 'a_random_key')
    msg = onetimepad.decrypt(cipher, 'a_random_key')

Security
--------

1. The crypted message is very easy to crack if the length of key is
   less than the length of message.
2. In any case, the key is not nescessarily random, which makes this
   tool as good as a toy.
3. Thus, do not encrypt any real private stuff, it won’t protect you
   from the NSA. *It is just a hack*.

Copying
-------

This project is licensed under the terms of MIT LICENSE, please see
LICENSE file for more details.

.. _One-time Pad: https://en.wikipedia.org/wiki/One-time_pad
redditreplier 1.0.1rc1
Create Reddit Bots
License: MIT
Keywords: reddit bots automation praw

redditreplier
=============

A simple Python module that simplifies creating Reddit bots that reply to comments based on criteria you specify.

All you need to do is write a parser method that is passed into the Replier class that will parse a Reddit message that returns whether or not you should reply to said message as well as the text to reply with, and redditreplier will take care of the rest. It will communicate with the Reddit API using praw, continually watching whatever subreddits you specific.

Please checkout the GitHub repository for more info. (https://github.com/naiyt/reddit-replier)
pghero 0.0.4
UNKNOWN
License: MIT

pghero
======

pghero python port

– Work in progress.

Based on:
* [https://github.com/ankane/pghero/blob/master/lib/pghero.rb](https://github.com/ankane/pghero/blob/master/lib/pghero.rb)
* [http://www.craigkerstiens.com/2013/01/10/more-on-postgres-performance/](http://www.craigkerstiens.com/2013/01/10/more-on-postgres-performance/)
* The internetz.

Usage
-----

```python
from core import pghero 
from sqlalchemy import create_engine 

db_path = 'postgres://username@host:port/db' 

db = create_engine(db_path)

pghero = pghero('sqlalchemy', db)
```