semvec/pypi-packages huggingface dataset:
expyvalidations 0.0.4
Sheets data validation
License: MIT
Requires Python: >=3.7

# EXPYVALIDATIONS

[![Pypi](https://img.shields.io/pypi/v/expyvalidations.svg?style=plastic)](https://pypi.org/project/expyvalidations/) [![License](https://img.shields.io/pypi/l/expyvalidations.svg?style=plastic)](https://pypi.org/project/expyvalidations/) [![Python](https://img.shields.io/pypi/pyversions/expyvalidations.svg?style=plastic)](https://pypi.org/project/expyvalidations/) [![Downloads](https://pepy.tech/badge/expyvalidations)](https://pepy.tech/project/expyvalidations) [![Downloads](https://pepy.tech/badge/expyvalidations/month)](https://pepy.tech/project/expyvalidations)

## Description

**ExpyValitations** python library is used to validate data in excel files.
It is possible to validate the type of data, if it is required, if it is unique, perform custom validations and more!

## Installation

```bash
pip install expyvalidations
```

## Usage

```python
# Import the ExpyValidations class
from expyvalidations import ExpyValidations

# Create a new instance of ExpyValidations
ev = ExpyValidations(path_file='path/to/file.xlsx'

# add columns to validate
ev.add_column(key="descricao", name="nome", required=True)
ev.add_column(key="value", name="valor", type="float")

# perform all validations in the file
ev.check_all()

# check if there are errors
if ev.has_errors():
    # get the errors
    print(ev.get_errors())
    """
    [
        {
            "type": "Error",
            "column": "descricao",
            "row": 2,
            "message": "Campo obrigatório"
        },
        {
            "type": "Error",
            "column": "value",
            "row": 3,
            "message": "Value is not a valid number"
        }
    ]
    """
else:
    # get the result
    ev.get_result()
    """
    [
        {
            "descricao": "Produto 1",
            "value": 10.0
        },
        {
            "descricao": "Produto 2",
            "value": 20.0
        }
    ]
    """


```

## License
[Licence MIT](https://github.com/exebixel/expyvalidations/blob/master/LICENSE)

## Documentation
[Click here](https://github.com/exebixel/expyvalidations/wiki) to see the documentation.

## Author

Ezequiel Abreu (Exebixel)

- LinkedIn: [Ezequiel Abreu](https://www.linkedin.com/in/exebixel/)
- GitHub: [Exebixel](https://github.com/exebixel)
- Telegram: [@Exebixel](https://t.me/exebixel)
plover-sound 0.0.4
Plays sound when stroke is registered
License: MIT
Keywords: plover plover_plugin

# Plover Sound

Very early in development, but it's coming along nicely! Let me know in the plover discord if you have any suggestions: **@ricecakes808**

## Installation

There are 3 modes you can use, `sample`, `mapped`, and `melody`. The "Sound" tool tab is added to your Plover window. Please open that to configure `plover_sound`.

You have to git clone and then install manually from the command line. See the instructions [here](https://plover.wiki/index.php/Plugins).
pySatlantic 0.4.2
Unpack binary messages from Satlantic instruments.
License: MIT
Requires Python: >=3.5

pySatlantic
===========
[![Python 3](https://img.shields.io/badge/Python-3-blue.svg)](https://www.python.org/downloads/)
[![license MIT](https://img.shields.io/badge/license-MIT-green)](https://github.com/OceanOptics/pySatlantic/blob/master/LICENSE)

_Python package to unpack binary messages from Satlantic instruments._

This module provides a simple way to unpack binary messages from Satlantic instruments (e.g. HyperSAS, HyperPro, HTSRB, HyperNAV). This is likely not the fastest implementation of the Satlantic protocol parser. However, it is easy to use and fast enough to process hyperspectral spectrums from multiple sensors (e.g. HyperSAS & Es) on a Raspberry Pi 3 in real-time.


## Installation
The package runs with python 3 and can be installed from the setup file or directly with pip.

    # Installation through setup file
    python setup.py install
    
    # Installation through pip
    pip install pySatlantic


## Convert binary files recorded with SatView to CSV
The module can be used to convert raw files recorded with SatView to CSV files.

    python -m pySatlantic [-h] [-v] [--version] [-i] cal src

or directly from the installed module

    python -m pySatlantic.__main__ [-h] [-v] [--version] [-i] cal src

positional arguments:
  cal             Calibration file.
  src             Raw file to decode and calibrate.

optional arguments:
  -h, --help      show this help message and exit
  -v, --verbose   Enable verbosity.
  --version       Prints version information.
  -i, --immersed  Apply immersion coefficients.

  
## Integrate in other software
The class `Instrument` provides key methods to handle the binary frames from Satlantic instruments
* `read_calibration_file`/`read_calibration_dir`/`read_sip_file`: Parse calibration file(s) needed to unpack and calibrate binary frames.
* `find_frame`: Find known frame in a binary array
* `parse_frame`: Unpack binary frame and apply calibration fit to convert data in scientific units

The class `Instrument` support the immersed flag for each sensor independently. The immersion flag is accessible through `Instrument.cal[<frame_header>].immersed` with `frame_header` being the sensor to be immersed or not.


The class `BinReader` helps to separate individual frames looking for the registration bytes `b'SAT'`. An example of usage of that class is `SatViewRawToCSV` which converts a raw file recorded with SatView into a CSV file. 


## Sensors Tested
List of frames and associated calibration files tested:
  + Es:
    + HED
    + HSE
  + HyperSAS
    + HLD
    + HSL
  + pySAS Tower
    + UMTWR
  + HTSRB
    + HSD
    + HST
    + THS
  + HyperPro
    + HPE
    + HPL
    + MPR
    + PED
    + PLD
    + SATBB2F
    + SATFLCD
  + HyperNAV
    + SATXDZ
    + SATXLZ
    + SATXCZ
    + SATYCZ
  + OCR-504
    + SATDI4
  + NMEA
    + $GPRMC
    

Some functionalities of the Satlantic protocol are not implemented. Please make a feature request if you would like to the support of specific sensors (through the 'Issues' section of the GitHub repository).
issim 0.1.0
A Python package for simulating ISM in galaxies
License: MIT
Requires Python: >=3

# ISsiM

<img src="./docs/ISsiMlogo.png" width="200" height="200">

ISsiM (InterStellar Medium Simulator) is a python package for simulating the gas within galaxies. It is a Smooth Particle Hydrodynamics simulator mixed with a direct object N-body simulator. This strong combination allows you to quickly run a galaxy simulation without advanced knowledge in simulations or other programming languages. 

### Installation

Write this command into your terminal or notebook 

`pip install issim`

The code is also available at <https://pypi.org/project/issim/>

### Example 

```python 
import issim
import numpy as np

# Simulation parameters
N         = 5000    # Number of particles
tEnd      = 3000     # time at which simulation ends
dt        = 1   # timestep
M         = 1      # star mass
R         = 1   # star radius
h         = 0.04    # smoothing length
k         = 0.000004    # equation of state constant
n         = 3      # polytropic index
nu        = 0.000003     # damping
G         = 0.00019160287    #gravitational acceleration
scaleheight =  0.05 #scale height
randvel = 0.0004 #random velocity 
plotRealTime = True # switch on for plotting as the simulation goes along

np.random.seed(42)     
gal1 = issim.galgen.Galaxy(N, mass = M, radius = R, scaleheight = scaleheight,
randvel = randvel,G = G,  k = k , n = n, nu = nu)
simulation = gal1.simulate(smoothinglength = 0.04, tstep = 1, tEnd = tEnd)

animation = gal1.quadplotvid(downsampling = 4)
gal1.saveanim()
```

### Documentation
Documentation is available at <https://issim.readthedocs.io/en/latest/index.html>