Metadata-Version: 2.1
Name: torch-snippets
Version: 0.400
Summary: One line functions for common tasks
Home-page: https://github.com/sizhky/torch_snippets/tree/master/
Author: Yeshwanth Reddy
Author-email: 1992chinna@gmail.com
License: Apache Software License 2.0
Keywords: snippets,torch
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# Utilities for simple needs



## Auxiliary Functions
There are simple functions that are overloaded to take inputs and perform repetitive tasks that usually take a few lines to write

#### Images
`show`, `inspect`, `Glob`, `read`, `resize`, `rotate`

#### Files and Paths
`stem`, `Glob`, `parent`, `name`, `fname`,


`makedir`, `zip_files`, `unzip_file`,   


`find`, `extn`,  


`readlines`, `writelines`

#### Lists
`L`, `flatten`

#### Dump and load python objects
`loaddill`,`dumpdill`

#### Misc 
`Tqdm`, `Timer`, `randint`, `Logger`

#### Sets
`unique`, `diff`, `choose`, `common`

#### Pytorch Modules
`Reshape` and `Permute` (`nn.Modules`)

#### Report as Pytorch Lightning Callback
`LightningReport`

and many more to come... 

## Install
`pip install torch_snippets`

## Usage
```python
import pytorch_snippets
dir(pytorch_snippets)
```



