semvec/pypi-packages huggingface dataset:
drivepathsolver 0.1.2
Use QP solver to optimize paths for robots
Keywords: robotics,path,optimization,qp

# DrivePathSolver

## Description

This package uses QP solver to implement path planning related optimization in robotic area, mostly related with smoothing, post-processing and constraints-applying of primitive paths.

## Installation

This package only requires minimalistic dependencies

```bash
pip install numpy==1.24.4
pip install qpsolvers==4.0.0
```

Or one can directly install with requirement list

```bash
pip install -m requirements.txt
```
lightning-time 0.0.3
A simple package to utilize Lightning Time in python
Requires Python: >=3.8

# Lightning Time

TODO: add description here

Learn more about how Lightning Time works & play with it hands-on: [here](https://blog.purduehackers.com/posts/lightning-time)

## Installation

```sh
pip3 install lightning-time
```

```python
from LightningTime.Lightning import Lightning, Timestring
```

# Usage

## Colors
```python
from LightningTime.Lightning import Lightning, Timestring

# Create a Lightning object
lt = Lightning(Timestring("a~b~c|d"))
```

**By default**, the `Lightning` colors are set to the following:

```
bolt: (dynamic value), 161, 0
zap: 50, (dynamic value), 214
spark: 246, 133, (dynamic value)
```

You can **change** these colors by passing in color arguments to the `Lightning` object:

```python
lt = Lightning(Timestring("a~b~c|d"), bolt_color=(g, b), zap_color=(r, b), spark_color=(r, g))
```
> r, g and b are integers between 0 and 255, inclusive.

For example, to change the color of a `bolt`, use the following:

```python
lt = Lightning(Timestring("a~b~c|d"), bolt_color=(155, 35))
```

You can set the static colors of a `Lightning` object with the `set_static_colors` method:

```python
lt.set_static_colors((g, b), (r, b), (r, g))
```

## Conversions

```python
from datetime import datetime

#convert from datetime to Lightning time

Lightning.to_lightning(datetime.now()) #e~3~3|8

#convert from Lightning time to a time st

Lightning.from_lightning(Lightning.to_lightning(datetime.now()), withseconds=True) # 21:18:06
```

## Color String

```python
from datetime import datetime
Lightning.to_lightning(datetime.now()).color_strings() # ('#e3a100', '#3238d6', '#f68582')
```

## Print without charges

```python
from datetime import datetime
Lightning.to_lightning(datetime.now()).strip_charges() 
# e~3~a
```

## Accessing values

```python
lt = Lightning(Timestring("a~b~c|d"))
lt.timestring.bolts # a
lt.timestring.zaps # b
lt.timestring.sparks # c
lt.timestring.charges # d
```
---

## Contributing

This project is still under development, feel free to contribute by opening a pull request.
mathkit 4.2.3
Python library for mathematical functions
Requires Python: >=3.6

# MathKit - A Mathematical Library Made Simple

**MathKit is a Python library that provides various mathematical functions and utilities for performing common mathematical calculations.**

## New updated calculator usage for simpler functions

```python
from mathkit import main
main()
```

## Example Usage If you decide to predefine numbers

```python
import mathkit

# If you dont want to add mathkit. before all function you can import the specific function by

# from mathkit import add
# add(5,3)

# You can do this with all the functions

mathkit.add(5, 3)  # Output: Your answer is 8
mathkit.cbrt(27)  # Output: The cube root of 27 is 3.0
mathkit.div(10, 2)  # Output: Your answer is 5.0
mathkit.fact(5)  # Output: The factorial of 5 is 120
mathkit.hcf(24, 36)  # Output: The H.C.F. of 24 and 36 is 12
mathkit.lcm(12, 18)  # Output: The LCM of 12 and 18 is 36
mathkit.log(100)  # Output: Logarithm of 100 (base e) is 4.605...
mathkit.mod(10, 3)  # Output: Your answer is 1
mathkit.mul(4, 5)  # Output: Product = 20
mathkit.per(50, 10)  # Output: 10 percent of 50 is 5
mathkit.power(2, 3)  # Output: The answer is: 8
mathkit.sqrt(25)  # Output: Square root of 25 is 5.0
mathkit.sqr(4)  # Output: The square of 4 is 16
mathkit.sub(8, 3)  # Output: Your answer is 5
mathkit.compound_interest(amount,time,interest) # Output Based On predefines numbers
mathkit.simple_interest(amount,time,interest)
```
 ## Please Note For the simple and compound interest to work you have to specify the order numbers exactly in the format given
 ## For more information, please visit the GitHub repository.