semvec/pypi-packages huggingface dataset:
polyhorner 1.1.0
Will build univariate using an optimized Horner method and multivariate polynomial using a somewhat optimized Horner method
License: MIT

# polyhorner
This package will:
- build univariate polynomials using an optimized Horner's method and fast numba loops
- build multivariate polynomials using a somewhat optimized Horner's method and fast numba loops

## univariate polynomial example
Suppose you have x, and y data, and you want to model y = a0 + a1 x + a2 x^2 + a3 x^3 + a4 x^4
Let Mat be a numpy matrix of size (N,1), where N is the number of data points.
X = polyhorner.horner(Mat, 4) will build your X matrix ready for the regression (optimized using Horner's method)

## multivaraite polynomial example
Suppose you have x, y, and z data, and you want to model using apolynomial of order 3 in x, and 2 in y, with cross-products
z = a0 + a1 x + a2 x^2 + a3 x^3 + a4 y + a5 y^2 + a6 xy + a7 x^2y + a8 x^3y + a9 xy^2 + a10 x^2y^2 + a11 x^3y^2
let Mat be a numpy matrix of size (N,2), where N is the number of data points.
let Expo be a numpy matrix of size (2,1) = (3,2)
X = polyhorner.horner(Mat, Expo) will build your X matrix ready for the regression (semi-optimized using Horner's method)



I use some functions distributed under the GNU LGPL license from 
https://people.sc.fsu.edu/~jburkardt/py_src/monomial


Thanks to Pssolanki for helping fix issues
fordpass-jeedom-python 0.0.8
Python wrapper for the FordPass API for Ford vehicle information and control: start, stop, lock, unlock for jeedom
License: MIT

[![PyPI version](https://badge.fury.io/py/fordpass.svg)](https://badge.fury.io/py/fordpass)

# fordpass-python

This is a basic Python wrapper around the FordPass APIs. The wrapper provides methods to return vehicle status as well as some basic commands, e.g. start/stop, lock/unlock.

It's more or less a straight port of @d4v3y0rk's NPM module [d4v3y0rk/ffpass](https://github.com/d4v3y0rk/ffpass-module) - props to him for his work figuring out the relevant API requests needed.
first author: https://github.com/NicKoehler/fordpass-python

## Features

* Automatically auth & re-fetches tokens once expired
* Get status of the vehicle (this returns a ton of info about the car: lat/long, oil, battery, fuel, odometer, tire pressures, open windows and a bunch of other stuff that may/may not apply to your car, e.g. charge level, diesel filters.)
* Start the engine (if supported)
* Stop the engine (if supported)
* Lock the doors
* Unlock the doors

## Install
Install using pip:

```
pip install fordpass-jeedom-python
```

## Demo

To test the libary there is a demo script `demo.py`.

```
demo.py USERNAME PASSWORD VIN
```

e.g.

```
demo.py test@test.com mypassword WX12345678901234
```

## Publishing new versions of this package

1. Bump the version number inside `setup.py`.
2. Build the package: `python setup.py sdist bdist_wheel`.
3. Upload to TestPyPi using `twine upload --repository-url https://test.pypi.org/legacy/ dist/*` and verify everything is as expected.
4. Upload to PyPi using `twine upload dist/*`.
5. All done!
protobuf2arr-tools 0.1.1
Utility functions and generators for working with the Google protobuf array format.
License: MIT
Requires Python: >=3.10,<4.0
Keywords: protobuf,google,rpc,protobuf2arr

# protobuf2arr-tools
 Utility functions and generators for working with the Google protobuf array format.

## Proto model generator

Generate a protobuf model from an unknown format protobuf array object. Often times we get protobuf array messages from Google internal services and need to build proto models to interact with them. This tool generates a template for that protobuf array by trying to guess the data type of each index.

### CLI Usage
```
usage: proto_builder.py [-h] [--package PACKAGE] arr_json output_proto

Build a .proto model for an protobuf array.

positional arguments:
  arr_json           File containing the arr protobuf object.
  output_proto       File name to save the output .proto model.

options:
  -h, --help         show this help message and exit
  --package PACKAGE  .proto model package name.

```

### Example
```
>>> head data.json
[[null, [[1650289911312855, 44780456, 1997349351], null, 2], 0, "92xdYpeME6iXrcUP58O0uAc"], [[[[["YSF", 0], "Hello World", ... 

>>> proto_builder.py data.json message.proto
Generated protobuf model: message.proto

>>> head message.proto
syntax = "proto3";

package generated;

message EntryPoint {
	Msg2 msg1 = 1;
	Msg11 msg2 = 2;
	string none3 = 3 [(nullable) = ''];
	Msg29 msg4 = 4;
	string none5 = 5 [(nullable) = ''];
	string none6 = 6 [(nullable) = ''];
	Msg31Container msg7 = 7;
	Msg41 msg8 = 8;
	string none9 = 9 [(nullable) = ''];
	string none10 = 10 [(nullable) = ''];
	string none11 = 11 [(nullable) = ''];
	Msg42Container msg12 = 12;
	Msg3 msg13 = 13;
	string none14 = 14 [(nullable) = ''];
	Msg1 msg15 = 15;
	string none16 = 16 [(nullable) = ''];
	string none17 = 17 [(nullable) = ''];
	Msg47 msg18 = 18;
	Msg3 msg19 = 19;
	string none20 = 20 [(nullable) = ''];
	bool field21 = 21;
}

...
```
BetterDesign 2.0.0
Used to make your design of terminal apps easier!
License: MIT
Requires Python: >=3.8

### BetterDesign
## Purpose
BetterDesign is a simple python module to make styling command line applications easier.
## Usage
You can install this module using:
```
pip install BetterDesign
```
You can import this module using:
```py
import BetterDesign as bd
```
Printing a table code example:
```py
import BetterDesign as bd

values = {
    "GitHub": "https://github.com/c0nvict/BetterDesign",
    "PyPi": "https://pypi.org/project/BetterDesign"
}

table = bd.table(values)

print(table)
```
![Screenshot](https://media.discordapp.net/attachments/965371411180945439/966692517762465852/unknown.png)

Centering a string code example:
```py
import BetterDesign as bd

string = "Hello world!"

print(bd.center(string)) # this works for multiple line strings and allows you to use the "end" keyword unlike python's native center.
```
![Screenshot](https://media.discordapp.net/attachments/965371411180945439/966693268182143036/unknown.png)

Using colors with a table code example:
```py
import BetterDesign as bd

values = {
    "GitHub": "https://github.com/c0nvict/BetterDesign",
    "PyPi": "https://pypi.org/project/BetterDesign"
}

table = bd.table(values, value_color="green", key_color="green", border_color="red")

print(table)
```
![Screenshot](https://media.discordapp.net/attachments/965371411180945439/966693835793129522/unknown.png)

There is some other stuff that I have not shown examples for yet, just feel free to read the code or message me on discord at convict#0001!
## Updates and new features
If I ever update this, it will be uncommon since I only made this when I was bored. I do plan to eventually add some stuff with colors, feel free to submit a pull request if you add anything!
## Credits
This was solely developed by <a href="https://github.com/c0nvict">c0nvict</a>, this isn't supposed to be a huge project, just some things to make your application nicer