semvec/pypi-packages huggingface dataset:
django-brutebuster2 0.2.0
Django Bruteforce Buster

Description
===========
BruteBuster is a simple, pluggable Django app that can help you protect against password bruteforcing attempts.

The module overrides the default authenticate() function from django.contrib.auth, so it provides automated protection both for your custom login pages and for the admin login page.

Each block is applied against a unique username/IP address combination. In this way, bruteforcing attempts coming from a different IP address would not prevent the original user from logging in.

Installation
------------
1. Install the BruteBuster module to your Python path
```
#pip install django-brutebuster2
```
To verify that the Python module is available, you can run the Django shell and check the value of BruteBuster.version:
```
$python manage.py shell
(InteractiveConsole)
>>> import BruteBuster
>>> print(BruteBuster.version)
0.2.0
```
If you don't see any errors, then congrats! The hard part is over.

2. Add BruteBuster to your INSTALLED_APPS list in settings.py
3. Add BruteBuster.middleware.RequestMiddleware to your MIDDLEWARE_CLASSES in settings.py
4. Run python manage.py migrate --run-syncdb to add the BruteBuster table to your database
5. That's it! Don't forget to restart your server, if needed.

Operation
---------
If everything is working properly, you should see a Failed attempts table in the Django admin interface. Whenever a failed login is detected, the Failures counter for the respective Username/IP address combo is incremented. If the counter goes over a certain threshold (called BB_MAX_FAILURES), login attempts for this User and IP are blocked until BB_BLOCK_INTERVAL (minutes) passes without a failed login.

The default BB_MAX_FAILURES value is 5, and the default BB_BLOCK_INTERVAL is 3 (minutes). Both values can be overridden in settings.py.

Display
-------
All active blocks will have a 'Blocked' column set to True in the Failed Attempts table in the Django admin.

Block removal
-------------
The easiest way to remove a block is to delete the corresponding line from the Failed Attempts table. It is completely safe to remove data from this table (the worst that could happen is to remove some existing block)

Future
------
Found some bug? Got a suggestion? Need a feature that's not present yet? In any case we would love to hear back from you. You can use the contact form, or simply throw us an email at office () mtr-design.com.
Validation-Coding 0.1.4
Validating things that can be validated since 2018
Keywords: Validation,Homework,Verification

# Validation-Coding
[![PyPI version](https://badge.fury.io/py/Validation-Coding.svg)](https://badge.fury.io/py/Validation-Coding) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/Validation-Coding.svg) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

__Validating things that can be validated since 2018__

## Installation
```shell
pip install Validation-Coding
```

## License
This project is licensed under the [GNU General Public License v3.0](https://github.com/harens/Validation-Coding/blob/master/LICENSE)
pycrontab 0.1.2
simple crontab implemented on thread executor pool
Keywords: math

# PyCronTab

```
pip3 install pycrontab
```

```
$ pycrontab -h
usage: pycrontab [-h] [-c CONFIG] [-l {INFO,DEBUG,WARNING}]

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIG, --config CONFIG
                        config file path
  -l {INFO,DEBUG,WARNING}, --log-level {INFO,DEBUG,WARNING}
                        logging level
```
pythum 0.1.1
Simple minimalist quantum computing simalation for python
Keywords: quantum,python,pythum,computing,simulator,simulation

# pythum

Simple minimalist quantum computing simalation for python

```python
import pythum
```

## Usage

### Qubit

Class for qubit manipulation and instanciation by notation

```python
from pythum import Qubit

qubit = Qubit()
```

> |0>

#### Public Methods

##### Qubit.from_notation(cls, value: str) -> 'Qubit'

Instanciate a qubit by the formal notation.

The following are possible values:

* "|0>": 0
* "|1>": 1
* "|10>", "|01>": super position

```python
from pythum import Qubit

qubit1 = Qubit.from_notation("|0>")  # 0
qubit2 = Qubit.from_notation("|1>")  # 1
qubit3 = Qubit.from_notation("|10>")  # Super position
```

> |0>
> |1>
> |01>

##### Qubit.from_qubit(cls, qubit: 'Qubit') -> 'Qubit'

Instanciate a copy of another qubit.

```python
from pythum import Qubit

qubit1 = Qubit.from_notation("|1>")  # 1
qubit2 = Qubit.from_qubit(qubit1)  # 1
```

> |1>
> |1>

##### up(self) -> 'self'

Points up the eletron.

The outcome of any measure will always be 1

```python
from pythum import Qubit

qubit = Qubit()  # 0
qubit.up()       # 1
```

> |1>

##### down(self) -> 'self'

Points down the eletron.

The outcome of any measure will always be 0

```python
from pythum import Qubit

qubit = Qubit()  # 0
qubit.up()       # 1
```

> |0>

##### left(self) -> 'self'

Points the eletronto the left.

The outcome of a measure may be 0 or 1

```python
from pythum import Qubit

qubit = Qubit().left()  # Super position
```

> |01>

##### right(self) -> 'self'

Points the eletronto the right.

The outcome of a measure may be 0 or 1

```python
from pythum import Qubit

qubit = Qubit().left()  # Super position
```

> |01>

#### Properties

##### alpha

Alpha probability for mesuring 0.

The returned probability is a number between 0 and 1.

```python
from pythum import Qubit

Qubit().alpha
Qubit().up().alpha
Qubit().left().alpha
Qubit().right().alpha
```

> 1
> 0
> 0.5
> 0.5

##### beta

Beta probability for mesuring 1

The returned probability is a number between 0 and 1.

```python
from pythum import Qubit

Qubit().beta
Qubit().up().beta
Qubit().left().beta
Qubit().right().beta
```

> 0
> 1
> 0.5
> 0.5

### Qublock

#### Public methods

##### __init__(self, value: Union[int, 'Qublock', List[Qubit]])