semvec/pypi-packages huggingface dataset:
smart-search 0.0.5
A search algorithm for efficient searching in PDFs
Requires Python: >=3.6

# Concept-Search

[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/ItsSiddharth/context_search/blob/master/LICENSE)   [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) 

## For source code 
This the my <a href="https://github.com/ItsSiddharth/context_search">Github repo. </a>
Contact me for support and PRs are welcome.

## Usage 
1. Pip install the package.
```
$ pip3 install smart-search
```
* **NOTE** : Please have the pickle file in the same folder as the python script in which you will use our pip package.

> Here i use the <a href="http://nlp.stanford.edu/data/wordvecs/glove.6B.zip">glove.6B.zip</a> file from Standfords Github repository from the hyperlink.

## Syntax 
1. Import the library.
```
>> import smart_search
```
2. Create an object of the class, smart_search.model(). Say, `functioncaller`.
```
>> functioncaller = smart_search.model()
```
3. Now to convert a pdf to a list of lists containing page.no and words after stop word removal, we use the built in function `getting_list_of_words()`. This accepts 1 argument, i.e the path to the pdf and returns the required list to be fed to the model.
```
>> pdf_list = functioncaller.getting_list_of_words('path to your pdf')
```
4. Pass this list to the model along with the word you want to get the search result of using the `perform_skip()` function. This accepts 2 variables, i.e the list produced by the previous function and the word you want to search for and retuns the top 5 relevant search locations of the word you searched for.
```
>> location[0:5] = perform_skip(pdf_list, input_word)
```
5. You can use subprocesses library of python to navigate to the page if you want to.

## LICENSE
<a href="https://github.com/ItsSiddharth/context_search/blob/master/LICENSE">MIT</a>
midiknobs 0.0.3
A small pyqt5 gui to use midi knobs for change linux master audio
Requires Python: >=3.5

# midi_kbobs

This project is a gui able to set a midi knobs as controller of Linux master audio.

# User Doc

* run:

```bash
midiknobs_gui
```

![Gui image](https://raw.githubusercontent.com/nicolalandro/midi_kbobs/master/imgs/gui.png)

* Select the Midi device
* Set the correct value of "Channel" and "Control"
* Click "Connect"
* Move your midi knob
* Click "Disconnect"

# Dev Doc

```bash
# use python>=3.5
python setup.py install
midiknobs_gui
```
splitfile 2.0.2
File like object that splits data across volumes

# splitfile

Python file-like object that facilitates reading and writing of binary data split across multiple volumes (files) of a specified size.  Supports random access IO.

Can be used with modules such as tarfile, zipfile, lzma, etc. enabling read/write of split archives.

Note: Version 2.0 removes previously integrated encryption and compression options.  The
breadth of choice across both suggests they are better handled as a separate layer,
leaving splitfile to simply manage the final IO across volumes.

### Examples
```
import splitfile

with splitfile.open('data.bin', 'wb') as f:
    f.write(b'Hello, World!')
```
```
import splitfile
import tarfile

with splitfile.open('data.bin', 'wb', volume_size=1000000) as f:
    with tarfile.open(mode='w', fileobj=f) as t:
        for file in files:
            t.add(file)

Result:
data.bin
data.bin.2
data.bin.3
...
```
### Documentation

splitfile.**open**(*filename, mode, volume_size=0, append_to_partial=True*)

Returns a SplitFile object.

 - *filename* contains a valid file path.  Volumes add a suffix (.2, .3, etc.).
 - Supported *mode* values are `wb, wb+, ab, ab+, rb, rb+`.
 - *volume_size* specifies the max size of a volume in bytes.
 - *append_to_partial* set to True appends data written to the end of a previously created file by adding to the last volume if its size is less than *volume_size*.  If False, a new volume is always created for writing beyond the end of an existing file.

### Dependencies

None

### Installation

pip install splitfile