semvec/pypi-packages huggingface dataset:
arSort 0.1
a library for lazy people who are too lazy to write their own sorting
Requires Python: >=3.6

# a library for lazy people who are too lazy to write their own sorting
## there are sorting:
+ ### 1 bubble sorting
```py
import arSort

array = [0, 6, 8, 4]
sort = arSort.Sort(array)

print(sort.bubbleSort("<")) #bubble sorting from smaller to larger
print(sort.bubbleSort(">")) #bubble sorting of more to less
```
#### input:
```
[0, 4, 6, 8]
[8, 6, 4, 0]
```

+ ### 2 sorting by shaker
```py
import arSort

array = [0, 6, 8, 4]
sort = arSort.Sort(array)

print(sort.shakerSort("<")) #sorting the shaker from smaller to larger
print(sort.shakerSort(">")) #sorting the shaker from bigger to smaller
```
#### input:
```
[0, 4, 6, 8]
[8, 6, 4, 0]
```

+ ### 3 sorting comb
```py
import arSort

array = [0, 6, 8, 4]
sort = arSort.Sort(array)

print(sort.hairbrushSort("<")) #sorting with a comb from smaller to larger
print(sort.hairbrushSort(">")) #sorting with a comb from more to less
```
#### input:
```
[0, 4, 6, 8]
[8, 6, 4, 0]
```
+ ### 4 sorting by inserts
```py
import arSort

array = [0, 6, 8, 4]
sort = arSort.Sort(array)

print(sort.insertsSort("<")) #sorting by inserts from smaller to larger
print(sort.insertsSort(">")) #sorting by inserts from larger to smaller
```
#### input:
```
[0, 4, 6, 8]
[8, 6, 4, 0]
```

+ ### 5 sorting dwarves
```py
import arSort

array = [0, 6, 8, 4]
sort = arSort.Sort(array)

print(sort.dwarvesSort("<")) #sorting dwarves from smaller to larger
print(sort.dwarvesSort(">")) #sorting dwarves from bigger to smaller
```
#### input:
```
[0, 4, 6, 8]
[8, 6, 4, 0]
```

+ ### 6 sorting the bongo clown (insane)
```py
import arSort

array = [0, 6, 8, 4]
sort = arSort.Sort(array)

#we strongly advise against doing this, 
#because the worst indicator of the time of this sorting is infinity of seconds.
print(sort.bogoSort("<")) #sorting the bongo clown from smaller to larger
print(sort.bogoSort(">")) #sorting the bongo clown from bigger to smaller
```
#### input:
```
[0, 4, 6, 8]
[8, 6, 4, 0]
```
space-objects-geos 1.2.0
Provide space_objects output geometry capabilities like shapely geometry and geojson.
Requires Python: >=3.10,<4.0

# space_objects_geos

- ![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)

- ![coverage](coverage-badge.svg)

```bash
pip install space-objects-geos
```

This is an extension for [space_objects](https://github.com/larrieu-olivier/space_objects) package.

Provides outputs objects for easily work with shapely geometries from the originals outputs objects.

Usefull for geometries calculations and geojson representation for web display.

### sample

```python
from space_objects.models import SatelliteActive
from space_objects_geos.outputs import OrbitObjectGeos, PositionObjectGeos

your_position = {
    "observation_position_longitude": 1.433333,
    "observation_position_latitude": 43.6,
}

satellite_name = "ISS (ZARYA)"
iss_object = SatelliteActive(satellite_name, **your_position)

position = PositionObjectGeos(iss_object.get_position())
orbit = OrbitObjectGeos(iss_object.get_orbit())

print(position.geojson)
print(orbit.geojson)
```

position geojson

![position geojson](assets/images/position_geojson.png)

orbit geojson

![orbit geojson](assets/images/orbit_geojson.png)