semvec/pypi-packages huggingface dataset:
gubbins 0.0.3
Serial number generator/validator
License: MIT
Keywords: serial generator validator

# gubbins
Serial number generator/validator
======

A simple but powerful serial number generator and validator written in
Python.  Given a Prefix and a 32-bit ID, produces a Serial.  Given a valid
Serial, returns the Prefix and 32-bit ID.  Optionally takes Additional Data.

```python
from gubbins import Gubbins

for i in range(10):
	serial = Gubbins.generate("AX", i)
	prefix, id = Gubbins.validate(serial)
	assert prefix.lower() == "AX".lower()
	assert id == i
	print(i, serial)
```

or via the command-line,

```bash
python3 -m gubbins.generate 1-10 --solo --prefix AX | python3 -m gubbins.validate
```

Requires
* [more_itertools](https://github.com/erikrose/more-itertools),
* [anybase32](https://github.com/alanblevins/anybase32), &
* [pynumparser](https://gitlab.com/n2vram/pynumparser).

License: [MIT](https://opensource.org/licenses/MIT)
BMPxlsx 0.0.3
The library takes a dictionary of form {Sheet: {Cell: Value}} and updates the specified Excel file accordingly.
License: MIT
Keywords: Excel,Write,XLSX,BMP

# BMPxlsx
[![Build Status](https://travis-ci.org/joemccann/dillinger.svg?branch=master)](https://travis-ci.org/joemccann/dillinger)

The library takes a dictionary of form {Sheet: {Cell: Value}} and updates the specified Excel file accordingly.

This function was created in support of the Model My Watershed Web application WikiWatersheds that models Best Management Practice (BMP) impacts to reducing water quality impacts. (https://modelmywatershed.org/)

https://pypi.org/project/BMPxlsx/

### Example Function Run
```sh
## Function(dataDictionary, FileName)

## Dictionary - {"SHEET": {"CELL": VALUE, "CELL": VALUE}}

datadict = {
'Sheet1': {'D1': 123.4, 'D2': 567.8},
'Sheet2': {'D1': 123.4, 'D2': 567.8},
'Sheet3': {'D1': 123.4, 'D2': 567.8},
}

## Full Path to File

loc = os.getcwd()
fnme = 'MMW_BMP_Spreadsheet_Tool(Skippack).xlsx'
file = os.path.join(loc, fnme)

## Run Function

writer = BMPxlsx.Writer(file)
input1 = {'Sheet1': {'D1': 13.4, 'D2': 47.8},
        'Sheet2': {'D1': 23.4, 'D2': 57.8},
        'Sheet3': {'D1': 33.4, 'D2': 67.8},
    }
input2 = {'Sheet1': {'D1': 23.4, 'D2': 57.8},
        'Sheet2': {'D1': 33.4, 'D2': 67.8},
        'Sheet3': {'D1': 43.4, 'D2': 77.8},
    }
writer.write(input1)
writer.close()

```

### Installation

BMPxlsx was written and for Python version 2.7.15

```sh
$ pip install BMPxslx
```
ev3devcontext 0.36
using the ev3devcontext library your EV3 program can run in different contexts without the need to change a single line of code
License: MIT
Requires Python: >=3.4
Keywords: IDE education programming EV3 mindstorms lego

Using the ev3devcontext library your EV3 program can run in different contexts
without the need to change a single line of code.

For more info: https://www.github.com/harcokuppens/thonny-ev3dev/wiki/ev3devcontext