semvec/pypi-packages huggingface dataset:
pyolex 0.0.1
A python library for reading and writing Olex plotlayer ('Ruter') files
Requires Python: >=3.8

### pyxtf

A python library for writing [Olex](https://olex.no/) plotlayer ("Ruter") files including utility functions for converting decimal degrees to decimal minutes. Reading is planned implemented in the future.

[![License][license-image]][license-url]

##### Installation from pypi

```bash
pip3 install pyolex
```

###### Dependencies
The project has no major dependencies. Some examples may require more advanced dependencies like pandas.

##### Usage
###### Convert Decimal Degrees to Decimal Minutes (Olex-format)
Example code:
```
import pyolex

dd_coord = pyolex.DecimalDegreeCoord(61.6296187, 5.01738467)
min_coord = pyolex.decimal_degrees_to_decimal_minutes(dd_coord, precision=7)
print(min_coord.lat, min_coord.lon)
```
Output: 3697.777122 301.0430802

###### Make a towline
Example code:
```
import pyolex

start_lat, start_lon = (61.6296187, 5.01738467)
stop_lat, stop_lon = (61.6396187, 5.01538467)

start_coord = pyolex.DecimalDegreeCoord(start_lat, start_lon)
stop_coord = pyolex.DecimalDegreeCoord(start_lat, start_lon)

towline = pyolex.TowlineObject(plotset=1,linecolor=pyolex.Color.RED, tow_start_dd=start_coord, tow_stop_dd=stop_coord)

print(towline)
```

Output:
```
Rute Slepestrek
Rutetype Strek
Linjefarge Rød
Plottsett 1
3697.777122 301.0430802 1675377136 Garnstart
3698.377122 300.9230802 1675377136 Garnstopp
```

##### Contribution
If you are missing functionality or find bugs, either submit a patch, or be prepared to send example "Ruter"-file when submitting the bug-report.

### License
pyolex is open-source and licensed under GNU GPL, Version 3.

<!-- Badges -->
[license-image]: https://img.shields.io/github/license/joakimsk/pyolex.svg?color=blue
[license-url]: https://github.com/joakimsk/pyolex/blob/main/LICENSE.md
PyLauncherMPI 0.1.8
A simple MPI-based task scheduler for dynamically distributing commands across MPI processes.
Requires Python: >=3.7

# PyLauncherMPI
[![Flake8 Lint](https://github.com/ioannis-vm/PyLauncherMPI/actions/workflows/flake8.yml/badge.svg)](https://github.com/ioannis-vm/PyLauncherMPI/actions/workflows/flake8.yml/badge.svg)

A simple MPI-based task scheduler for dynamically distributing commands across MPI processes.

## How to use

Assuming there is access to HPC resources with MPI capabilities,
`PyLauncherMPI` can be used to dynamically allocate tasks to
processes. Tasks are defined as shell commands in a file, one line per task, like so:

`taskfile`
```
./my_program arg1 arg2 arg3
./my_program arg4 arg5 arg6
...
```

Two environment variables need to be speified, `LAUNCHER_WORKDIR` (the
absolute path from which all tasks will be executed), and
`LAUNCHER_JOB_FILE` (the path to the task file relative to
`LAUNCHER_WORKDIR`).

The following is an example SLURM script using `PyLauncherMPI`.
```
#!/bin/bash
#SBATCH -J test_job        # Job name
#SBATCH -o test_job.o%j    # Name of stdout file
#SBATCH -e test_job.e%j    # Name of stderr error file
#SBATCH -p xyz             # Queue (partition) name
#SBATCH -N 3               # Total # of nodes
#SBATCH -n 144             # Total # of mpi tasks
#SBATCH -t 00:02:30        # Run time (hh:mm:ss)
##SBATCH --mail-user=username@address.xyz
##SBATCH --mail-type=all
#SBATCH -A allocation_name # Allocation name (req'd if you have more than 1)

source $HOME/.bashrc

micromamba activate rid_prj
# (Or use any other way to activate the environment where PyLauncherMPI is installed.)

export OMP_NUM_THREADS=1
export PYTHONPATH=$PYTHONPATH:$(pwd):$HOME/bin
export LAUNCHER_WORKDIR=/path/to/project/root/directory
export LAUNCHER_JOB_FILE=relative/path/name_of_taskfile

ibrun pylaunchermpi
```
itunizer 1.0.7
A command line tool to search and compare prices of apps and music on the Apple Store
Requires Python: <4.0,>=3.11

# itunizer
🎵🎵🎵🎵🎵🎵🎵🎵🎵🎵

## What

Gather market data into a machine readable form from iTunes store data. 

## Install

The easiest way is pip: `pip3 install itunizer`. 

## Usage

Use the `-h` for options:   

```
$ itunizer -h
usage: itunizer [-h] [-s SEARCH_TERM] [-c CATEGORY_LOCATION] [-p] [-n] [-t]
                [--country STORE_COUNTRY] [--version]

collects and processes itunes data including ibook, application, and other
store items with metadata, example: itunizer -c ibook -s "corn" -t

optional arguments:
  -h, --help            show this help message and exit
  -s SEARCH_TERM, --search SEARCH_TERM
                        search term to search itunes store for (default:
                        nginx)
  -c CATEGORY_LOCATION, --category CATEGORY_LOCATION
                        category in store to search for (default: software)
  -p, --print           print to screen results, helpful for testing (default:
                        False)
  -n, --no-logo         disables printing logo (default: False)
  -t, --table           prints out table as format for data (default: False)
  --country STORE_COUNTRY
                        the store country you want to use for search results
                        (default: us)
  --version, -v         prints the version (default: False)
  ```

## Why?

It is difficult to get nice structured data from Apple. This helps with that.

## Example search

!['example'](https://user-images.githubusercontent.com/616585/35492868-5dcf0e90-047d-11e8-974f-0dd7a0f33311.png)
satisfactory-save-reader 0.8.2
Package to parse a Satisfactory save file
Requires Python: >=3.8

# Satisfactory Save Reader
This python package reads a satisfactory save file, allowing easy consumption for other programs.

***(Note: This python program will not function on a big file save - as certain functionality is not programmed yet)***

Video on Satisfactory Save Reader can be found [here](https://youtu.be/tOUbUM7gMZA).

### Install Instructions
```
python3 -m pip install satisfactory-save-reader
```

### Example Code Using the Package
```py
from satisfactory_save_reader.save_reader import SaveReader

# File location variables for reading
SAVE_FILE = sys.argv[1]

save_data = SaveReader(f"{SAVE_FILE}")

objects = save_data.get_objects()
for obj_name, obj in objects.items():
    print(obj_name)
```

Example downloading saves from dedicated server, and UI: 
More examples can be found [here]().

***more examples to be added***

## Code Structure
### SatisfactorySaveReader
```
.
├── img                     # Image files for README.md
├── src                     # All python files
└── README.md
```


### src
```
.

├── satisfactory_save_reader    # Python package
├── __init__.py
│   ├── bin_file.py             # File to process the bin file
│   ├── data_file.py            # Data file class for reading decompressed zlib data
│   ├── file.py                 # File parent class that has reading / writing capabilities
│   ├── save_reader.py          # Main file to initialize a SaveReader
│   ├── utils.py                # Util functions
│   ├── zlib_file.py            # Zlib file class for reading compressed zlib data (from Satisfactory saves)
│   └── ...                     # etc.
├── ...
└── ...
```

## Software Design
![](img/SatisfactorySaveReader_FileStructure.png)