semvec/pypi-packages huggingface dataset:
pylookfor 0.0.1
A lightweight module searching methods in the current python environment by keywords
Requires Python: >=3.6

# pylookfor
A lightweight module searching methods in the current python environment by keywords.

## Method - pylookfor.lookfor
**pylookfor.lookfor**(key: str, num_print=0, modules=[])

Searching methods in the current python environment by keywords.

Print modules, methods and the first line of their documents if any of them contain the keywords.

**Parameters**
* **key: str**
    The keywords.
* **num_print: int, optional**
    The number of the methods that printed.
    Default: 0 means no limit.
* **modules: list, optional**
    Search methods in these modules.
    Default: [] means search all the modules.

## Example
### Example1
Like 'lookfor' in Matlab, it can print modules, methods and the first line of their documents if any of them contain the keywords.
```python
import pylookfor as lf
lf.lookfor('sort',num_print=5)
```
Output:
```
--------------------Modules----------------------
isort - Defines the public isort interface
isort._future - No Documentation Found.
isort.deprecated - No Documentation Found.
isort.stdlibs - No Documentation Found.
networkx.algorithms.assortativity - No Documentation Found.
networkx.algorithms.assortativity.tests - No Documentation Found.
sortedcollections - Python Sorted Collections
sortedcontainers - Sorted Containers -- Sorted List, Sorted Dict, Sorted Set
--------------------Methods----------------------
builtins.sorted - Return a new list containing all items from the iterable in ascending order.
anaconda_navigator.utils.sort_versions - Sort a list of version number strings.
cytoolz.sorted - Return a new list containing all items from the iterable in ascending order.
isort.check_file - Checks any imports within the provided file, returning `False` if any unsorted or
isort.check_stream - Checks any imports within the provided code stream, returning `False` if any unsorted or
``` 
### Example2
It can search methods in specify modules.
```python
import pylookfor as lf
lf.lookfor('sort',modules=['scipy‘,’numpy'],num_print=10)
``` 
Output:
```
--------------------Methods----------------------
scipy.argsort - scipy.argsort is deprecated and will be removed in SciPy 2.0.0, use numpy.argsort instead
scipy.lexsort - scipy.lexsort is deprecated and will be removed in SciPy 2.0.0, use numpy.lexsort instead
scipy.msort - scipy.msort is deprecated and will be removed in SciPy 2.0.0, use numpy.msort instead
scipy.searchsorted - scipy.searchsorted is deprecated and will be removed in SciPy 2.0.0, use numpy.searchsorted instead
scipy.sort - scipy.sort is deprecated and will be removed in SciPy 2.0.0, use numpy.sort instead
scipy.sort_complex - scipy.sort_complex is deprecated and will be removed in SciPy 2.0.0, use numpy.sort_complex instead
numpy.argsort - Returns the indices that would sort an array.
numpy.lexsort - lexsort(keys, axis=-1)
numpy.msort - Return a copy of an array sorted along the first axis.
numpy.searchsorted - Find indices where elements should be inserted to maintain order.
```
elegant-structure 0.0.1
An elegant structure package
Requires Python: >=3.6

# Introduction

The elegant-structure module contains data structures to make code more elegant.

# Install
```python
pip install elegant-structure
```
or update
```python
pip install --upgrade elegant-structure
```

# Usage
```python
from elegant_structure import Pool

class Test:
    def __init__(self, x, y):
        self.x = x
        self.y = y

test_pool = Pool(Test, verbose=True)
x = test_pool.add(1, 2)
y = test_pool.add(3, 4)

test_pool.remove(x)
test1 = test_pool[x]
if test1:
    print(test1.x, test1.y)
test2 = test_pool[y]
if test2:
    print(test2.x, test2.y)
```
```shell
the item is not exist in pool.
3 4
```

# License

elegant-io is a free software. See the file LICENSE for the full text.

# Authors

![qrcode_for_wechat_official_account](https://wx3.sinaimg.cn/mw1024/bdb7558bly1gjo23b3jrmj207607674r.jpg)
javaccflab 0.1.12
JavaCCF is utility to fix style in Java files

# Metaprogramming. Java style and documentation fixer

# Requirements

Python: 3.4

# Install PyPI package

```
pip install javaccflab
```

# Help


usage: javaccflab [-h] [-p P] [-d D] [-f F] [-v] [-c]

JavaCCF is utility to fix style and documentation comments in Java files

optional arguments:
  -h, --help     show this help message and exit
  -p P           Path to Java project directory to verify or correct mistakes.
  -d D           Path to directory with Java files to verify or correct
                 mistakes.
  -f F           Path to Java file to verify or correct mistakes.
  -v, --verify   Verify code style and documentation comments
  -c, --correct  Correct styling mistakes in code and documentation comments
  
# Examples

```
python java_ccf.py -f 'C:\Users\Vlad\Java\MyClass.java' --verify
```

```
python java_ccf.py -p 'C:\Users\Vlad\Projects\MyProject' --correct
```

Using installed PyPI package:

```
javaccflab -f 'C:\Users\Vlad\Java\MyClass.java' --correct
```