semvec/pypi-packages huggingface dataset:
RattleBack 0.0.2
motion of rattle-back
Requires Python: >=3.6

# RattleBack: motion of rattle-back
```
RattleBack(abch, ABCD, init, t, sigma=0, g=981, **kw):
abch,ABCD = tuples of four real numbers, where
  a,b,c = radii of ellipsoid (cm)
  h = OG (O = center of ellipsoid, G = center of mass) (cm)
  A,B,C = moments of inertia along a,b,c axis (cm^2)
  D = product of intertia in a-b plane (cm^2)
init = initial condition of integration (shape (6,))
t = evaluation time (1d array) (sec)
sigma = friction coefficient (cm^2/sec)
g = gravity acceleration (cm/sec^2)
kw = keyword arguments passed to scipy.integrate.odeint
return y = output of odeint (shape(len(t),6)), where
  y[:,0:3] = euler angles alpha,beta,gamma
  y[:,3:6] = angular velocities omega_i (i=1,2,3)
all variables are measured in CGS units and radians
A,B,C,D,sigma corresponds to those of
  Kane & Levinson DIVIDED BY MASS of rattleback
-------------------------------------------------------------
reference: T. R. Kane and D. A. Levinson
  "Realistic Mathematical Modeling of the Rattleback"
   International Journal of Non-Linear Mechanics 17 (1982) 175
```
# example code:
```
import numpy as np
import matplotlib.pyplot as plt
from scipy.constants import degree
from RattleBack import RattleBack

abch = (20,3,2,1)
ABCD = (2,16,17,-0.2)
sigma = 1
init = [0.5*degree, 0.5*degree, 0,0,0,-5]
t = np.linspace(0,10,500)

y = RattleBack(abch, ABCD, init, t, sigma)
alpha,beta,gamma = y.T[:3] # Euler angles
delta = np.arccos(np.cos(alpha)*np.cos(beta)) # tilt angle

plt.figure(figsize=(5,5.5))

plt.subplot(211)
plt.plot(t, gamma/degree)
plt.ylabel(r'$\gamma$  / deg')

plt.subplot(212)
plt.plot(t, delta/degree)
plt.ylabel(r'$\delta$  / deg')
plt.xlabel(r'$t$ = time  / sec')
plt.tight_layout()
plt.show()
```
rattleback 0.0.1
motion of rattle-back
Requires Python: >=3.6

# RattleBack: motion of rattle-back
```
RattleBack(abch, ABCD, init, t, sigma=0, g=981, **kw):
abch,ABCD = tuples of four real numbers, where
  a,b,c = radii of ellipsoid (cm)
  h = OG (O = center of ellipsoid, G = center of mass) (cm)
  A,B,C = moments of inertia along a,b,c axis (cm^2)
  D = product of intertia in a-b plane (cm^2)
init = initial condition of integration (shape (6,))
t = evaluation time (1d array) (sec)
sigma = friction coefficient (cm^2/sec)
g = gravity acceleration (cm/sec^2)
kw = keyword arguments passed to scipy.integrate.odeint
return y = output of odeint (shape(len(t),6)), where
  y[:,0:3] = euler angles alpha,beta,gamma
  y[:,3:6] = angular velocities omega_i (i=1,2,3)
all variables are measured in CGS units and radians
A,B,C,D,sigma corresponds to those of
  Kane & Levinson DIVIDED BY MASS of rattleback
-------------------------------------------------------------
reference: T. R. Kane and D. A. Levinson
  "Realistic Mathematical Modeling of the Rattleback"
   International Journal of Non-Linear Mechanics 17 (1982) 175
```
# example code:
```
import numpy as np
import matplotlib.pyplot as plt
from scipy.constants import degree
from RattleBack import RattleBack

abch = (20,3,2,1)
ABCD = (2,16,17,-0.2)
sigma = 1
init = [0.5*degree, 0.5*degree, 0,0,0,-5]
t = np.linspace(0,10,500)

y = RattleBack(abch, ABCD, init, t, sigma)
alpha,beta,gamma = y.T[:3] # Euler angles
delta = np.arccos(np.cos(alpha)*np.cos(beta)) # tilt angle

plt.figure(figsize=(5,5.5))

plt.subplot(211)
plt.plot(t, gamma/degree)
plt.ylabel(r'$\gamma$  / deg')

plt.subplot(212)
plt.plot(t, delta/degree)
plt.ylabel(r'$\delta$  / deg')
plt.xlabel(r'$t$ = time  / sec')
plt.tight_layout()
plt.show()
```
svkcore 0.0.9
A simple deep computer vision toolkit
Requires Python: >=3.6

# Simple vision kit

A simple deep computer vision toolkit.

