semvec/pypi-packages huggingface dataset:
find-word 1.2
search by word
Requires Python: >=3.9

# Find enige 1.2

### Table of Contents

1. [Installation](#installation)
2. [How to use](#htu)

## Installation <a name="installation"></a>
pip install find_word <br/>

## How to use <a name="htu"></a>
1. Add to your code:
```python 
from find_word import search_word
```  
<br/>

2. To start using all the features of the library you need to enter 2 commands:
```python 
a = search_word()
a.search('disk','format','word')
```  
<br/>
Where the:<br/>

```disk``` parameter is entered as the disk name ```('D', 'C', ...)```<br/>
```format```parameter is entered as the format in which the file is written:<br/>

```'txt'``` - text format<br/> 
```'doc'``` - word document format<br/> 
```'exl'``` - table file format exel<br/>
```'pdf'``` - Portable Document Format<br/>
```'all'``` - if you want to search in all formats at once<br/>
parameter ```word```:<br/>
```'word'``` - the search word<br/>

3. If you want to get a list of paths with all the files found, then use the construction:<br/>
```python 
a = search_word()
a.search('D', 'all','hello')
a.list()
```  
<br/>

4. If you want to open the found files use the construction:<br/>

```python 
a = search_word()
a.search('D', 'all','hello')
a.opening()
```  
By default, you can choose whether to open the file or not, but you can add any parameter and all files will open at once (example: ```a.opening('x')```
<br/>

5. If you want to copy the file, then you just need to enter the command:<br/>

```python 
a = search_word()
a.search('D', 'all','hello')
a.copying('Disk:\\path')
```  


## Example <a name="installation"></a>

```python
from find_word import search_word

a = search_word()
a.search('D', 'txt','word')
a.copying('E:\\d')
a.opening()
a.list() 
```
find-enigef 1.1
search by word
Requires Python: >=3.6

# Find enige 1.1

### Table of Contents

1. [Installation](#installation)
2. [How to use](#htu)

## Installation <a name="installation"></a>
pip install find_enigef <br/>

## How to use <a name="htu"></a>
1. Add to your code:
```python 
from find_enige import search_word
```  
<br/>

2. To start using all the features of the library you need to enter 2 commands:
```python 
a = search_word()
a.search('disk','format','word')
```  
<br/>
Where the:<br/>

```disk``` parameter is entered as the disk name ```('D', 'C', ...)```<br/>
```format```parameter is entered as the format in which the file is written:<br/>

```'txt'``` - text format<br/> 
```'doc'``` - word document format<br/> 
```'exl'``` - table file format exel<br/>
```'pdf'``` - Portable Document Format<br/>
```'all'``` - if you want to search in all formats at once<br/>
parameter ```word```:<br/>
```'word'``` - the search word<br/>

3. If you want to get a list of paths with all the files found, then use the construction:<br/>
```python 
a = search_word()
a.search('D', 'all','hello')
a.list()
```  
<br/>

4. If you want to open the found files use the construction:<br/>

```python 
a = search_word()
a.search('D', 'all','hello')
a.opening()
```  
By default, you can choose whether to open the file or not, but you can add any parameter and all files will open at once (example: ```a.opening('x')```
<br/>

5. If you want to copy the file, then you just need to enter the command:<br/>

```python 
a = search_word()
a.search('D', 'all','hello')
a.copying('Disk:\\path')
```  


## Example <a name="installation"></a>

```python
from find_enigew import search_word

a = search_word()
a.search('D', 'txt','word')
a.copying('E:\\d')
a.opening()
a.list() 
```
find-enigew 1.1
search by word
Requires Python: >=3.6

# Find enige 1.1

### Table of Contents

1. [Installation](#installation)
2. [How to use](#htu)

## Installation <a name="installation"></a>
pip install find_enigew <br/>

## How to use <a name="htu"></a>
1. Add to your code:
```python 
from find_enigew import search_word
```  
<br/>

2. To start using all the features of the library you need to enter 2 commands:
```python 
a = search_word()
a.search('disk','format','word')
```  
<br/>
Where the:<br/>

```disk``` parameter is entered as the disk name ```('D', 'C', ...)```<br/>
```format```parameter is entered as the format in which the file is written:<br/>

```'txt'``` - text format<br/> 
```'doc'``` - word document format<br/> 
```'exl'``` - table file format exel<br/>
```'pdf'``` - Portable Document Format<br/>
```'all'``` - if you want to search in all formats at once<br/>
parameter ```word```:<br/>
```'word'``` - the search word<br/>

3. If you want to get a list of paths with all the files found, then use the construction:<br/>
```python 
a = search_word()
a.search('D', 'all','hello')
a.list()
```  
<br/>

4. If you want to open the found files use the construction:<br/>

```python 
a = search_word()
a.search('D', 'all','hello')
a.opening()
```  
By default, you can choose whether to open the file or not, but you can add any parameter and all files will open at once (example: ```a.opening('x')```
<br/>

5. If you want to copy the file, then you just need to enter the command:<br/>

```python 
a = search_word()
a.search('D', 'all','hello')
a.copying('Disk:\\path')
```  


## Example <a name="installation"></a>

```python
from find_enigew import search_word

a = search_word()
a.search('D', 'txt','word')
a.copying('E:\\d')
a.opening()
a.list() 
```
find-enige 1.1
search by word
Requires Python: >=3.6

# Find enige 1.1

### Table of Contents

1. [Installation](#installation)
2. [How to use](#htu)

## Installation <a name="installation"></a>
pip install find_enige <br/>

## How to use <a name="htu"></a>
1. Add to your code:
```python 
from find_enige import search_word
```  
<br/>

2. To start using all the features of the library you need to enter 2 commands:
```python 
a = search_word()
a.search('disk','format','word')
```  
<br/>
Where the:<br/>

```disk``` parameter is entered as the disk name ```('D', 'C', ...)```<br/>
```format```parameter is entered as the format in which the file is written:<br/>

```'txt'``` - text format<br/> 
```'doc'``` - word document format<br/> 
```'exl'``` - table file format exel<br/>
```'pdf'``` - Portable Document Format<br/>
```'all'``` - if you want to search in all formats at once<br/>
parameter ```word```:<br/>
```'word'``` - the search word<br/>

3. If you want to get a list of paths with all the files found, then use the construction:<br/>
```python 
a = search_word()
a.search('D', 'all','hello')
a.list()
```  
<br/>

4. If you want to open the found files use the construction:<br/>

```python 
a = search_word()
a.search('D', 'all','hello')
a.opening()
```  
By default, you can choose whether to open the file or not, but you can add any parameter and all files will open at once (example: ```a.opening('x')```
<br/>

5. If you want to copy the file, then you just need to enter the command:<br/>

```python 
a = search_word()
a.search('D', 'all','hello')
a.copying('Disk:\\path')
```  


## Example <a name="installation"></a>

```python
a = search_word()
a.search('D', 'txt','word')
a.copying('E:\\d')
a.opening()
a.list() 
```
password-mixin 0.1.3
Mixin that adds useful password methods to your Python objects

[![Upload Python Package](https://github.com/joegasewicz/password-mixin/actions/workflows/python-publish.yml/badge.svg)](https://github.com/joegasewicz/password-mixin/actions/workflows/python-publish.yml)
[![Python package](https://github.com/joegasewicz/password-mixin/actions/workflows/python-package.yml/badge.svg)](https://github.com/joegasewicz/password-mixin/actions/workflows/python-package.yml)

# Password Mixin
Mixin that adds some useful methods to ORM objects

Compatible with Python `3.5 >= 3.9`

# Install
```bash
pip install password-mixin
```

## Setup
first create your objects (or ORM model) and add a `__hash_secret__` meta field.
Assign your application's secret value to `__hash_secret__`.

```python

from password_mixin import PasswordMixin
from sqlalchemy import Model # or Django , Flask-Sqlalchemy... etc.

class UserModel(OrmModel, PasswordMixin):
    
    password = Column(String()) # you must have a `password`.
    
    
    # Now create a meta field to define the secret used to create the salt, for example:
    __hash_secret__ = "your-app-secret"
        
```

## Usage
The password is saved as the following: `"<hash_name>:<hash>"`

### Password Hashing
```python
from password_mixin import PasswordAttributeError
try:
    user = UserModel()
    user.password = "wizard123"
    user.hash_password() # password is now `sha256:7ac5cf88e8c9d262b49af168d9c30e47f2945cc9c207f20af0a39f09aa04595e`
    # Now you can save your user to your db etc.
except PasswordAttributeError:
    # handle no password attribute
    

```

### Validating Passwords
```python
from password_mixin import PasswordMatchError

try:
    user.check_password("wizard111")
except PasswordMatchError:
     # handle passwords don't match
```

### Example with Flask & Flask-Sqlalchemy
```python
class UserModel(db.Model, PasswordMixin):

    __tablename__ = "users"
    __hash_secret__ = "wizard123"

    id = db.Column(db.Integer, primary_key=True)
    email = db.Column(db.String(100), nullable=False)
    password = db.Column(db.String(100), nullable=False)

    def create_user(self):
        self.hash_password()
        db.session.add(self)
```
Now, with the above setup you can run the following

```python
u = UserModel(email="test1@test.com", password="wizard123")
u.create_user()
db.session.commit()
```