semvec/pypi-packages huggingface dataset:
khleepkg03 0.0.1
SSL-Seminar-test repository:: Topic - Package Test and Deployment
License: MIT
Keywords: Test,TDD,Deployment,Seminar

# SSL-Lab-seminar-test

SSL-Seminar-test repository:: Topic - Package Test and Deployment

## Synopsis

```python
from khleepkg03.app import Caculator 

calc = Caculator(isAdd=True,
                 isSub=False,
                 isMul=False,
                 isDiv=False,
                 isRem=False)
sum = calc.adder(1, 2)
print(sum) # sum = 3
```

## Installaion

```bash
$ pip3 install khleepkg03
``` 

Only install module with pip

## Dependancy

- pytest

```bash
$ pip3 install -U pytest
```

## Document Index

1. TDD (Test-Driven Development)
2. From unit-test to module-test
3. Package deployment (using pypi)
sympound 0.6.0
Python implementation of SymSpell Compound
License: MIT
Requires Python: >=3
Keywords: spell check

# sympound-python

This library is an implementation of the [SymSpellCompound](https://github.com/wolfgarbe/SymSpell) algorithm in Python. It was initially forked from [rcourivaud/symspellcompound](https://github.com/rcourivaud/symspellcompound) although most of the code has been rewritten.

# Installation

```
pip install sympound
```

# Documentation

If you want a quick complete example, see [example.py](example.py).

### Creating the sympound object

The first step is to create an `sympound` object, the constructor takes two main arguments:

- `distancefun` is a function that will be used to compute the distance between two strings. It takes two arguments (the two strings to compare). You typically want to use a function computing the [Damerau-Levenshtein distance](https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance), but you can get more creative and use keyboard distances.
- `maxDictionaryEditDistance` is the maximum distance that will be pre-computed. Increasing this parameter will return more suggestions, but also make the memory print much larger

### adding dictionaries

Then some dictionaries can be added through the `load_dictionary(filename)` function, typically taking a file path as argument. The format of the dictionary is typically either a list of words (one per line), or a list of word and frequency (separated by a space). See [example-dict.txt](example-dict.txt) for an example.

You can also add entries directly with `create_dictionary_entry(key, count)` where `key` is the valid string and `count` the frequency associated with it. This is the advised method to use if your data is not in a simple format like the previously described dictionary.

A lot of computations happen at this stage and adding a large number of entries can easily take more than one minute, so we provide two functions to save the analyzed ductionaries as a pickle: `save_pickle(filename)` and `load_pickle(filename)`, both taking a file path as argument. Note that the pickled is gzipped.

### Lookup

Once the dictionaries are loaded, you can get suggestions for a string by calling `lookup_compound(str, edit_distance_max)`, where `str` is the string you want to analyze and `edit_distance_max` is the maximum distance you want suggestions for.

The function returns a sorted list of `SuggestItem`s, containing three fields:

- `term` being the suggested fixed string
- `distance` being the distance with the original string
- `count` being the frequency if given in the dictionary

# Maintainance

Upload on pip:

```
python setup.py sdist
twine upload dist/*
```

# Copyright

The code is Copyright Esukhia, 2018, and is distributed under the [MIT License](LICENSE).
khleepkg02 0.0.1
SSL-Seminar-test repository:: Topic - Package Test and Deployment
License: MIT
Keywords: Test,TDD,Deployment,Seminar

# SSL-Lab-seminar-test

SSL-Seminar-test repository:: Topic - Package Test and Deployment

## Synopsis

```python
from ssllabtest import Caculator 

calc = Caculator(isAdd=True,
                 isSub=False,
                 isMul=False,
                 isDiv=False,
                 isRem=False)
sum = calc.adder(1, 2)
print(sum) # sum = 3
```

## Installaion

```bash
$ pip3 install ssllabtest
``` 

Only install module with pip

## Dependancy

- pytest

```bash
$ pip3 install -U pytest
```

## Document Index

1. TDD (Test-Driven Development)
2. From unit-test to module-test
3. Package deployment (using pypi)
khleepkg01 0.0.1
SSL-Seminar-test repository:: Topic - Package Test and Deployment
License: MIT
Keywords: Test

# SSL-Lab-seminar-test

SSL-Seminar-test repository:: Topic - Package Test and Deployment

## Synopsis

```python
from ssllabtest import Caculator 

calc = Caculator(isAdd=True,
                 isSub=False,
                 isMul=False,
                 isDiv=False,
                 isRem=False)
sum = calc.adder(1, 2)
print(sum) # sum = 3
```

## Installaion

```bash
$ pip3 install ssllabtest
``` 

Only install module with pip

## Dependancy

- pytest

```bash
$ pip3 install -U pytest
```

## Document Index

1. TDD (Test-Driven Development)
2. From unit-test to module-test
3. Package deployment (using pypi)
argstat 0.1.0
Beutiful printer for arguments
License: MIT
Keywords: pretty argparse argstat

# argstat
Beautiful printer for arguments (argparse) inspired by youngnam

## Install
```
$ pip install argstat
```

## Example 1
```
>>> from argstat import Argstat # ①
>>> import argparse
>>>
>>> parser = argparse.ArgumentParser()
>>> input_args = parser.add_argument_group('Input args')
>>> input_args.add_argument('--train_target', type=str,
>>>                         default='C', choices=['C', 'C+E'])
>>> input_args.add_argument('--test_target', type=str,
>>>                         default='C', choices=['C', 'C+E'])
>>> input_args.add_argument('--rec_size', type=int, default=111)
>>> input_args.add_argument('--input_size', type=int, default=222)
>>> input_args.add_argument('--num_vital', type=int, default=333)
>>> input_args.add_argument('--cut_window', type=int, default=444)
>>> input_args.add_argument('--skip_prob', type=float, default=555)
>>> input_args.add_argument('--skip_mask', type=int, default=666)
>>> input_args.add_argument('--target_vital', type=int, default=777)
>>>
>>> train_args = parser.add_argument_group('Train args')
>>> train_args.add_argument('--num_epochs', type=int, default=888)
>>> train_args.add_argument('--batch_size', type=int, default=999)
>>> train_args.add_argument('--lr', type=float, default=0.1234)
>>>
>>> base_args = parser.add_argument_group('Base args')
>>> base_args.add_argument('--save_path', type=str, default='test long path')
>>> base_args.add_argument('--weight_path', type=str)
>>> base_args.add_argument('--gpu', type=str, default='1234')
>>> base_args.add_argument('--device', type=str)
>>> base_args.add_argument('--mode', type=str, default='base',
>>>                        choices=['base', 'single']) # ②
>>>
>>> argstat = Argstat(parser)
>>> print (argstat)
```

<img width="250" alt="screenshot" src="https://user-images.githubusercontent.com/3329885/45678036-8eb8b100-bb70-11e8-8205-94c7dcd604a1.png">


## Example 2
```
>>> ① ~ ②
>>> argstat = Argstat(parser, False)
>>> print (argstat)
```

## Example 3
```
>>> ① ~ ②
>>> from six.moves import cStringIO as StringIO
>>> argstat = Argstat(parser)
>>> print (argstat.print_to(StringIO(), False).getvalue())
```

## Example 4
```
>>> ① ~ ②
>>> argstat = Argstat(parser)
>>> print (argstat.jsonify())
```

## Example 5
```
>>> ① ~ ②
>>> argstat = Argstat(parser)
>>> with open("path","w") as fp:
>>>     argstat.print_to(fp, False)
```