[API Doc](https://simple-vision-kit.readthedocs.io/en/latest/index.html)

## Get start

### install 

#### pip

```shell script
pip install svkcore
```

#### from source

```shell script
git clone https://github.com/ZhaoJianghua/simple-vision-kit.git
cd simple-vision-kit
python setup.py install
```

### Usage

See detail on [readthedocs](https://simple-vision-kit.readthedocs.io/en/latest/get_start.html#usage)

## modules

Ses full content on [readthedocs](https://simple-vision-kit.readthedocs.io/en/latest/svkcore.html)

## change logs

### 2023/03/10

- add new feature to ``image_gallery``: resize all image by same scale
- add setup.py to install package
- add docs
kmz-custom-maps 0.1.0
River forecasting package
Requires Python: >=3.9

# kmz custom maps


A simple python script for processing a kmz image overlap so that it 
conforms to the requirements to be used as a Garmin custom map.


Garmin provides instructions for creating a custom map here

https://support.garmin.com/en-US/?faq=cVuMqGHWaM7wTFWMkPNLN9

However, the catch is that the kmz files must conform to the requirements
listed here

https://support.garmin.com/en-AU/?faq=UcO3cFueS12IwCnizrJjeA

The most restrictive part is that the jpegs included in the 
kmz cannot have more than 1024 by 1024 pixels.

This python script solve this problem by taking a kmz file with 
a single larger jpeg and turning it into a kmz file with a 
number of smaller tiled jpegs.

I have done minimal testing of this, other than checking that it does
work on my Garmin GPSMAP 66i. So use at own risk.

Requirements
- Python >= 3.9

Usage:
```
pip install kmz_custom_maps
```

```
python -m kmz_custom_map.run ./path/to/map.kmz
```

The processed kmz will be added to the directory the script was run from.

For a 1:25k topo map converted to a jpeg using 200 pixels per inch. 
this creates a kmz with about 40 jpeg images. I would be mindful to not
have too many of these custom maps on a garmin device at any time as it 
does seem to slow down rendering.

Optionally, if you want to create many separate kmz files corresponding
to tiles from the original kmz you can run it this way
```
python -m kmz_custom_map.run --combine ./path/to/map.kmz
```
pou 0.0.7
A stylish, minimalistic, ChatGPT-infused command-line interface
Requires Python: >=3.0


<p align="center">
  <img src="https://user-images.githubusercontent.com/84760072/227747904-eaf84b81-3b85-4b39-8016-69e9c7aae641.png" width=450/>
</p>

<p align="center">
  A stylish, minimalistic, ChatGPT-infused command-line interface 
</p>


<p align="center">
  <img src="https://user-images.githubusercontent.com/84760072/227741638-b997b164-98b8-494a-8c23-502525488f73.png" width=900/>
</p>

<p align="center">
	<a href="https://github.com/hwelsters/sleepychat/stargazers">
		<img alt="Stargazers" src="https://img.shields.io/github/stars/hwelsters/pou?style=for-the-badge&logo=starship&color=f9e1cb&logoColor=ffffff&labelColor=342430"></a>
	<a href="https://github.com/hwelsters/pou/releases/latest">
		<img alt="Releases" src="https://img.shields.io/github/release/hwelsters/pou.svg?style=for-the-badge&logo=github&color=f9e1cb&logoColor=ffffff&labelColor=342430"/></a>
	<a href="https://github.com/hwelsters/pou/issues">
		<img alt="Issues" src="https://img.shields.io/github/issues/hwelsters/pou?style=for-the-badge&logo=gitbook&color=f9e1cb&logoColor=ffffff&labelColor=342430"></a>
</p>


## Install as a Python Library
Do one of the following options:
```bash
> py -m pip install pou
> python -m pip install pou
> pip install pou
```

## Run in terminal
Do one of the following options:
```bash
> py -m pou
> python -m pou
```

## Configure settings
![pou-settings-text](https://user-images.githubusercontent.com/84760072/227750621-c9cfdb77-ff99-4b18-b1f9-5d19075aa21e.gif)


## Samples
```
ask 'Say something cool and amazing'
```
![pou-ask](https://user-images.githubusercontent.com/84760072/227750624-d3b757fb-f496-49cf-a9cd-12288a9e4fa5.gif)
  
```
translate indonesian 'Hello, how are you?'
```
![pou-translate](https://user-images.githubusercontent.com/84760072/227750626-255a43a9-0549-4237-8388-24440a30eb2b.gif)



## Get involved
- 🐛 **Found a bug or interested in adding a feature?** - Create an [issue][issue]  
- 🤗 **Want to help?** - Create a pull-request!

[issue]: https://github.com/hwelsters/pou/issues