semvec/pypi-packages huggingface dataset:
pyfloat-sh1l0n 0.0.1
Python Library for doing math operations with floats without lossing precission
Keywords: decimal,float,double,truncate,floor,math

## PyFloat Lib

Python Library for doing math operations with floats without lossing precission

## How to use

```
>> import pyfloat

>> PyFloat(2.1234e-12)
'0.0000000000021234'
>> PyFloat(-2.1234e+12)
'-2123400000000'
>> PyFloat(0.1452)
'0.1452'
>> PyFloat(PyFloat(152.455))
'152.455'
>> a = PyFloat("123451.1234551230000000004444445551122000000011")
>> b = PyFloat(-8123994.000002234100000001323400000001232112221)
>> a + b
'-8000542.8765471111000000008789554448890321122199'
>> a - b
'8247445.1234573571000000017678445551134321122221'
>> a * b
'-1002916186242.9543234169148643344158458369442274183843912848765430855693663896461975553234431'
>> a == b
'False'
>> a != b
'True'
>> a > b
'True'
>>> PyFloat(0.00239419391).round(10)
'0.0023941939'
>>> PyFloat(0.00239419391).round(7)
'0.0023942'
>>> PyFloat(-0.00239419391).round(7)
'-0.0023942'
>>> PyFloat(0.00239419391).round(4)
'0.0024'
>>> PyFloat(-1234.5678).abs()
'1234.5678'
>>> PyFloat(0.0000089778).truncate(8)
'0.00000897'
>>> PyFloat(-0.0000089778).truncate(8)
-0.00000897
```

## Test

```
python pytfloat_test.py
```
roulettes 1.0.0
Add roulettes to your something.
Requires Python: >=3.10,<4.0

# Roulettes
This little thing builded by Ivulka allows you to build your own roulettes in python! It provides the mechanism to generate random pick between items with chances.

## How to use?
First, you need to use `pip install roulettes` in terminal. Now you can use roulettes.

### Usage
This package is very simple but I think it's sufficient. It has only one function with only one argument: `roulette(<content>)` <br><br>
How to use it? Okay, first think you need to know it returns the genrated value so you must use it like this: `x = roulette(<content>)` <br><br>
The argument is the content of the roulette. You can save it to a variable if you don't want to have a long code. It's structure is this:
``` python
[
  {
    'item': <item name>,
    'chance': <chance>
  },
  {
    'item': <item name>,
    'chance': <chance>
  } ...
]
```
Note the chance don't must be in a percentage so it's easier to calculate.

### Example
This is an example of a code that works:
``` python
import roulettes

some_roulette = [
{'item': '100$', 'chance': 1},
{'item': '50$', 'chance': 2},
]

money = 10000

reward = roulettes.roulette(some_roulette)
if reward == '100$':
  money += 100
elif reward == '50$':
  money += 50
print(f'{money}$')
```
casc 0.0.1
Python library that binds to CascLib used by Blizzards games

Dependencies
---

- `git` in PATH
- `cmake` in PATH
- Visual Studio build tools or a C compiler 
  able to build python extensions on your 
  platform https://visualstudio.microsoft.com/fr/visual-cpp-build-tools/
- `pip install check-wheel-contents`

Install
---

```shell
python ./setup.py build
```

Create wheel

```shell
python ./setup.py bdist_wheel
```