semvec/pypi-packages huggingface dataset:
name-sanitizer 1.0.3
Python script for sanitize files and directories names
License: MIT
Requires Python: >=3.0
Keywords: name,sanitizer,directories,files


# Name Sanitizer

### _Motivation_

This package arises from the need to clean file and directory names to be able to include them in our different projects. Sometimes these files are usually many and are at different levels of depth, for example, google sources.
At other times we want to have an image repository but the names are very varied and / or contain special characters not supported for imports in some languages ... this package will help you with that.

Let's not forget the good android studio, surely you are already tired of manually renaming the files.

### Install
```` pip install name-sanitizer ````

### Simple usage
````python -m ns````

The package will work in the current path where the console is open. Remember that in Linux you can open the terminal contextually and in Windows, you can click on the breadcrumb in the folder, type cmd, press enter and the console will open in that path.

### Options

````--a```` => Replace the file or directory name with an anonymous one.

````--r```` => Run the sanitizer recursively from the current directory.

````--only_dir```` => Run the sanitizer for directories only

````--only_file```` => Run the sanitizer for files only

````--extensions```` => Defines the specific extensions where the sanitizer will act. (By default it includes directories)


### Options usage
All the parameters except the extensions work as a flag, if you set it, it will work.

###### Example:

````python -m ns --r --a````

This will run the sanitizer recursively anonymizing files for child directories

##### Extensions: 

You can define that the sanitizer only works on files with a certain extension. To do this, you must specify the extensions including the period, if there is more than one you must add them with a comma and without spaces.

###### Example:

````python -m ns --extension=.ttf,.mp3 --r --only_file````

This will run the sanitizer recursively only for files with the extension .ttf and .mp3 without renaming the directories.
logexdec 0.1.0
Decorator for logging exceptions in functions and methods.
License: MIT
Requires Python: >=3.7
Keywords: decorator function method logging logger exception

# logexdec

[![PyPI](https://img.shields.io/pypi/v/logexdec)](https://pypi.org/project/logexdec) [![Total alerts](https://img.shields.io/lgtm/alerts/g/EvgeniyBurdin/logexdec.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/EvgeniyBurdin/logexdec/alerts/) [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/EvgeniyBurdin/logexdec.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/EvgeniyBurdin/logexdec/context:python)

Decorator for logging exceptions in functions and methods

## Installation

```bash
pip install logexdec
```
masz 1.2.3
API Wrapper for MASZ (A discord moderation bot)
License: MIT
Keywords: MASZ,API,DISCORD,WRAPPER,JSON,REST,MODERATION,TOKEN,PYTHON

<h1>👮‍♂️ MASZ API Wrapper</h1>
<p>
<img src="https://img.shields.io/pypi/pyversions/masz" />
<img src="https://img.shields.io/pypi/v/masz" />
<a href="https://github.com/zaanposni/masz-api-wrapper/blob/dev/LICENSE"><img src="https://img.shields.io/github/license/zaanposni/masz-api-wrapper.svg"/></a>
</p>

⭐ **Fully object-oriented library** to integrate the <a href="https://github.com/zaanposni/discord-masz" target="_blank">**MASZ API**</a> into your project.

## 🚀 Installation

**Python 3.6 or higher required**
```
pip install masz
```

## 👀Examples

Checkout the example script `demo.py`.

![demo.gif](demo.gif)

## Support

If you have any questions feel free to contact me.
- [Mail](mailto:masz@zaanposni.com)
- Discord: `zaanposni#9295`
- Discord MASZ guild: https://discord.gg/5zjpzw6h3S

## 🤝 Contributors <img src="https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat"/>

<a href="https://github.com/zaanposni"><img src="https://avatars3.githubusercontent.com/u/24491035?s=460&v=4"
                                            height=90px, width=90px style="border-radius: 50%" /></a>

## License:

This project is licensed under MIT.