semvec/pypi-packages huggingface dataset:
micropython-genpy 0.0.6
A package done in order to generate ros message classes.

# uPy-genpy

This is a little similar implementation of `genpy` for uPy. In order to use rosserial with it, having messages classes. For that and automation purposes, this package has been done so that this classes can be done easily. This has been done to be used with [uPy rosserial](https://github.com/FunPythonEC/uPy-rosserial).

## Features

- [x] uPy files gen with publish availability
- [x] uPy files gen with subscribe availability
- [ ] Services

## Installation

### Copying source files
In order to use this package the folder `ugenpy` from `src` must be copied to the flash memory. I strongly recommend using [rshell](https://github.com/dhylands/rshell) for this task. 

There is also a folder called `std_msgs` which has all default `*.msg` files, this folder can also be copied or any other folder with the wanted message types. For memory purposes not all the `msg` files in that folder must be copied, only the ones that are going to be used.

### Using upip
You can also install `ugenpy` with upip but have in mind the `.msg` files must be copied, located in the corresponding dir:
``` python
import upip
import network
from time import sleep
wlan=network.WLAN(network.STA_IF)
wlan.active(True)
wlan.connect('<ssid>', '<password>')
sleep(5)
upip.install('micropython-genpy')
```
>Note: To use upip you must be connected to WiFi and the files with std_msgs dir must be included manually.

## Usage

Suppose there is already the dir `std_msgs/ColorRGB.msg` and we want to create the uPy file for it, then a script like below can be run:

``` python
from ugenpy.message import MessageGenerator
msg=MessageGenerator('std_msgs/ColorRGBA.msg')
msg.create_message()
```

You could verify it has been created with the following:
``` python
import os
os.listdir('std_msgs')
```

## Classes
### `ugenpy.message.MessageGenerator`
#### Constructor
##### `ugenpy.message.MessageGenerator(addr)`
Class responsible of writing the `*.py` script and message class from `*.msg`.
* `addr`: address where the `.msg` file is located inside the microcontroller.

#### Methods
##### `ugenpy.message.MessageGenerator.create_message()`
Creates the message from the address already defined in constructor.
np-sound 0.0.5.1
A NumPy-based sound library

# NPSound
A collection of simple audio modification methods based on NumPy.

## Supported Formats
- .wav

## Installation
`pip install np-sound`

## Usage
```python
from np_sound import NPSound

sound = NPSound("soundfile.wav")

# Plot soundfile.wav with the title "NPSound Demo"
sound.plot(title="NPSound Demo")

# Reverse the section of audio from 1.5s to 3s
# NPSound objects are immutable, so the 'sound' object will be unchanged
reversed_audio = sound.reverse((1.5, 3))
reversed_audio.plot()

# Amplify the entire audio file by 50% and plot it
sound.amplify(50).plot(title="Amplified by 50%")

# Concatenate 'sound' with its mirrored version and write to a new sound file
mirror = sound + sound.reverse()
mirror.write("mirrored.wav")

# Plot 5 copies of 'sound' side by side
(sound * 5).plot()

# Plot a 50% softened 'sound' on top of the original 'sound'
sound.plot(layered_plots=[sound.amplify(-50)])

# Plot a 'sound' object padded with 5.5s of empty data on either end below the original 'sound'
sound.plot(adjacent_plots=[sound.pad((5.5, 5.5))])

# Trim audio on both ends so that the first and last values are above 100
sound.clip_at_threshold(100)
```
qualifier 1.6.0
A simple python project used for updating the qualifier part of the version for python projects.

# qualifier

## Build Status
Traivs: [![Build Status](https://travis-ci.org/srikalyan/qualifier.svg?branch=master)](https://travis-ci.org/srikalyan/qualifier)

Circleci: [![CircleCI](https://circleci.com/gh/srikalyan/qualifier.svg?style=svg)](https://circleci.com/gh/srikalyan/qualifier)


## Description:
A simple python project used for updating the qualifier part of the version for python projects.

## Expectation:
This project expects setup.py of this format

```python
from setuptools import setup

__QUALIFIER__ = ""

setup(
    name="qualifier",
    version="1.0.0" + __QUALIFIER__,
    ...)
```

On running the command `update_qualifier` which is provided on installing this project as shell command,
`__QUALIFIER__` would be update based the rules.

## Rules:

1. If the HEAD is tagged and the branch is master then `__QUALIFIER__` will not be updated
2. If the HEAD is not tagged and the branch is master then `__QUALIFIER__` will be updated to `rc<epoch>`
3. If the HEAD is not tagged and the branch is not master then `__QUALIFIER__` will be updated to `.dev<epoch>`
local-port-scanner 0.0.2
Simple local port scanner
Requires Python: >=3.5

<h1>Local Port Scanner</h1>
<p>Tooling that scan specific IP or <b>automates</b> scan all the local IPs on your network.</p>

## Table of contents
- [Installing Local Port Scanner](#installation)
- [Running Local Port Scanner](#running-local-port-scanner)
- [Updating Local Port Scanner](#updating-local-port-scanner)

## **Installation**
```elm
pip install local-port-scanner
```
__Important:__ depending on your system, make sure to use `pip3` and `python3` instead.


>If you would like to install a specific version of Local Port Scanner you may do so with:
>```elm
>pip install local-port-scanner==0.0.2
>```

#### Running Local Port Scanner

Local Port Scanner is not only a tool but also it is a module

##### Use as a tool
Run the port scanner as the following Example.
```elm
python -m port_scanner -a
```
There are specific commands to use in Port Scanner.
<br />
'-a' command is used to auto-discover host in your local network and scan if there are open ports.
<br/>
'-H' command is used to specify the host.
<br/>
If you want to know more commands use '-h' command.

Run the netdiscover as the following Example.
```elm
python -m netdiscover 
```
It just discovers all the host IPs and Mac addresses.
##### Use as a module

There are two classes you can use.
- port_scanner
  * To scan specific target
 ```elm
from loacl_scanner import Scan
Scan(target='127.0.0.1')
```
- netdiscover
  * To discover host in the Local network
 ```elm
from loacl_scanner import NetDiscover
NetDiscover(output=True)
```
#### Updating Local Port Scanner
```elm
pip install local-port-scanner -U
```



---

> **Disclaimer**<a name="disclaimer" />: Please Note that this is a research project. I am by no means responsible for any usage of this tool.